JBoss 4.x shutting down creates Exception from Orbeon

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JBoss 4.x shutting down creates Exception from Orbeon

ceebee

Hello,

 

when shutting down Orbeon on Jboss 4.2.x and having open Sessions the following Exception get’s thrown :

 

10:35:56,010 ERROR [OrbeonSessionListener] Session Listener - Exception when running session destruction processor.

java.lang.IllegalStateException: Shutdown in progress

        at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)

        at java.lang.Runtime.addShutdownHook(Runtime.java:192)

 

It looks like the “expirePersistentBySession(sessionId);” method in the “sessionDestroyed” method tries to access the eXist Database, which isn’t available anymore and seems to be shutdown already !

 

Anyone has this issue too ?

 

Best regards

 

Christian



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: JBoss 4.x shutting down creates Exception from Orbeon

Erik Bruchez
Administrator
Christian,

I can see how that can happen.

The question is: how can that be prevented, since normally an expiring
session must call expirePersistentBySession().

-Erik

On Mon, Sep 20, 2010 at 2:02 AM, Christian Belka
<[hidden email]> wrote:

> Hello,
>
>
>
> when shutting down Orbeon on Jboss 4.2.x and having open Sessions the
> following Exception get’s thrown :
>
>
>
> 10:35:56,010 ERROR [OrbeonSessionListener] Session Listener - Exception when
> running session destruction processor.
>
> java.lang.IllegalStateException: Shutdown in progress
>
>         at
> java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
>
>         at java.lang.Runtime.addShutdownHook(Runtime.java:192)
>
>
>
> It looks like the “expirePersistentBySession(sessionId);” method in the
> “sessionDestroyed” method tries to access the eXist Database, which isn’t
> available anymore and seems to be shutdown already !
>
>
>
> Anyone has this issue too ?
>
>
>
> Best regards
>
>
>
> Christian
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: JBoss 4.x shutting down creates Exception from Orbeon

ceebee
Does this problem occur on other Applicationservers too, or is it versionrelated in the 3.8 version ?


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: Dienstag, 21. September 2010 04:37
To: [hidden email]
Subject: [ops-users] Re: JBoss 4.x shutting down creates Exception from Orbeon

Christian,

I can see how that can happen.

The question is: how can that be prevented, since normally an expiring
session must call expirePersistentBySession().

-Erik

On Mon, Sep 20, 2010 at 2:02 AM, Christian Belka
<[hidden email]> wrote:

> Hello,
>
>
>
> when shutting down Orbeon on Jboss 4.2.x and having open Sessions the
> following Exception get's thrown :
>
>
>
> 10:35:56,010 ERROR [OrbeonSessionListener] Session Listener - Exception when
> running session destruction processor.
>
> java.lang.IllegalStateException: Shutdown in progress
>
>         at
> java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
>
>         at java.lang.Runtime.addShutdownHook(Runtime.java:192)
>
>
>
> It looks like the "expirePersistentBySession(sessionId);" method in the
> "sessionDestroyed" method tries to access the eXist Database, which isn't
> available anymore and seems to be shutdown already !
>
>
>
> Anyone has this issue too ?
>
>
>
> Best regards
>
>
>
> Christian
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws