Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 41298 invoked from network); 18 Dec 2008 09:33:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 09:33:30 -0000 Received: (qmail 66451 invoked by uid 500); 18 Dec 2008 09:33:40 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 66375 invoked by uid 500); 18 Dec 2008 09:33:39 -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 66340 invoked by uid 99); 18 Dec 2008 09:33:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 01:33:39 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xhhsld@gmail.com designates 209.85.198.239 as permitted sender) Received: from [209.85.198.239] (HELO rv-out-0506.google.com) (209.85.198.239) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 09:33:18 +0000 Received: by rv-out-0506.google.com with SMTP id f6so339810rvb.55 for ; Thu, 18 Dec 2008 01:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Gg3W6pjiu4eTW+F6UkuglNX4V14pFLv1Km5/OlVmCyo=; b=YDy1Zk7hYu07OZ1BFcCG5huVjWbueSw0GNSXp2pQi85m8AdAmZuJG6T1MiTQU04469 mIYEmfQfwvPiOpCnOcH+ae4OxtyRfzU4iKGxnhbvVt4wsGH3YPmL4N164PPaKzQ4k+0N 8ro3wrquaItnVsW9AOsCyPWhwf0BWh6+pc0PY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rXsfTdKUoWY+d8Xjde0CBQaYu3P04SLgnKH70l1lCGq0kWcr5Qzo2Bvo0PTBSx033G +PJd9pj7kJa9fJMZvXFHnoCxue7g8nheFaI0jpE7p1k0bKVX/rHRvBawTn/nOPMuQqQ9 Qpswcuc52z6jNUQoFKVsBox5gjyFmi2H26M5U= Received: by 10.142.139.5 with SMTP id m5mr733428wfd.2.1229592776967; Thu, 18 Dec 2008 01:32:56 -0800 (PST) Received: by 10.143.161.13 with HTTP; Thu, 18 Dec 2008 01:32:56 -0800 (PST) Message-ID: <45f744e40812180132u60e43479jc1119f333b29ad84@mail.gmail.com> Date: Thu, 18 Dec 2008 17:32:56 +0800 From: Ivan To: dev@geronimo.apache.org Subject: The configurationData serialization data of j2ee-security is not consisitent with the source codes MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26161_32291198.1229592776958" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_26161_32291198.1229592776958 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline With the newest 2.2snapshot build of 12.17, it failed to start up with the exception below.Just find in the config.ser file of j2ee-security-2.2-SNAPSHOT.car, GeronimoLoginConfiguration has an extra attribute "provider". While in the source code of GeronimoLoginConfiguration, no attribute named provider exists. Does anyone else encounter this error ? ---- org.apache.geronimo.framework/j2ee-security/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.2-SNAPSHOT/car,j2eeType=GBean ,name=LoginConfiguration org.apache.geronimo.gbean.InvalidConfigurationException: Getter method not found Attribute Name: provider, Type: class java.security.Provider, GBeanIn stance: GeronimoLoginConfiguration at org.apache.geronimo.gbean.runtime.GBeanAttribute.(GBeanAttribute.java:241) at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:366) at org.apache.geronimo.gbean.runtime.GBeanInstance.(GBeanInstance.java:240) at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:352) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815) 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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c1f3ca9a.startConfiguration() at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) Caused by: java.lang.NoSuchMethodException: org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.getProvider() at java.lang.Class.throwNoSuchMethodException(Class.java:274) at java.lang.Class.getMethod(Class.java:813) at org.apache.geronimo.gbean.runtime.GBeanAttribute.(GBeanAttribute.java:226) ... 22 more [****** ] 16% 3s Startup failed org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.framework/j2ee-security/2.2-SNAPSHOT/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:579) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815) 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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c1f3ca9a.startConfiguration() at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) ... 16 more Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Getter method not found Attribute Name: provider, Type: class java.security.Provid er, GBeanInstance: GeronimoLoginConfiguration at org.apache.geronimo.gbean.runtime.GBeanAttribute.(GBeanAttribute.java:241) at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:366) at org.apache.geronimo.gbean.runtime.GBeanInstance.(GBeanInstance.java:240) at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:352) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441) ... 18 more Caused by: java.lang.NoSuchMethodException: org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.getProvider() at java.lang.Class.throwNoSuchMethodException(Class.java:274) at java.lang.Class.getMethod(Class.java:813) at org.apache.geronimo.gbean.runtime.GBeanAttribute.(GBeanAttribute.java:226) ... 22 more ------- -- Ivan ------=_Part_26161_32291198.1229592776958 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline With the newest 2.2snapshot build of 12.17, it failed to start up with the exception below.
Just find in the config.ser file of j2ee-security-2.2-SNAPSHOT.car, GeronimoLoginConfiguration has an extra attribute "provider". While in the source code of GeronimoLoginConfiguration, no attribute named provider exists.
Does anyone else encounter this error ?

----
org.apache.geronimo.framework/j2ee-security/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.2-SNAPSHOT/car,j2eeType=GBean
,name=LoginConfiguration
org.apache.geronimo.gbean.InvalidConfigurationException: Getter method not found Attribute Name: provider, Type: class java.security.Provider, GBeanIn
stance: GeronimoLoginConfiguration
        at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:241)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:366)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:240)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:352)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
        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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c1f3ca9a.startConfiguration(<generated>)
        at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
        at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: java.lang.NoSuchMethodException: org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.getProvider()
        at java.lang.Class.throwNoSuchMethodException(Class.java:274)
        at java.lang.Class.getMethod(Class.java:813)
        at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:226)
        ... 22 more
[******                                  ]  16%   3s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.framework/j2ee-security/2.2-SNAPSHOT/car failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:579)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
        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.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c1f3ca9a.startConfiguration(<generated>)
        at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
        at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
        ... 16 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Getter method not found Attribute Name: provider, Type: class java.security.Provid
er, GBeanInstance: GeronimoLoginConfiguration
        at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:241)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:366)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:240)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:352)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441)
        ... 18 more
Caused by: java.lang.NoSuchMethodException: org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.getProvider()
        at java.lang.Class.throwNoSuchMethodException(Class.java:274)
        at java.lang.Class.getMethod(Class.java:813)
        at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:226)
        ... 22 more

-------

--
Ivan
------=_Part_26161_32291198.1229592776958--