You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter <li...@gmail.com> on 2007/06/12 12:32:42 UTC

hi,problem when shutdown tomcat!

hi all;
when i shutdown tomcat, i found following message in the catalina.out;


2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
* Waiting for 6 instance(s) to be deallocated*
2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
* Waiting for 333 instance(s) to be deallocated*

anyone has a idea about the about messages, does it means that there is dead
lock in the program?
or some connection are not closed?

thank you for ideas!
peter

Re: hi,problem when shutdown tomcat!

Posted by Peter <li...@gmail.com>.
 i found that.
thanks a lot





On 6/13/07, Jon Wingfield <jo...@mkodo.com> wrote:
>
> The trace is probably in the catalina.out log file (at least that's
> where it goes for us running tc5.0.30)
>
> Peter wrote:
> > hi all;
> > I just found out that in linux
> > under the /proc generate a fold 26337
> > does it the place which the information stores?
> > any idea?
> > thanks
> >
> > On 6/13/07, Peter <li...@gmail.com> wrote:
> >>
> >> hi all;
> >> i try to use SIGQUIT but can not see the stack trace.
> >>
> >> [root@midtier root]# ps -ef|grep tomcat
> >> root 26337 1 5 09:45 pts/0 00:00:11
> >> /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
> >> Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
> >> Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
> >> Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
> >> :/opt/tomcat/bin/bootstrap.ja
> >> root 26427 26172 0 09:49 pts/0 00:00:00 grep tomcat
> >>
> >> [root@midtier root]# kill -SIGQUIT 26337
> >> [root@midtier root]# kill -3 26337
> >> [root@midtier root]#
> >>
> >> does anyone has idea why?
> >> some artical said that if JVM set -Xrs,it will ignore the OS signal
> >> like
> >> SIGQUIT
> >> Does anyone know how can i see the stack trace in this situation?
> >> i use Tomcat 5.5.20 in linux , java, 1.5.0_10
> >>
> >> thanks
> >>
> >>
> >>
> >>
> >>
> >> On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
> >> >
> >> > Good question. I don't know. The last time I used JBuilder was way
> >> back
> >> > in 2000.
> >> > The Borland site suggests an OptimizeIt profiler is present in
> >> JBuilder
> >> > for the Developer and Enterprise editions:
> >> > http://info.borland.com/techpubs/jbuilder/
> >> >
> >> > Jon
> >> >
> >> > Peter wrote:
> >> > > thank you for ideas
> >> > >
> >> > > i current using JBuider2006, what profiler can used in JBuider2006?
> >> > >
> >> > > thanks
> >> > > peter
> >> > >
> >> > > On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
> >> > >>
> >> > >> Chuck answered a similar query recently:
> >> > >> http://marc.info/?l=tomcat-user&m=118113828210257&w=2
> >> > >>
> >> > >> Your servlets are serving long-running requests (or are in
> infinite
> >> > >> loops, dead-locked etc) when you are trying to shutdown tomcat.
> >> > >> The first thing I'd do in this situation is SIGQUIT tomcat to get
> a
> >> > >> stackdump of the running threads.
> >> > >> With that you can usually determine the changes you need to do to
> >> > your
> >> > >> servlets, if required.
> >> > >> If the stackdump isn't a help I'd attach a profiler to see where
> >> your
> >> > >> servlets are spending the time. I like the one bundled with
> >> netbeans.
> >> > >> I'm sure others on the list have their own favourites.
> >> > >>
> >> > >> Jon
> >> > >>
> >> > >> Peter wrote:
> >> > >> > hi all;
> >> > >> > when i shutdown tomcat, i found following message in the
> >> > catalina.out;
> >> > >> >
> >> > >> >
> >> > >> > 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper
> >> unload
> >> > >> > * Waiting for 6 instance(s) to be deallocated*
> >> > >> > 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper
> >> unload
> >> > >> > *Waiting for 6 instance(s) to be deallocated
> >> > >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
> >> unload
> >> > >> > *Waiting for 6 instance(s) to be deallocated
> >> > >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
> >> unload
> >> > >> > *Waiting for 333 instance(s) to be deallocated*
> >> > >> > 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper
> >> unload
> >> > >> > *Waiting for 333 instance(s) to be deallocated*
> >> > >> > 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper
> >> unload
> >> > >> > * Waiting for 333 instance(s) to be deallocated*
> >> > >> >
> >> > >> > anyone has a idea about the about messages, does it means that
> >> > there
> >> > >> > is dead
> >> > >> > lock in the program?
> >> > >> > or some connection are not closed?
> >> > >> >
> >> > >> > thank you for ideas!
> >> > >> > peter
> >> > >> >
> >> > >>
> >> > >>
> >> > >>
> >> > >>
> >> ---------------------------------------------------------------------
> >> > >> To start a new topic, e-mail: users@tomcat.apache.org
> >> > >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> > >> For additional commands, e-mail: users-help@tomcat.apache.org
> >> > >>
> >> > >>
> >> > >
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To start a new topic, e-mail: users@tomcat.apache.org
> >> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> > For additional commands, e-mail: users-help@tomcat.apache.org
> >> >
> >> >
> >>
> >
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: hi,problem when shutdown tomcat!

