tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isac Fernandes <>
Subject Tomcat hanging - two instance configuration
Date Tue, 19 Jun 2007 03:56:12 GMT

We are working with the following configuration:
Windows 2000 Server - 8CPU
jdk 1.3.1_06

Tomcat 4.1.18 - 2 separate instances (separate jvms)
- Tomcat1 is used as a container for our own socket server application
- Tomcat2 is used for Web application (jsp/jdbc)
Note that both instances have exactly the same application. TC1 is used by
hand held devices while TC2 is used by web users.

The Windows server has the following applications:
Oracle - 1.5GB
Tomcat1 - 768MB
Tomcat2 - 384MB
JavaApp - 384MB

Total RAM - 4GB

Problematic behavior:
After starting both Tomcat instances, Tomcat1 works for some time and then
hangs. Tomcat1 is restarted and then works fine without any problems.
Tomcat2 does not have any such problems. The hanging happens only once, that
is, after both instances are started.
No error or exception in Tomcat logs and application logs.
Thread dump at the time of hanging shows all threads in wait state.

Other servers:
The above problem is observed only on servers where the multiple Tomcat
instance is implemented. Other servers that are working with a single Tomcat
instance do not have this problem.

Log Analysis:
Log shows that the socket server application receives calls, processes the
same but gets stuck at the time of sending reply to the client. Client in
this case is the hand held device.

We have tried using Apache JMeter to try and reproduce the problem but have
not succeeded till now.
server1.xml web1.xml server2.xml web2.xml PS1.txt ST1.txt 
View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message