Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat is getting confused between sites

Status
Not open for further replies.

sol42020

IS-IT--Management
Mar 18, 2008
1
US
I have two "identical" jsp apps running on the same linux box. I've changed the connection info between both of them so that they run as separate sites. One site is called tema and the other is called tematest. They each have their own /home/ directory. Tema works fine, but tematest doesn't. I can get to the index.html page, but jsp is not doing anything. The page mentions a vague 500 error in IE but shows up blank in Firefox. Now, here's the catch. If I modify the /etc/tomcat5/server.xml file and "comment out" the tema site, tematest works fine. I am certain that dns/firewall information is correct. I'm also fairly certain the code is correct, but the app may be confusing Tomcat. Any ideas?

Server version: Apache Tomcat/5.5.12
Server built: Dec 2 2005 02:50:01
Server number: 5.5.12.0
OS Name: Linux
OS Version: 2.6.9-22.ELsmp
Architecture: i386
JVM Version: 1.4.2_13-b06
JVM Vendor: Sun Microsystems Inc.


 
What does your server.xml look like? Do you have seperate context paths for each app? Are all the apps URL paths relative or do you have a configuration file for it that needs changing or worse case is it hard coded?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top