Ciao thank you for your answer! Well we use our own connection-pool, with the close of the connection in each-finally call! Normally the connection is closed immediately but perhaps it's a thread problem!
Can someone tell me if you can tune the thread behaviour is there any possiblity, or is it just a problem with tomcat 4.1? Thank you! Starki ---------- Initial Header ----------- >From : "Martyn Hiemstra" [EMAIL PROTECTED] To : "Tomcat Users List" users@tomcat.apache.org Cc : Date : Thu, 11 May 2006 10:26:11 +0200 Subject : Re: Help!Tomcat crashes:Waiting for instance(s) to be deallocated > Hi Starki78 > > I had this problem when using a singelton class that stored a datasource > in it. Everytime I pressed F5 really fast the web server would hang and > when I shutdown I got that same message. Apparently when pressing F5 > very fast instead of the singelton only using 1 datasource (The one in > the singelton) it loaded 5 datasources and then the connection pool was > full. Since the pool timeouts where set to 5 minutes the server would > appear to hang when in actual fact my code was waiting for an available > datasource. > > I also get this when debugging my tomcat server using eclipse. If I'm > debugging and one of the server threads is still debugging and I > shutdown the server I get this message as well. > > I'm guessing that somewhere alot of threads are waiting to finish. The > fact that you have 536 instances to be deallocated could mean you have a > serious flaw in your code. > > Martyn > > starki78 schreef: > > Hi, we are working with Tomcat 4.1: > > I didn't find a proper cause in the log-files. > > > > Can someone help me please? > > How could this be possible?? > > > > 2006-05-11 06:53:35 StandardWrapper[/pss:action]: Waiting for 74 > > instance(s) to be deallocated > > > > 2006-05-11 06:53:36 StandardWrapper[/pss:jsp]: Waiting for 1 instance(s) to > > be deallocated > > > > 2006-05-11 06:53:36 StandardWrapper[/pss:default]: Waiting for 536 > > instance(s) to be deallocated > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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]