Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Weblogic instance shuts down. ThreadDeath exception

Uthiresh Narayanan

2003-08-01

Replies:

Hi everybody,

    My weblogic 7.0 server instance once shut down with the following
exception.

<EJB Exception during invocation from home:
com.mclaims.modules.payablebillable.handler.SLSBPayableBatchPostingActionBea
n_a9hcce_HomeImpl@(protected)
java.lang.ThreadDeath
    at java.lang.Thread.stop (Thread.java:578)
    at
weblogic.kernel.ExecuteThreadManager.setThreadCount(ExecuteThreadManager.jav
a:123)
    at
weblogic.kernel.ExecuteThreadManager.shutdown(ExecuteThreadManager.java:296)
    at weblogic.kernel.Kernel.shutdown(Kernel.java:379)
    at weblogic.t3.srvr.T3Srvr$2.run(T3Srvr.java:1317)
    at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:1300)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1050)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:313)
    at weblogic.Server.main(Server.java:32)

>From the stack trace it seems like java.lang.Thread.stop() is being called.

But this method has been deprecated as it is inherently unsafe, then how is
this method being called in the weblogic core classes. The API mentions that
ThreadDeath exception gets propagated up the stack.

Any help would be appreciated,

TIA,
uthiresh

===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".


©2008 junlu.com - Jax Systems, LLC, U.S.A.