tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: Deadlock problem
Date Wed, 09 Apr 2003 19:56:08 GMT
are you using tomcat 4.0.3 or earlier? there was a deadlock problem fixed in
4.0.4 related to using the manager at the same time a request was being
processed. It would hang when I tried to stop(or reload) using manager if a
request was being processed at that time.

Charlie

> -----Original Message-----
> From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
> Sent: Wednesday, April 09, 2003 3:28 PM
> To: Tomcat Users List
> Subject: RE: Deadlock problem
> 
> 
> 
> Howdy,
> Seems like a hung or locked connection.  Perhaps the connection is
> executing a hung query.  Take a look at the DB side of 
> things: look for
> active connections from your applications and see what they're doing.
> On the JDBC side of your applications, use a pool implementation that
> destroys connections after a certain time if they're hung / not
> responding.  Or alternatively check up on the pool yourself every X
> seconds and recycle it if hung.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-----Original Message-----
> >From: Steve Harris [mailto:sharris@myra.com]
> >Sent: Wednesday, April 09, 2003 3:24 PM
> >To: tomcat-user@jakarta.apache.org
> >Subject: Deadlock problem
> >
> >Hi all,
> >
> >I have one application that seems to cause me problems above all
> others.
> >Users are reporting that the application has crashed - sure enough we
> >can't login and I can'y stop it using the manager.  Other apps are
> fine.
> >
> >If I doa kill -3 on tomcat I get a whole bunch of thread info but at
> the
> >end I get a deadlock messages - snippet below.  Anybody got 
> any ideas ?
> >
> >To clear this problem ususally involves a reboot of tomcat.
> >
> >Kind Regards - Steve Harris
> >
> >FOUND A JAVA LEVEL DEADLOCK:
> >----------------------------
> >"Ajp13Processor[8009][55]":
> >  waiting to lock monitor 0xfb5b0 (object 0xbc6acc38, a
> >oracle.jdbc.driver.OraclePreparedStatement),
> >  which is locked by "Ajp13Processor[8009][51]"
> >"Ajp13Processor[8009][51]":
> >  waiting to lock monitor 0xfb1f8 (object 0xbb102310, a
> >oracle.jdbc.driver.OracleConnection),
> >  which is locked by "Ajp13Processor[8009][55]"
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, 
> and may not be saved, copied, printed, disclosed or used by 
> anyone else.  If you are not the(an) intended recipient, 
> please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message