You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Isac Fernandes <is...@go.com> on 2007/06/19 05:54:24 UTC

Tomcat hanging - two instance configuration

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.
-- 
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


RES: Tomcat hanging - two instance configuration

Posted by Paulo Alvim <al...@powerlogic.com.br>.
Hi Isac,

We have similar problem. Tomcat 5.5.9 is freezing probably in the socket
level...

Do you have any news?

Thanks

Paulo Alvim
Brazil

-----Mensagem original-----
De: Isac Fernandes [mailto:isacf@go.com]
Enviada em: terca-feira, 19 de junho de 2007 00:56
Para: users@tomcat.apache.org
Assunto: Tomcat hanging - two instance configuration



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


---------------------------------------------------------------------
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