<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: multiple tomcat instance &#8211; single setup</title>
	<atom:link href="http://www.altuure.com/2007/12/27/multiple-tomcat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.altuure.com/2007/12/27/multiple-tomcat/</link>
	<description>Mert Can Akkan's java tips,options, news...</description>
	<lastBuildDate>Wed, 03 Mar 2010 10:08:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: shyamala</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-964</link>
		<dc:creator>shyamala</dc:creator>
		<pubDate>Fri, 26 Feb 2010 04:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-964</guid>
		<description>Kindly can u help me in installing tomcat multiple instances where am using Tomcat6.0 ....

Shyamala</description>
		<content:encoded><![CDATA[<p>Kindly can u help me in installing tomcat multiple instances where am using Tomcat6.0 &#8230;.</p>
<p>Shyamala</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gorav</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-57</link>
		<dc:creator>Gorav</dc:creator>
		<pubDate>Fri, 18 Apr 2008 12:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-57</guid>
		<description>Hi I have just started on Clustring of Tomcat and load balancing. I do not have very much doc support for the clustering so please do guide me so that I can start working. Till Now I have changed the Port number of my 2 Tomcat instances in server.xml. But for each deployment I need to write http://localhost:port number/appName

That brings in my mind if the port number will changed then the context will change.</description>
		<content:encoded><![CDATA[<p>Hi I have just started on Clustring of Tomcat and load balancing. I do not have very much doc support for the clustering so please do guide me so that I can start working. Till Now I have changed the Port number of my 2 Tomcat instances in server.xml. But for each deployment I need to write <a href="http://localhost:port" rel="nofollow">http://localhost:port</a> number/appName</p>
<p>That brings in my mind if the port number will changed then the context will change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjeev</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-56</link>
		<dc:creator>sanjeev</dc:creator>
		<pubDate>Tue, 15 Apr 2008 11:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-56</guid>
		<description>Hello ,

I have done tomcat clustering using Apache.and in my web application i have an HttpListener Class in which i am updating database for user log out when session timeout.

when one of tomcat instance in clustering is down then it&#039;s session value is replicated to others and user do work properly.

Now My problem is when i shut down one of cluster instance then it call the Listener Class and updates the Database and marks the user as logout....

I do not want to call the listener class OR how can i know that tomcat is shut down e.g. any event that i can get so that i will not update database.


Please give your valuable ideas.....


Thanks,
Sanjeev</description>
		<content:encoded><![CDATA[<p>Hello ,</p>
<p>I have done tomcat clustering using Apache.and in my web application i have an HttpListener Class in which i am updating database for user log out when session timeout.</p>
<p>when one of tomcat instance in clustering is down then it&#8217;s session value is replicated to others and user do work properly.</p>
<p>Now My problem is when i shut down one of cluster instance then it call the Listener Class and updates the Database and marks the user as logout&#8230;.</p>
<p>I do not want to call the listener class OR how can i know that tomcat is shut down e.g. any event that i can get so that i will not update database.</p>
<p>Please give your valuable ideas&#8230;..</p>
<p>Thanks,<br />
Sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjeev</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-54</link>
		<dc:creator>sanjeev</dc:creator>
		<pubDate>Fri, 28 Mar 2008 11:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-54</guid>
		<description>HI,

Thanks it&#039;s working fine.


sanjeev</description>
		<content:encoded><![CDATA[<p>HI,</p>
<p>Thanks it&#8217;s working fine.</p>
<p>sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: altuure</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-53</link>
		<dc:creator>altuure</dc:creator>
		<pubDate>Fri, 28 Mar 2008 09:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-53</guid>
		<description>hi sanjeev ,
you should put it into CATALINA_BASE/conf/Catalina/localhost/ 
not in CATALINA_BASE/webapps</description>
		<content:encoded><![CDATA[<p>hi sanjeev ,<br />
you should put it into CATALINA_BASE/conf/Catalina/localhost/<br />
not in CATALINA_BASE/webapps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjeev</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-52</link>
		<dc:creator>sanjeev</dc:creator>
		<pubDate>Fri, 28 Mar 2008 09:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-52</guid>
		<description>hi,

i have created webapplication.xml and put it into /webapps but it is not working...

webapplication.xml is :


   


please help..


Thanks,
Sanjeev</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>i have created webapplication.xml and put it into /webapps but it is not working&#8230;</p>
<p>webapplication.xml is :</p>
<p>please help..</p>
<p>Thanks,<br />
Sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjeev</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-51</link>
		<dc:creator>sanjeev</dc:creator>
		<pubDate>Thu, 27 Mar 2008 10:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-51</guid>
		<description>Hello,

Thanks for ur quick reply

i have done this, i have created ebapplication.xml file in each tomcat like (tomcatA\conf). but it is not using application from C:/webapplication path.
Should i remoce application from tomcat instance or is there another setting.


Thanks

Sanjeev</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for ur quick reply</p>
<p>i have done this, i have created ebapplication.xml file in each tomcat like (tomcatA\conf). but it is not using application from C:/webapplication path.<br />
Should i remoce application from tomcat instance or is there another setting.</p>
<p>Thanks</p>
<p>Sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: altuure</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-50</link>
		<dc:creator>altuure</dc:creator>
		<pubDate>Thu, 27 Mar 2008 07:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-50</guid>
		<description>Hi,
I have give a sample in my previous post,
you should use this (webapplication.xml) file under:
CATALINA_BASE/ conf/Catalina/localhost/webapplication.xml
its content is just single line

&lt;Context path=&quot;/webapplication&quot; docBase=&quot;c:/webapplication&quot;&gt;
&lt;/Context&gt;

and rest would work,</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have give a sample in my previous post,<br />
you should use this (webapplication.xml) file under:<br />
CATALINA_BASE/ conf/Catalina/localhost/webapplication.xml<br />
its content is just single line</p>
<p>&lt;Context path=&#8221;/webapplication&#8221; docBase=&#8221;c:/webapplication&#8221;><br />
&lt;/Context&gt;</p>
<p>and rest would work,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjeev</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-49</link>
		<dc:creator>sanjeev</dc:creator>
		<pubDate>Thu, 27 Mar 2008 07:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-49</guid>
		<description>Hello,

should i need to create webapplication.xml file in every tomcat instance or i need to put 




this entry into context.xml file.

can you please give me a sample .xml file for the same

Thanks,

sanjeev</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>should i need to create webapplication.xml file in every tomcat instance or i need to put </p>
<p>this entry into context.xml file.</p>
<p>can you please give me a sample .xml file for the same</p>
<p>Thanks,</p>
<p>sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: altuure</title>
		<link>http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-48</link>
		<dc:creator>altuure</dc:creator>
		<pubDate>Thu, 27 Mar 2008 07:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.altuure.com/2007/12/27/multiple-tomcat/#comment-48</guid>
		<description>Hi again,
in this case there are multiple solutions,

first and most simple one is to use a context.xml file for your application and set a docBase eg: c:\webapplication

like: file:conf/Catalina/localhost/webapplication.xml
content:
&lt;code&gt;
&lt;Context path=&quot;/webapplication&quot; docBase=&quot;c:/webapplication&quot;&gt;
&lt;/Context&gt;&lt;/code&gt;

I hope this would help</description>
		<content:encoded><![CDATA[<p>Hi again,<br />
in this case there are multiple solutions,</p>
<p>first and most simple one is to use a context.xml file for your application and set a docBase eg: c:\webapplication</p>
<p>like: file:conf/Catalina/localhost/webapplication.xml<br />
content:<br />
<code><br />
&lt;Context path="/webapplication" docBase="c:/webapplication"&gt;<br />
&lt;/Context&gt;</code></p>
<p>I hope this would help</p>
]]></content:encoded>
	</item>
</channel>
</rss>
