Exception unloading sessions to persistent storage [message #55136] |
Wed, 24 October 2007 12:02 |
Eclipse User |
|
|
|
Originally posted by: sku.highex.se
Hi,
I was able to deploy RAP application to Tomcat (following RAP help
instructions). Everything works fine but when I try to stop Tomcat (actually
execute "close" command in osgi console) it displays following stack trace:
24.10.2007 15:56:50 org.apache.catalina.session.StandardManager stop
SEVERE: Exception unloading sessions to persistent storage
java.lang.NullPointerException
at
org.eclipse.ui.internal.services.RegistryPersistence$4.befor eDestroy(Unknown
Source)
at org.eclipse.rwt.internal.service.SessionStoreImpl.valueUnbou nd(Unknown
Source)
at
org.apache.catalina.session.StandardSession.removeAttributeI nternal(StandardSession.java:1649)
at
org.apache.catalina.session.StandardSession.writeObject(Stan dardSession.java:1505)
at
org.apache.catalina.session.StandardSession.writeObjectData( StandardSession.java:959)
at
org.apache.catalina.session.StandardManager.doUnload(Standar dManager.java:517)
at
org.apache.catalina.session.StandardManager.unload(StandardM anager.java:463)
at
org.apache.catalina.session.StandardManager.stop(StandardMan ager.java:667)
at org.apache.catalina.core.StandardContext.stop(StandardContex t.java:4499)
at
org.apache.catalina.core.ContainerBase.removeChild(Container Base.java:924)
at
org.apache.catalina.startup.HostConfig.undeployApps(HostConf ig.java:1180)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java: 1151)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:313)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.ja va:1086)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.ja va:1098)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine. java:448)
at org.apache.catalina.core.StandardService.stop(StandardServic e.java:584)
at org.apache.catalina.core.StandardServer.stop(StandardServer. java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:616)
at
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.ru n(Catalina.java:659)
After this Tomcat stops. Any idea?
Regards,
Sergey.
|
|
|
Re: Exception unloading sessions to persistent storage [message #55602 is a reply to message #55136] |
Fri, 26 October 2007 05:44 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I didn't try it that way yet - normaly I stop tomcat using shutdown. I think
it's possible that closing OSGi will unload bundles before the sessions are
invalidated. This could lead to problems with the #valueUnbound(...) calls
that want to access some infrastructure for cleanup which isn't available
anymore.
Ciao
Frank
"Sergey Kuznetsov" <sku@highex.se> schrieb im Newsbeitrag
news:ffnc9h$1d3$1@build.eclipse.org...
> Hi,
>
> I was able to deploy RAP application to Tomcat (following RAP help
> instructions). Everything works fine but when I try to stop Tomcat
> (actually execute "close" command in osgi console) it displays following
> stack trace:
>
> 24.10.2007 15:56:50 org.apache.catalina.session.StandardManager stop
> SEVERE: Exception unloading sessions to persistent storage
> java.lang.NullPointerException
> at
> org.eclipse.ui.internal.services.RegistryPersistence$4.befor eDestroy(Unknown
> Source)
> at org.eclipse.rwt.internal.service.SessionStoreImpl.valueUnbou nd(Unknown
> Source)
> at
> org.apache.catalina.session.StandardSession.removeAttributeI nternal(StandardSession.java:1649)
> at
> org.apache.catalina.session.StandardSession.writeObject(Stan dardSession.java:1505)
> at
> org.apache.catalina.session.StandardSession.writeObjectData( StandardSession.java:959)
> at
> org.apache.catalina.session.StandardManager.doUnload(Standar dManager.java:517)
> at
> org.apache.catalina.session.StandardManager.unload(StandardM anager.java:463)
> at
> org.apache.catalina.session.StandardManager.stop(StandardMan ager.java:667)
> at
> org.apache.catalina.core.StandardContext.stop(StandardContex t.java:4499)
> at
> org.apache.catalina.core.ContainerBase.removeChild(Container Base.java:924)
> at
> org.apache.catalina.startup.HostConfig.undeployApps(HostConf ig.java:1180)
> at org.apache.catalina.startup.HostConfig.stop(HostConfig.java: 1151)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:313)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:117)
> at org.apache.catalina.core.ContainerBase.stop(ContainerBase.ja va:1086)
> at org.apache.catalina.core.ContainerBase.stop(ContainerBase.ja va:1098)
> at org.apache.catalina.core.StandardEngine.stop(StandardEngine. java:448)
> at org.apache.catalina.core.StandardService.stop(StandardServic e.java:584)
> at org.apache.catalina.core.StandardServer.stop(StandardServer. java:744)
> at org.apache.catalina.startup.Catalina.stop(Catalina.java:616)
> at
> org.apache.catalina.startup.Catalina$CatalinaShutdownHook.ru n(Catalina.java:659)
>
> After this Tomcat stops. Any idea?
>
> Regards,
> Sergey.
|
|
|
Powered by
FUDForum. Page generated in 0.03658 seconds