Posted by Jon Wingfield <jo...@mkodo.com>.
The trace is probably in the catalina.out log file (at least that's
where it goes for us running tc5.0.30)

Peter wrote:
> hi all;
> I just found out that in linux
> under the /proc generate a fold 26337
> does it the place which the information stores?
> any idea?
> thanks
>
> On 6/13/07, Peter <li...@gmail.com> wrote:
>>
>> hi all;
>> i try to use SIGQUIT but can not see the stack trace.
>>
>> [root@midtier root]# ps -ef|grep tomcat
>> root 26337 1 5 09:45 pts/0 00:00:11
>> /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
>> Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
>> Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
>> Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
>> :/opt/tomcat/bin/bootstrap.ja
>> root 26427 26172 0 09:49 pts/0 00:00:00 grep tomcat
>>
>> [root@midtier root]# kill -SIGQUIT 26337
>> [root@midtier root]# kill -3 26337
>> [root@midtier root]#
>>
>> does anyone has idea why?
>> some artical said that if JVM set -Xrs,it will ignore the OS signal
>> like
>> SIGQUIT
>> Does anyone know how can i see the stack trace in this situation?
>> i use Tomcat 5.5.20 in linux , java, 1.5.0_10
>>
>> thanks
>>
>>
>>
>>
>>
>> On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
>> >
>> > Good question. I don't know. The last time I used JBuilder was way
>> back
>> > in 2000.
>> > The Borland site suggests an OptimizeIt profiler is present in
>> JBuilder
>> > for the Developer and Enterprise editions:
>> > http://info.borland.com/techpubs/jbuilder/
>> >
>> > Jon
>> >
>> > Peter wrote:
>> > > thank you for ideas
>> > >
>> > > i current using JBuider2006, what profiler can used in JBuider2006?
>> > >
>> > > thanks
>> > > peter
>> > >
>> > > On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
>> > >>
>> > >> Chuck answered a similar query recently:
>> > >> http://marc.info/?l=tomcat-user&m=118113828210257&w=2
>> > >>
>> > >> Your servlets are serving long-running requests (or are in infinite
>> > >> loops, dead-locked etc) when you are trying to shutdown tomcat.
>> > >> The first thing I'd do in this situation is SIGQUIT tomcat to get a
>> > >> stackdump of the running threads.
>> > >> With that you can usually determine the changes you need to do to
>> > your
>> > >> servlets, if required.
>> > >> If the stackdump isn't a help I'd attach a profiler to see where
>> your
>> > >> servlets are spending the time. I like the one bundled with
>> netbeans.
>> > >> I'm sure others on the list have their own favourites.
>> > >>
>> > >> Jon
>> > >>
>> > >> Peter wrote:
>> > >> > hi all;
>> > >> > when i shutdown tomcat, i found following message in the
>> > catalina.out;
>> > >> >
>> > >> >
>> > >> > 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper
>> unload
>> > >> > * Waiting for 6 instance(s) to be deallocated*
>> > >> > 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper
>> unload
>> > >> > *Waiting for 6 instance(s) to be deallocated
>> > >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
>> unload
>> > >> > *Waiting for 6 instance(s) to be deallocated
>> > >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
>> unload
>> > >> > *Waiting for 333 instance(s) to be deallocated*
>> > >> > 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper
>> unload
>> > >> > *Waiting for 333 instance(s) to be deallocated*
>> > >> > 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper
>> unload
>> > >> > * Waiting for 333 instance(s) to be deallocated*
>> > >> >
>> > >> > anyone has a idea about the about messages, does it means that
>> > there
>> > >> > is dead
>> > >> > lock in the program?
>> > >> > or some connection are not closed?
>> > >> >
>> > >> > thank you for ideas!
>> > >> > peter
>> > >> >
>> > >>
>> > >>
>> > >>
>> > >>
>> ---------------------------------------------------------------------
>> > >> To start a new topic, e-mail: users@tomcat.apache.org
>> > >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> > >> For additional commands, e-mail: users-help@tomcat.apache.org
>> > >>
>> > >>
>> > >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To start a new topic, e-mail: users@tomcat.apache.org
>> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> > For additional commands, e-mail: users-help@tomcat.apache.org
>> >
>> >
>>
>



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


