[ http://issues.apache.org/jira/browse/GERONIMO-2235?page=all ]

Joe Bohn closed GERONIMO-2235.
------------------------------


> Locking default keystore results in serialization error on tomcat termination
> -----------------------------------------------------------------------------
>
>                 Key: GERONIMO-2235
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2235
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 1.2, 1.1, 1.1.1
>         Environment: windows xp
> tomcat
>            Reporter: Joe Bohn
>         Assigned To: Joe Bohn
>             Fix For: 1.2, 1.1.1
>
>
> Once having locked the keystore availability a subsequent termination of the 
> server will result in a serialization exception on tomcat.   This situation 
> cannot be resolved, even with a server restart.  Attempting to unlock the 
> keystore and key again will appear to succeed ont he console but the 
> serialization error continues to appear on server termination and the 
> keystore is never really unlock (after restart you can observe that it is 
> once again locked).
> Here's the stack trace:
> Server shutdown begun
> 14:15:18,819 WARN  [[/console-standard]] Cannot serialize session attribute 
> javax.portlet.p.Security_keystores_row1_col1_p1?org.apache.geronimo.keystore.geronim
> o-default for session 0BCA0CD146C855673E893CA127A31961
> java.io.NotSerializableException: 
> org.apache.geronimo.management.geronimo.KeystoreInstance$$EnhancerByCGLIB$$911c98e6
>         at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
>         at 
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
>         at 
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
>         at 
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
>         at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
>         at 
> org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1460)
>         at 
> org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:936)
>         at 
> org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
>         at 
> org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
>         at 
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
>         at 
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4316)
>         at 
> org.apache.geronimo.tomcat.GeronimoStandardContext.stop(GeronimoStandardContext.java:216)
>         at 
> org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:324)
>         at 
> org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at 
> org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$12e838fd.removeContext(<generated>)
>         at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStop(TomcatWebAppContext.java:459)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1143)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:337)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:548)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:548)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:548)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:548)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:310)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:668)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:645)
>         at org.apache.geronimo.system.main.Daemon$1.run(Daemon.java:245)
> Server shutdown completed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to