Re: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-07 Thread Martin Wood

Just to let people know that my application has been running happily for
nearly a week now.

I actually replaced the JDK1.5 with the blackdown 1.4.2 and installed
the compatibility extensions for tomcat.

since then its been fine.

martin

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



Re: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-07 Thread Philip Cote
Good for you!  Glad it all worked out.

On Mon, 2005-08-08 at 02:25 +0100, Martin Wood wrote:
 Just to let people know that my application has been running happily for
 nearly a week now.
 
 I actually replaced the JDK1.5 with the blackdown 1.4.2 and installed
 the compatibility extensions for tomcat.
 
 since then its been fine.
 
 martin
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread MDK

Hello,

I've searched far and wide for a definitive answer to this problem, but 
have found nothing that relates to my situation.


I did find a few similar issues, but

1. I have no System.exit in my code
2. I am not using the root context

and still after a few days tomcat stops responding.

The problem also doesnt go away after i stop and re-start tomcat.

And occasionally it wont stop with ./bin/shutdown.sh

so i have to kill -9 the first process to stop it.

when it is running, the CPU usage runs at over 90% and the memory usage 
goes up to 50% or so.


It doesnt even respond when i telnet to localhost 8080.

does anyone know a viable fix for this problem ?

thanks,

martin

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



RE: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread Allistair Crossley
Hi,

Hanging, memory up 50%, sounds very much like an OutOfMemoryException to me. I 
know from experience that Tomcat can hang with no memory and not log to stdout 
either (although most of the time it does). 

Have you profiled your application under a load test?

