Tomcat manager app stops responding

2004-08-09 Thread Keith Bottner
I am having two problems with the Tomcat manager:
 
1] After my web application has been running for some time then access to
/domain/manager/html never responds. It doesn't give me any kind of error,
the browser just continues to process the request without ever timing out.
Any ideas?
 
2] Tomcat manager does NOT delete my .war file on undeploy, so I have to
then access the server in a different manager, stop it, delete the file
manually, start it, then upload the new .war file and deploy it. Which
sometimes takes several times to deploy properly if I am referencing the
root context but not any other context. Any ideas?
 
 
Thanks in advance,
 
 
Keith
 
Have you ever noticed that the word 'complaint' and 'compliant' are spelled
almost the same except the transposition of a single letter. I wonder why
that is?
 


Re: Tomcat manager app stops responding

2004-08-09 Thread QM
On Mon, Aug 09, 2004 at 04:52:18AM -0500, Keith Bottner wrote:
: 1] After my web application has been running for some time then access to
: /domain/manager/html never responds. It doesn't give me any kind of error,
: the browser just continues to process the request without ever timing out.
: Any ideas?

A couple.  A situation as generic as, never responds gets generic
advice:
1/ Check a thread dump of the JVM (search the archives if you don't know
how), see whether something's deadlocked.  Slim chance, but worth a
shot.

2/ Check memory usage and GC, perhaps use a profiler.  GC can make an
app appear several shades of unresponsive.

3/ check the logs


: 2] Tomcat manager does NOT delete my .war file on undeploy,

I don't know about this one, so I'll leave it for someone who does.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: Tomcat manager app stops responding

2004-08-09 Thread Keith Bottner
My log files were being deleted by the deployment process so I was getting
nothing from them, I fixed that problem and will watch the logs today and
see if they show anything when it occurs.

BTW, any ideas on how to get a thread dump of the JVM on Linux?

I am definitely not out of memory but I will modify CATLINA_OPTS to dump the
GC statistics.

Please check back tomorrow after I have a day of logs.

Thanks,

Keith

-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 8:34 AM
To: Tomcat Users List
Subject: Re: Tomcat manager app stops responding


On Mon, Aug 09, 2004 at 04:52:18AM -0500, Keith Bottner wrote:
: 1] After my web application has been running for some time then access to
: /domain/manager/html never responds. It doesn't give me any kind of error,
: the browser just continues to process the request without ever timing out.
: Any ideas?

A couple.  A situation as generic as, never responds gets generic
advice:
1/ Check a thread dump of the JVM (search the archives if you don't know
how), see whether something's deadlocked.  Slim chance, but worth a shot.

2/ Check memory usage and GC, perhaps use a profiler.  GC can make an app
appear several shades of unresponsive.

3/ check the logs


: 2] Tomcat manager does NOT delete my .war file on undeploy,

I don't know about this one, so I'll leave it for someone who does.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
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 manager app stops responding

2004-08-09 Thread Dale, Matt

Issue a kill -3 to the java process will dump all the threads.

Ta
Matt

-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: 09 August 2004 14:52
To: 'Tomcat Users List'
Subject: RE: Tomcat manager app stops responding


My log files were being deleted by the deployment process so I was getting
nothing from them, I fixed that problem and will watch the logs today and
see if they show anything when it occurs.

BTW, any ideas on how to get a thread dump of the JVM on Linux?

I am definitely not out of memory but I will modify CATLINA_OPTS to dump the
GC statistics.

Please check back tomorrow after I have a day of logs.

Thanks,

Keith

-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 8:34 AM
To: Tomcat Users List
Subject: Re: Tomcat manager app stops responding


On Mon, Aug 09, 2004 at 04:52:18AM -0500, Keith Bottner wrote:
: 1] After my web application has been running for some time then access to
: /domain/manager/html never responds. It doesn't give me any kind of error,
: the browser just continues to process the request without ever timing out.
: Any ideas?

A couple.  A situation as generic as, never responds gets generic
advice:
1/ Check a thread dump of the JVM (search the archives if you don't know
how), see whether something's deadlocked.  Slim chance, but worth a shot.

2/ Check memory usage and GC, perhaps use a profiler.  GC can make an app
appear several shades of unresponsive.

3/ check the logs


: 2] Tomcat manager does NOT delete my .war file on undeploy,

I don't know about this one, so I'll leave it for someone who does.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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

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]

Re: Tomcat manager app stops responding

