Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 28686 invoked from network); 28 Jul 2006 16:39:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 16:39:49 -0000 Received: (qmail 15555 invoked by uid 500); 28 Jul 2006 16:39:46 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 15517 invoked by uid 500); 28 Jul 2006 16:39:46 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 15506 invoked by uid 99); 28 Jul 2006 16:39:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 09:39:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 09:39:40 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D26AC41000E for ; Fri, 28 Jul 2006 16:37:15 +0000 (GMT) Message-ID: <18983897.1154104635859.JavaMail.jira@brutus> Date: Fri, 28 Jul 2006 09:37:15 -0700 (PDT) From: "Joe Bohn (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GERONIMO-2235) Locking default keystore results in serialization error on tomcat termination In-Reply-To: <19375442.1154024654886.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-2235?page=all ] Joe Bohn reassigned GERONIMO-2235: ---------------------------------- Assignee: Joe Bohn > 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() > 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() > 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