Re: hi,problem when shutdown tomcat!

Posted by Peter <li...@gmail.com>.
hi all;
I just found out that in linux
under the /proc generate a fold 26337
does it the place which the information stores?
any idea?
thanks

On 6/13/07, Peter <li...@gmail.com> wrote:
>
> hi all;
> i try to use SIGQUIT but can not see the stack trace.
>
> [root@midtier root]# ps -ef|grep tomcat
> root     26337     1  5 09:45 pts/0    00:00:11
> /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
> Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
> Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
> Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
> :/opt/tomcat/bin/bootstrap.ja
> root     26427 26172  0 09:49 pts/0    00:00:00 grep tomcat
>
> [root@midtier root]# kill -SIGQUIT 26337
> [root@midtier root]# kill -3 26337
> [root@midtier root]#
>
> does anyone has idea why?
> some artical said that if JVM set -Xrs,it will ignore the OS signal like
> SIGQUIT
> Does anyone know how can i see the stack trace in this situation?
> i use Tomcat 5.5.20 in  linux , java, 1.5.0_10
>
> thanks
>
>
>
>
>
> On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
> >
> > Good question. I don't know. The last time I used JBuilder was way back
> > in 2000.
> > The Borland site suggests an OptimizeIt profiler is present in JBuilder
> > for the Developer and Enterprise editions:
> > http://info.borland.com/techpubs/jbuilder/
> >
> > Jon
> >
> > Peter wrote:
> > > thank you for ideas
> > >
> > > i current using JBuider2006, what profiler can used in JBuider2006?
> > >
> > > thanks
> > > peter
> > >
> > > On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
> > >>
> > >> Chuck answered a similar query recently:
> > >> http://marc.info/?l=tomcat-user&m=118113828210257&w=2
> > >>
> > >> Your servlets are serving long-running requests (or are in infinite
> > >> loops, dead-locked etc) when you are trying to shutdown tomcat.
> > >> The first thing I'd do in this situation is SIGQUIT tomcat to get a
> > >> stackdump of the running threads.
> > >> With that you can usually determine the changes you need to do to
> > your
> > >> servlets, if required.
> > >> If the stackdump isn't a help I'd attach a profiler to see where your
> > >> servlets are spending the time. I like the one bundled with netbeans.
> > >> I'm sure others on the list have their own favourites.
> > >>
> > >> Jon
> > >>
> > >> Peter wrote:
> > >> > hi all;
> > >> > when i shutdown tomcat, i found following message in the
> > catalina.out;
> > >> >
> > >> >
> > >> > 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
> > >> > * Waiting for 6 instance(s) to be deallocated*
> > >> > 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
> > >> > *Waiting for 6 instance(s) to be deallocated
> > >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> > >> > *Waiting for 6 instance(s) to be deallocated
> > >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> > >> > *Waiting for 333 instance(s) to be deallocated*
> > >> > 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
> > >> > *Waiting for 333 instance(s) to be deallocated*
> > >> > 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
> > >> > * Waiting for 333 instance(s) to be deallocated*
> > >> >
> > >> > anyone has a idea about the about messages, does it means that
> > there
> > >> > is dead
> > >> > lock in the program?
> > >> > or some connection are not closed?
> > >> >
> > >> > thank you for ideas!
> > >> > peter
> > >> >
> > >>
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To start a new topic, e-mail: users@tomcat.apache.org
> > >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > >> For additional commands, e-mail: users-help@tomcat.apache.org
> > >>
> > >>
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>

