users@glassfish.java.net

Re: GlassFish ThreadDeath issue

From: <Jan.Luehe_at_Sun.COM>
Date: Thu, 29 May 2008 20:47:54 -0700

lanceb wrote:

>Hi
>
>I get the following stack trace sporadically (NetBeans 6.1 with included
>GlassFish and JSF app):
>
>
>
>>>>StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for
>>>>
>>>>
>servlet Faces Servlet threw exception
>java.lang.ThreadDeath
> at
>org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1333)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at
>com.interactive.common.log.BasicFormatter.format(BasicFormatter.java:38)
> at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
> at java.util.logging.FileHandler.publish(FileHandler.java:555)
> at java.util.logging.Logger.log(Logger.java:472)
> at java.util.logging.Logger.doLog(Logger.java:494)
> at java.util.logging.Logger.log(Logger.java:517)
> at java.util.logging.Logger.warning(Logger.java:1020)
><<<
>
>The problem occurs specifically with a custom Logger (registered with
>application scope via a listener at container startup) as can be seen in the
>stack trace.
>
>Any ideas why / under which conditions I may occasionally get ThreadDeath
>like this when accessing a Logger?
>
>

See

  
http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppStoppedIllegalAccessError

for the cicumstances under which this error may occur.

Do you think any of them may apply to your particular situation?


Jan

>Help appreciated
>Lance
>
>