Re: Tomcat doesn't stop

David Delbecq <[email protected]>
Newsgroups gmane.comp.jakarta.slide.devel
Message-ID <[email protected]>
Hi,
am using slide with JNDIPrincipalStore. It uses Threads indeed, but i
never encountered it preventing stopping of webapp. However, in the
past, i had a problem with a listener configured in the Domain that was
preventing shutdow. I just commented out this listener. (It's WEBDav
notifier or something alike i don't remember, it was using a non daemon
Timer to work on a regular basis)

It can be interresting however to look at what it waits, maybe you have
a jndi ressource in a deadlock somewhere.

Mathieu Larchet a écrit :
> I have a problem with Slide, when I call shutdown.sh Tomcat doen't stop.
> I'have done a thread dump to identify threads running and it seems
> JNDIPrincipalStore is the main cause :
>
> "RefreshThread-" prio=1 tid=0x087643c8 nid=0x5d5d waiting on condition
> [0x4d7ff000..0x4d7ff228]
>        at java.lang.Thread.sleep(Native Method)
>        at
> org.apache.slide.store.txjndi.JNDIPrincipalStore$RefreshThread.run(JNDIPrincipalStore.java:1301)
>
>
> "RefreshThread-" prio=1 tid=0x4ee83610 nid=0x5d56 waiting on condition
> [0x4dded000..0x4dded228]
>        at java.lang.Thread.sleep(Native Method)
>        at
> org.apache.slide.store.txjndi.JNDIPrincipalStore$RefreshThread.run(JNDIPrincipalStore.java:1301)
>
>
> Is it a known bug and is there some workaround ?
>
> Thanks
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.