Re: hi,problem when shutdown tomcat!

Posted by Peter <li...@gmail.com>.
hi all;
i try to use SIGQUIT but can not see the stack trace.

[root@midtier root]# ps -ef|grep tomcat
root     26337     1  5 09:45 pts/0    00:00:11
/usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
:/opt/tomcat/bin/bootstrap.ja
root     26427 26172  0 09:49 pts/0    00:00:00 grep tomcat

[root@midtier root]# kill -SIGQUIT 26337
[root@midtier root]# kill -3 26337
[root@midtier root]#

does anyone has idea why?
some artical said that if JVM set -Xrs,it will ignore the OS signal like
SIGQUIT
Does anyone know how can i see the stack trace in this situation?
i use Tomcat 5.5.20 in  linux , java, 1.5.0_10

thanks





On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
>
> Good question. I don't know. The last time I used JBuilder was way back
> in 2000.
> The Borland site suggests an OptimizeIt profiler is present in JBuilder
> for the Developer and Enterprise editions:
> http://info.borland.com/techpubs/jbuilder/
>
> Jon
>
> Peter wrote:
> > thank you for ideas
> >
> > i current using JBuider2006, what profiler can used in JBuider2006?
> >
> > thanks
> > peter
> >
> > On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
> >>
> >> Chuck answered a similar query recently:
> >> http://marc.info/?l=tomcat-user&m=118113828210257&w=2
> >>
> >> Your servlets are serving long-running requests (or are in infinite
> >> loops, dead-locked etc) when you are trying to shutdown tomcat.
> >> The first thing I'd do in this situation is SIGQUIT tomcat to get a
> >> stackdump of the running threads.
> >> With that you can usually determine the changes you need to do to your
> >> servlets, if required.
> >> If the stackdump isn't a help I'd attach a profiler to see where your
> >> servlets are spending the time. I like the one bundled with netbeans.
> >> I'm sure others on the list have their own favourites.
> >>
> >> Jon
> >>
> >> Peter wrote:
> >> > hi all;
> >> > when i shutdown tomcat, i found following message in the catalina.out
> ;
> >> >
> >> >
> >> > 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
> >> > * Waiting for 6 instance(s) to be deallocated*
> >> > 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
> >> > *Waiting for 6 instance(s) to be deallocated
> >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> >> > *Waiting for 6 instance(s) to be deallocated
> >> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> >> > *Waiting for 333 instance(s) to be deallocated*
> >> > 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
> >> > *Waiting for 333 instance(s) to be deallocated*
> >> > 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
> >> > * Waiting for 333 instance(s) to be deallocated*
> >> >
> >> > anyone has a idea about the about messages, does it means that there
> >> > is dead
> >> > lock in the program?
> >> > or some connection are not closed?
> >> >
> >> > thank you for ideas!
> >> > peter
> >> >
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To start a new topic, e-mail: users@tomcat.apache.org
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: hi,problem when shutdown tomcat!

Posted by Jon Wingfield <jo...@mkodo.com>.
Good question. I don't know. The last time I used JBuilder was way back 
in 2000.
The Borland site suggests an OptimizeIt profiler is present in JBuilder 
for the Developer and Enterprise editions:
http://info.borland.com/techpubs/jbuilder/

Jon

