users@glassfish.java.net

Re: Diagnosing web application shutdown issues

From: <forums_at_java.net>
Date: Wed, 22 Jan 2014 04:03:56 -0600 (CST)

At a minimum you can undeploy your application from asadmin or the console,
and the debugger will still be connected, since it's tied to the container,
not your application. By the same notion, you can attach the debugger to the
server, set breakpoints in your web apps initialization code, and then deploy
the app and the debugger should catch the breakpoints in the your newly
started app. Leaking Threads and ThreadLocals is a common thing that causes
this kind of thing.

--
[Message sent by forum member 'whartung']
View Post: http://forums.java.net/node/900929