2004-08-09 Thread QM
On Mon, Aug 09, 2004 at 08:52:26AM -0500, Keith Bottner wrote:
: BTW, any ideas on how to get a thread dump of the JVM on Linux?

Yes, but the archives are feeling lonley. ;)
Search there instead.


: I am definitely not out of memory but I will modify CATLINA_OPTS to dump the
: GC statistics.

Out of *host* memory or out of *memory allocated to the JVM*?
Big difference.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: Tomcat manager app stops responding

2004-08-09 Thread Keith Bottner
Great, when it freezes I will use it.

BTW, have GC statistics now being dumped. Hopefully that with the logs and
the thread dump will lead me to the problem.

Thanks,

Keith

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 8:56 AM
To: Tomcat Users List
Subject: RE: Tomcat manager app stops responding



Issue a kill -3 to the java process will dump all the threads.

Ta
Matt

-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: 09 August 2004 14:52
To: 'Tomcat Users List'
Subject: RE: Tomcat manager app stops responding


My log files were being deleted by the deployment process so I was getting
nothing from them, I fixed that problem and will watch the logs today and
see if they show anything when it occurs.

BTW, any ideas on how to get a thread dump of the JVM on Linux?

I am definitely not out of memory but I will modify CATLINA_OPTS to dump the
GC statistics.

Please check back tomorrow after I have a day of logs.

Thanks,

Keith

-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 8:34 AM
To: Tomcat Users List
Subject: Re: Tomcat manager app stops responding


On Mon, Aug 09, 2004 at 04:52:18AM -0500, Keith Bottner wrote:
: 1] After my web application has been running for some time then access to
: /domain/manager/html never responds. It doesn't give me any kind of error,
: the browser just continues to process the request without ever timing out.
: Any ideas?

A couple.  A situation as generic as, never responds gets generic
advice:
1/ Check a thread dump of the JVM (search the archives if you don't know
how), see whether something's deadlocked.  Slim chance, but worth a shot.

2/ Check memory usage and GC, perhaps use a profiler.  GC can make an app
appear several shades of unresponsive.

3/ check the logs


: 2] Tomcat manager does NOT delete my .war file on undeploy,

I don't know about this one, so I'll leave it for someone who does.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
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 manager app stops responding

2004-08-09 Thread Keith Bottner
Thanks for all the help guys, I think I found the problem.

It appears that after a delay the next attempt to access the database to
sign on with the SingleSignOn valve, using a JDBCRealm, throws
SocketExceptions about a Broken pipe. I think my firewall is resetting the
connection when it does not detect any traffic after 3 hours. I am looking
into how long I should make the timeout, suggestions?

The thread kill and the gc statements helped a lot and I am sure will come
in handy in the future, I opened another thread about why DBCP is not used
for SingleSignOn, check it out if you are interested.

Thanks again,

Keith

-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 9:08 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat manager app stops responding


Great, when it freezes I will use it.

BTW, have GC statistics now being dumped. Hopefully that with the logs and
the thread dump will lead me to the problem.

Thanks,

Keith

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 8:56 AM
To: Tomcat Users List
Subject: RE: Tomcat manager app stops responding



Issue a kill -3 to the java process will dump all the threads.

Ta
Matt

-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: 09 August 2004 14:52
To: 'Tomcat Users List'
Subject: RE: Tomcat manager app stops responding


My log files were being deleted by the deployment process so I was getting
nothing from them, I fixed that problem and will watch the logs today and
see if they show anything when it occurs.

BTW, any ideas on how to get a thread dump of the JVM on Linux?

I am definitely not out of memory but I will modify CATLINA_OPTS to dump the
GC statistics.

Please check back tomorrow after I have a day of logs.

Thanks,

Keith

-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 8:34 AM
To: Tomcat Users List
Subject: Re: Tomcat manager app stops responding


On Mon, Aug 09, 2004 at 04:52:18AM -0500, Keith Bottner wrote:
: 1] After my web application has been running for some time then access to
: /domain/manager/html never responds. It doesn't give me any kind of error,
: the browser just continues to process the request without ever timing out.
: Any ideas?

A couple.  A situation as generic as, never responds gets generic
advice:
1/ Check a thread dump of the JVM (search the archives if you don't know
how), see whether something's deadlocked.  Slim chance, but worth a shot.

2/ Check memory usage and GC, perhaps use a profiler.  GC can make an app
appear several shades of unresponsive.

3/ check the logs


: 2] Tomcat manager does NOT delete my .war file on undeploy,

I don't know about this one, so I'll leave it for someone who does.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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


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