On Apr 29, 2012, at 1:27 AM, Cynepnaxa wrote:

> Hello! i have the same issue too. 
> geronimo-tomcat6-javaee5-2.2.1
> oracle jdk1.6.0_32 x64
> ubuntu 11.10 x64
> After change null to manager startup make few steps more and throw another
> exception(diff say it's stacktrace have some differences):
> 2012-04-29 11:43:19,675 INFO  [KernelContextGBean] bound gbean
> org.apache.geronimo.framework/rmi-naming/2.2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2.1/car,j2eeType=Context,name=GeronimoContext
> at name ger:
> 2012-04-29 11:43:21,317 INFO  [SystemProperties] Setting
> Property=javax.xml.soap.MetaFactory to
> Value=org.apache.geronimo.webservices.saaj.GeronimoMetaFactory
> 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> Property=javax.xml.soap.MessageFactory to
> Value=org.apache.geronimo.webservices.saaj.GeronimoMessageFactory
> 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> Property=java.net.preferIPv4Stack to Value=true
> 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> Property=javax.xml.soap.SOAPConnectionFactory to
> Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPConnectionFactory
> 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> Property=javax.xml.soap.SOAPFactory to
> Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPFactory
> 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> Property=java.security.Provider to Value=SUN
> 2012-04-29 11:43:25,035 INFO  [KernelContextGBean] bound gbean
> org.apache.geronimo.configs/transaction/2.2.1/car?ServiceModule=org.apache.geronimo.configs/transaction/2.2.1/car,j2eeType=Context,name=ResourceBindings
> at name jca:
> 2012-04-29 11:43:25,973 ERROR [AbstractEncryption] Unable to decrypt
> java.io.EOFException
>       at
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
>       at
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
>       at 
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
>       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
>       at
> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:76)
>       at
> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:109)
>       at
> org.apache.geronimo.gbean.annotation.EncryptionSetting$1.decrypt(EncryptionSetting.java:33)
>       at
> org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:416)
>       at
> org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:367)
>       at
> org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:228)
>       at
> org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:197)
>       at
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:297)
>       at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown 
> Source)
>       at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>       at
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
>       at
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
>       at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>       at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>       at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:911)
>       at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>       at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>       at
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
>       at
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
>       at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
>       at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:302)
>       at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
>       at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       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:816)
>       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.gbean.GBeanLifecycle$$EnhancerByCGLIB$$233fbc9f.loadConfiguration(<generated>)
>       at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:201)
>       at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:87)
>       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)

Can you run a test with a fresh install of Geronimo?

Anybody recall if we have a check to guard against this situation? Where an 
encrypt failure can result in a 'null' being set for obfuscated passwords? I 
hope so… If not, let's get a jira.

--kevan

Reply via email to