tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isac Fernandes <is...@go.com>
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.

Reproducibility:
We have tried using Apache JMeter to try and reproduce the problem but have
not succeeded till now. http://www.nabble.com/file/p11188048/server1.xml
server1.xml  http://www.nabble.com/file/p11188048/web1.xml web1.xml 
http://www.nabble.com/file/p11188048/server2.xml server2.xml 
http://www.nabble.com/file/p11188048/web2.xml web2.xml 
http://www.nabble.com/file/p11188048/PS1.txt PS1.txt 
http://www.nabble.com/file/p11188048/ST1.txt ST1.txt 
-- 
View this message in context: http://www.nabble.com/Tomcat-hanging---two-instance-configuration-tf3944102.html#a11188048
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message