Peter wrote:
> thank you for ideas
>
> i current using JBuider2006, what profiler can used in JBuider2006?
>
> thanks
> peter
>
> On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
>>
>> Chuck answered a similar query recently:
>> http://marc.info/?l=tomcat-user&m=118113828210257&w=2
>>
>> Your servlets are serving long-running requests (or are in infinite
>> loops, dead-locked etc) when you are trying to shutdown tomcat.
>> The first thing I'd do in this situation is SIGQUIT tomcat to get a
>> stackdump of the running threads.
>> With that you can usually determine the changes you need to do to your
>> servlets, if required.
>> If the stackdump isn't a help I'd attach a profiler to see where your
>> servlets are spending the time. I like the one bundled with netbeans.
>> I'm sure others on the list have their own favourites.
>>
>> Jon
>>
>> Peter wrote:
>> > hi all;
>> > when i shutdown tomcat, i found following message in the catalina.out;
>> >
>> >
>> > 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
>> > * Waiting for 6 instance(s) to be deallocated*
>> > 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
>> > *Waiting for 6 instance(s) to be deallocated
>> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
>> > *Waiting for 6 instance(s) to be deallocated
>> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
>> > *Waiting for 333 instance(s) to be deallocated*
>> > 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
>> > *Waiting for 333 instance(s) to be deallocated*
>> > 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
>> > * Waiting for 333 instance(s) to be deallocated*
>> >
>> > anyone has a idea about the about messages, does it means that there
>> > is dead
>> > lock in the program?
>> > or some connection are not closed?
>> >
>> > thank you for ideas!
>> > peter
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>



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


Re: hi,problem when shutdown tomcat!

Posted by Peter <li...@gmail.com>.
thank you for ideas

i current using JBuider2006, what profiler can used in JBuider2006?

thanks
peter

On 6/12/07, Jon Wingfield <jo...@mkodo.com> wrote:
>
> Chuck answered a similar query recently:
> http://marc.info/?l=tomcat-user&m=118113828210257&w=2
>
> Your servlets are serving long-running requests (or are in infinite
> loops, dead-locked etc) when you are trying to shutdown tomcat.
> The first thing I'd do in this situation is SIGQUIT tomcat to get a
> stackdump of the running threads.
> With that you can usually determine the changes you need to do to your
> servlets, if required.
> If the stackdump isn't a help I'd attach a profiler to see where your
> servlets are spending the time. I like the one bundled with netbeans.
> I'm sure others on the list have their own favourites.
>
> Jon
>
> Peter wrote:
> > hi all;
> > when i shutdown tomcat, i found following message in the catalina.out;
> >
> >
> > 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
> > * Waiting for 6 instance(s) to be deallocated*
> > 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
> > *Waiting for 6 instance(s) to be deallocated
> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> > *Waiting for 6 instance(s) to be deallocated
> > *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> > *Waiting for 333 instance(s) to be deallocated*
> > 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
> > *Waiting for 333 instance(s) to be deallocated*
> > 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
> > * Waiting for 333 instance(s) to be deallocated*
> >
> > anyone has a idea about the about messages, does it means that there
> > is dead
> > lock in the program?
> > or some connection are not closed?
> >
> > thank you for ideas!
> > peter
> >
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: hi,problem when shutdown tomcat!

Posted by Jon Wingfield <jo...@mkodo.com>.
Chuck answered a similar query recently:
http://marc.info/?l=tomcat-user&m=118113828210257&w=2

Your servlets are serving long-running requests (or are in infinite 
loops, dead-locked etc) when you are trying to shutdown tomcat.
The first thing I'd do in this situation is SIGQUIT tomcat to get a 
stackdump of the running threads.
With that you can usually determine the changes you need to do to your 
servlets, if required.
If the stackdump isn't a help I'd attach a profiler to see where your 
servlets are spending the time. I like the one bundled with netbeans. 
I'm sure others on the list have their own favourites.

Jon

Peter wrote:
> hi all;
> when i shutdown tomcat, i found following message in the catalina.out;
>
>
> 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
> * Waiting for 6 instance(s) to be deallocated*
> 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
> *Waiting for 6 instance(s) to be deallocated
> *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> *Waiting for 6 instance(s) to be deallocated
> *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
> *Waiting for 333 instance(s) to be deallocated*
> 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
> *Waiting for 333 instance(s) to be deallocated*
> 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
> * Waiting for 333 instance(s) to be deallocated*
>
> anyone has a idea about the about messages, does it means that there 
> is dead
> lock in the program?
> or some connection are not closed?
>
> thank you for ideas!
> peter
>



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