You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by starki78 <st...@libero.it> on 2006/05/11 08:02:15 UTC

Help!Tomcat crashes:Waiting for instance(s) to be deallocated

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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Help!Tomcat crashes:Waiting for instance(s) to be deallocated

Posted by Martyn Hiemstra <ma...@hi-ss.nl>.
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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   


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