Hi,

 

We have a scenario for High Availability setup (using tomcat 5.5.9);

 

The application 'app' is deployed on two machines (recognized as 'app1'
on one machine, and 'app2' in another) to handle failover. We have
enabled tomcat cluster to have the session replicated between two
instances. MOD_JK connector is used for load balancing. When the
application is accessed using the path "web_ip_address/app" the request
is process by either 'app1' or 'app2' instance. 

 

The context is defined as 'app1', where as the war file is named as
'app' and the war is placed in "tomcat/webapps/'. This leads to
application being initialized twice. The context path is required to be
"/app1", because we need to perform application specific activities
(start/stop engines) only on one machine, if required.

 

We tried to move the application to any location other than
"tomcat/webapps", and included a Context file,
"tomcat/conf/[engine-name]/[host-name]/app1.xml". This way individual
applications are accessible, however the path "web_ip_address/app" fails
with "Page cannot be displayed" error.

 

Is there a way to access an application deployed in tomcat using two
different paths?

 

Thank you in advance for the support.

 

Regards,

Kiran Tadepalli.

 




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Reply via email to