The tomcat logs are in the logs directory under your tomcat home. I can't provide any 
assisstance without the details from them. At a guess you're suffering an out of 
memory exception from an application memory leak but I can't be certain.

-----Original Message-----
From: Richard [mailto:[EMAIL PROTECTED]
Sent: 11 October 2004 10:21
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1 random crashes


Hello Tomcat users,

I wonder if you might be able to shed a little light on this problem:

I have Tomcat 4.1.30 installed using J2SDK 1.4.2_05 (from java.sun.com) 
on a Debian GNU/Linux machine (P4, 256Mb RAM).

I am using it to serve a couple of Cocoon (2.1.5.1) web applications 
and I have Apache (2.0) ProxyPass directives to re-direct requests to 
the Tomcat server where necessary:

<Proxy *>
        Order deny, allow
        Allow from all
</Proxy>

<VirutalHost *>
        ServerName www.some-host.org
        ProxyRequests Off
        ProxyPass / http://localhost:8080/some-host/
        ProxyPassReverse / http://localhost:8080/some-host/
</VirtualHost>

This all works fine except that, after a few days, Tomcat just seems to 
stop serving. Client requests to http://www.some-host.org/ will wait 
for as long as the is willing to and then just give up.

If I issue:
# ps -Al
the results include:
0 S   103 26384     1 99  81   0 - 77800 schedu pts/0    00:00:22 java
0 S   103 19815     1  0  76   0 - 67245 schedu ?        00:00:22 java
0 S   103 11301     1  0  76   0 - 67357 schedu ?        00:00:22 java

(The Tomcat process(es!) runs as a non-privileged 'tomcat'.)

So all I can do is restart Tomcat
# $CATALINA_HOME/bin/catalina.sh restart

and it then works fine a few more days.

# tail /var/log/apache2/error.log gives:
[Mon Oct 11 09:21:34 2004] [error] [client ***] proxy: error reading 
status line from remote server localhost
[Mon Oct 11 09:21:34 2004] [error] [client ***] proxy: Error reading 
from remote server returned by /

(I can't find any Tomcat logs...)

Any ideas why this might be happening?

Cheers,
Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to