Cheers, Allistair.

 -Original Message-
 From: MDK [mailto:[EMAIL PROTECTED]
 Sent: 02 August 2005 10:23
 To: tomcat-user@jakarta.apache.org
 Subject: tomcat 5.5, jdk1.5 on user mode debian stable hangs 
 after a few
 days
 
 
 Hello,
 
 I've searched far and wide for a definitive answer to this 
 problem, but 
 have found nothing that relates to my situation.
 
 I did find a few similar issues, but
 
 1. I have no System.exit in my code
 2. I am not using the root context
 
 and still after a few days tomcat stops responding.
 
 The problem also doesnt go away after i stop and re-start tomcat.
 
 And occasionally it wont stop with ./bin/shutdown.sh
 
 so i have to kill -9 the first process to stop it.
 
 when it is running, the CPU usage runs at over 90% and the 
 memory usage 
 goes up to 50% or so.
 
 It doesnt even respond when i telnet to localhost 8080.
 
 does anyone know a viable fix for this problem ?
 
 thanks,
 
 martin
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Re: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread MDK
no, the odd thing is, it wasnt even being used (and its a very simple 
application, of course, thats a relative term)


i installed the app, tested it once and logged out.

I came back to it a few days later and the whole thing is hanging.

If you can recommed any tools i can use to detect what is happening that 
would be much appreciated


the app itself uses spring, openamf (an open source flash remoting 
connector) with some jdbc (mysql)


so i guess that any one of these (and my code) could be the culprit.

I'll look into each of these individually and see if they could be 
causing the problem.


thanks.

martin


Allistair Crossley wrote:

Hi,

Hanging, memory up 50%, sounds very much like an OutOfMemoryException to me. I know from experience that Tomcat can hang with no memory and not log to stdout either (although most of the time it does). 


Have you profiled your application under a load test?

Cheers, Allistair.



-Original Message-
From: MDK [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 10:23
To: tomcat-user@jakarta.apache.org
Subject: tomcat 5.5, jdk1.5 on user mode debian stable hangs 
after a few

days


Hello,

I've searched far and wide for a definitive answer to this 
problem, but 
have found nothing that relates to my situation.


I did find a few similar issues, but

1. I have no System.exit in my code
2. I am not using the root context

and still after a few days tomcat stops responding.

The problem also doesnt go away after i stop and re-start tomcat.

And occasionally it wont stop with ./bin/shutdown.sh

so i have to kill -9 the first process to stop it.

when it is running, the CPU usage runs at over 90% and the 
memory usage 
goes up to 50% or so.


It doesnt even respond when i telnet to localhost 8080.

does anyone know a viable fix for this problem ?

thanks,

martin

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






FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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




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



RE: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread Allistair Crossley
Hi,

You can get JProbe freeware for profiling and use JMeter to issue load to your 
web application.

Does the same phenoneneneneom occur with a vanilla Tomcat 5.5 install with 
included webapps like jsp-examples. First figure out if it is your webapp 
that's causing it.

Allistair.

 -Original Message-
 From: MDK [mailto:[EMAIL PROTECTED]
 Sent: 02 August 2005 12:29
 To: Tomcat Users List
 Subject: Re: tomcat 5.5, jdk1.5 on user mode debian stable 
 hangs after a
 few days
 
 
 no, the odd thing is, it wasnt even being used (and its a very simple 
 application, of course, thats a relative term)
 
 i installed the app, tested it once and logged out.
 
 I came back to it a few days later and the whole thing is hanging.
 
 If you can recommed any tools i can use to detect what is 
 happening that 
 would be much appreciated
 
 the app itself uses spring, openamf (an open source flash remoting 
 connector) with some jdbc (mysql)
 
 so i guess that any one of these (and my code) could be the culprit.
 
 I'll look into each of these individually and see if they could be 
 causing the problem.
 
 thanks.
 
 martin
 
 
 Allistair Crossley wrote:
  Hi,
  
  Hanging, memory up 50%, sounds very much like an 
 OutOfMemoryException to me. I know from experience that 
 Tomcat can hang with no memory and not log to stdout either 
 (although most of the time it does). 
  
  Have you profiled your application under a load test?
  
  Cheers, Allistair.
  
  
 -Original Message-
 From: MDK [mailto:[EMAIL PROTECTED]
 Sent: 02 August 2005 10:23
 To: tomcat-user@jakarta.apache.org
 Subject: tomcat 5.5, jdk1.5 on user mode debian stable hangs 
 after a few
 days
 
 
 Hello,
 
 I've searched far and wide for a definitive answer to this 
 problem, but 
 have found nothing that relates to my situation.
 
 I did find a few similar issues, but
 
 1. I have no System.exit in my code
 2. I am not using the root context
 
 and still after a few days tomcat stops responding.
 
 The problem also doesnt go away after i stop and re-start tomcat.
 
 And occasionally it wont stop with ./bin/shutdown.sh
 
 so i have to kill -9 the first process to stop it.
 
 when it is running, the CPU usage runs at over 90% and the 
 memory usage 
 goes up to 50% or so.
 
 It doesnt even respond when i telnet to localhost 8080.
 
 does anyone know a viable fix for this problem ?
 
 thanks,
 
 martin
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  
  
  
  FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
  ---
  QAS Ltd.
  Registered in England: No 2582055
  Registered in Australia: No 082 851 474
  ---
  /FONT
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: tomcat 5.5, jdk1.5 on user mode debian stable hangs after a few days

2005-08-02 Thread Remy Maucherat
On 8/2/05, MDK [EMAIL PROTECTED] wrote:
 no, the odd thing is, it wasnt even being used (and its a very simple
 application, of course, thats a relative term)
 
 i installed the app, tested it once and logged out.
 
 I came back to it a few days later and the whole thing is hanging.
 
 If you can recommed any tools i can use to detect what is happening that
 would be much appreciated
 
 the app itself uses spring, openamf (an open source flash remoting
 connector) with some jdbc (mysql)
 
 so i guess that any one of these (and my code) could be the culprit.
 
 I'll look into each of these individually and see if they could be
 causing the problem.

When something like Tomcat is hung, the first thing you should do is
get a thread dump, which may give very useful information.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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