You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Bill Brown <wb...@colorfulsoftware.com> on 2011/01/19 22:09:22 UTC

Exception during startup for little-g (Tomcat) 2.2.1

Greetings Geronimo Users: 

I get the following exception during the startup of little-g 2.2.1 during
this plugin starting: 

Module  9/49 org.apache.geronimo.framework/plugin/2.2.1/car 

19 Jan 2011 10:29:33,910 ERROR  [AbstractEncryption.decrypt() (line:80)] -
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.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122) 
        at
org.apache.geronimo.system.plugin.PluginRepositoryDownloader.<init>(PluginRepositoryDownloader.java:80) 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) 

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 
        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(GBeannInstance.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.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) 
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539) 
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377) 
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) 
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) 
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
        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$$46c5b151.startConfiguration(<generated>) 
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:204) 
        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) 


The server does start up and functions ok from what I can tell.   

Is this a cause for alarm or is there a way to fix this so I don't receive
the exception during startup? 

Thanks for your input or advice. 
Bill. 
-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Exception-during-startup-for-little-g-Tomcat-2-2-1-tp2290461p2290461.html
Sent from the Users mailing list archive at Nabble.com.

Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Forrest Xia <fo...@gmail.com>.
I don't recall G 2.2.1 has an issue like that, a JIRA with detailed
reproducible steps would be good!

On Sun, Apr 29, 2012 at 9:59 AM, Kevan Miller <ke...@gmail.com>wrote:

>
> 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




-- 
Thanks!

Regards, Forrest

Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Kevan Miller <ke...@gmail.com>.
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

Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Cynepnaxa <gp...@mail.ru>.
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)


--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Exception-during-startup-for-little-g-Tomcat-2-2-1-tp2290461p3947801.html
Sent from the Users mailing list archive at Nabble.com.

Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 20, 2011, at 9:49 AM, Bill Brown wrote:

> 
> Hi kevan: 
> 
> Thanks for helping me with this
> 
> My plugin-repositories.properties file looked like this:
> 
> bill@ubuntu:/opt/geronimo/var/config$ more plugin-repositories.properties
> #List of known plugin repositories. Fomat:  <url>=<username>=<password>
> #Sun Jan 16 20:25:07 CST 2011
> http\://localhost\:8080/plugin/maven-repo/=system\={Simple}null
> ~/.m2/repository/=

Interesting. Well, that's definitely the problem.

> 
> Maybe somehow the packaged version of little-g I downloaded was corrupt or
> somehow missing the encrypted creds.  I changed it to your other
> recommendation of adding the unencrypted username and password for the admin
> and the error went away.  
> 
> How can I add the encrypted format of the username and password to that file
> so it is better hidden?  

If you replace "{Simple}null" with "manager" and restart the server, the password will be automatically obfuscated by the server.

Would be good to know how the null got there... Perhaps you ran into an earlier problem that resulted in an encryption failure (resulting in a null). If you restart the server (password is obfuscated) and then restart the server without seeing the error, all should be well...

> 
> Thanks for your help.

No problem. Glad we got this figured out...

--kevan


Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Bill Brown <wb...@colorfulsoftware.com>.
Hi kevan: 

Thanks for helping me with this

My plugin-repositories.properties file looked like this:

bill@ubuntu:/opt/geronimo/var/config$ more plugin-repositories.properties
#List of known plugin repositories. Fomat:  <url>=<username>=<password>
#Sun Jan 16 20:25:07 CST 2011
http\://localhost\:8080/plugin/maven-repo/=system\={Simple}null
~/.m2/repository/=

Maybe somehow the packaged version of little-g I downloaded was corrupt or
somehow missing the encrypted creds.  I changed it to your other
recommendation of adding the unencrypted username and password for the admin
and the error went away.  

How can I add the encrypted format of the username and password to that file
so it is better hidden?  

Thanks for your help.
Bill.

-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Exception-during-startup-for-little-g-Tomcat-2-2-1-tp2290461p2294842.html
Sent from the Users mailing list archive at Nabble.com.

Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 19, 2011, at 5:00 PM, Bill Brown wrote:

> 
> Does this help uncover something more or do you have another idea of what I
> can try?  Thanks again for looking at this.

This particular error is occurring in a relatively minor point in our processing. Odds are that you'll never notice this failure (unless you're using plugin repositories). However, the fact that the decrypt is failing is concerning.

The contents of var/config/plugin-repositories.properties should look like:

#List of known plugin repositories. Fomat:  <url>=<username>=<password>
#Wed Jan 19 22:06:33 EST 2011
http\://localhost\:8080/plugin/maven-repo/=system\={Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNvZGVkUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW0Ks8xf4BghU4AIAAHhwAAAAEHnh03EmiNu4VTuWH+xZiRBwdAADQUVT
~/.m2/repository/=

You could store the password in unencrypted form by updating to:

#List of known plugin repositories. Fomat:  <url>=<username>=<password>
#Wed Jan 19 22:06:33 EST 2011
http\://localhost\:8080/plugin/maven-repo/=system\=manager
~/.m2/repository/=

Or even remove the localhost url. E.g.:

#List of known plugin repositories. Fomat:  <url>=<username>=<password>
#Wed Jan 19 22:06:33 EST 2011
~/.m2/repository/=

Would be nice if you (or somebody else that can recreate this) can help figure out what is going wrong. Set a breakpoint on line 73 of framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/AbstractEncryption.java

Base64.decode() should be returning a byte[186] I'm guessing you're getting a different result. Or a byte array of proper length, but incorrectly decoded values...

--kevan


Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 19, 2011, at 5:00 PM, Bill Brown wrote:

> 
> Does this help uncover something more or do you have another idea of what I
> can try?  Thanks again for looking at this.


Not AMD64, but it's running fine on my Ubuntu VM:

What's your JAVA_HOME setting? Mine is:

JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22/

Here's beginning of my geronimo.log

2011-01-19 20:56:09,656 INFO  [Log4jService] ----------------------------------------------
2011-01-19 20:56:09,656 INFO  [Log4jService] Started Logging Service
2011-01-19 20:56:09,656 INFO  [Log4jService] Runtime Information:
2011-01-19 20:56:09,657 INFO  [Log4jService]   Install Directory = /home/kevan/geronimo-tomcat6-minimal-2.2.1
2011-01-19 20:56:09,658 INFO  [JvmVendor] Sun JVM 1.6.0_22
2011-01-19 20:56:09,658 INFO  [Log4jService]   JVM in use        = Sun JVM 1.6.0_22
2011-01-19 20:56:09,658 INFO  [Log4jService] Java Information:
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.runtime.name]     = Java(TM) SE Runtime Environment
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.runtime.version]  = 1.6.0_22-b04
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [os.name]               = Linux
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [os.version]            = 2.6.28-19-generic
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [sun.os.patch.level]    = unknown
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [os.arch]               = i386
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.class.version]    = 50.0
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [locale]                = en_US
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [unicode.encoding]      = UnicodeLittle
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [file.encoding]         = UTF-8
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.vm.name]          = Java HotSpot(TM) Client VM
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.vm.vendor]        = Sun Microsystems Inc.
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.vm.version]       = 17.1-b03
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.vm.info]          = mixed mode
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.home]             = /usr/lib/jvm/java-6-sun-1.6.0.22/jre
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.classpath]        = null
2011-01-19 20:56:09,658 INFO  [Log4jService]   System property [java.library.path]     = /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
2011-01-19 20:56:09,659 INFO  [Log4jService]   System property [java.endorsed.dirs]    = /home/kevan/geronimo-tomcat6-minimal-2.2.1/lib/endorsed:/usr/lib/jvm/java-6-sun-1.6.0.22//jre/lib/endorsed
2011-01-19 20:56:09,659 INFO  [Log4jService]   System property [java.ext.dirs]         = /home/kevan/geronimo-tomcat6-minimal-2.2.1/lib/ext:/usr/lib/jvm/java-6-sun-1.6.0.22//jre/lib/ext
2011-01-19 20:56:09,659 INFO  [Log4jService]   System property [sun.boot.class.path]   = /home/kevan/geronimo-tomcat6-minimal-2.2.1/lib/endorsed/yoko-spec-corba-1.0.jar:/home/kevan/geronimo-tomcat6-minimal-2.2.1/lib/endorsed/yoko-rmi-spec-1.0.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes
2011-01-19 20:56:09,659 INFO  [Log4jService] ----------------------------------------------


Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Bill Brown <wb...@colorfulsoftware.com>.
Thanks for looking at this kevan. 

I'm actually on an amd64 ubuntu server.  Here is a dump of geronimo log up
to and including the error: 

2011-01-19 15:54:59,290 INFO  [Log4jService]
-----------------------------------
-----------
2011-01-19 15:54:59,295 INFO  [Log4jService] Started Logging Service
2011-01-19 15:54:59,296 INFO  [Log4jService] Runtime Information:
2011-01-19 15:54:59,299 INFO  [Log4jService]   Install Directory =
/opt/geronimo-tomcat6-minimal-2.2.1
2011-01-19 15:54:59,301 INFO  [JvmVendor] Sun JVM 1.6.0_22
2011-01-19 15:54:59,302 INFO  [Log4jService]   JVM in use        = Sun JVM
1.6.0_22
2011-01-19 15:54:59,303 INFO  [Log4jService] Java Information:
2011-01-19 15:54:59,304 INFO  [Log4jService]   System property
[java.runtime.name]     = Java(TM) SE Runtime Environment
2011-01-19 15:54:59,305 INFO  [Log4jService]   System property
[java.runtime.version]  = 1.6.0_22-b04
2011-01-19 15:54:59,306 INFO  [Log4jService]   System property [os.name]      
= Linux
2011-01-19 15:54:59,307 INFO  [Log4jService]   System property [os.version]      
= 2.6.32-27-server
2011-01-19 15:54:59,308 INFO  [Log4jService]   System property
[sun.os.patch.level]    = unknown
2011-01-19 15:54:59,309 INFO  [Log4jService]   System property [os.arch]
       = amd64
2011-01-19 15:54:59,311 INFO  [Log4jService]   System property
[java.class.version]    = 50.0
2011-01-19 15:54:59,312 INFO  [Log4jService]   System property [locale]
       = en_US
2011-01-19 15:54:59,313 INFO  [Log4jService]   System property
[unicode.encoding]      = UnicodeLittle
2011-01-19 15:54:59,314 INFO  [Log4jService]   System property
[file.encoding]       = UTF-8
2011-01-19 15:54:59,315 INFO  [Log4jService]   System property
[java.vm.name]       = Java HotSpot(TM) 64-Bit Server VM
2011-01-19 15:54:59,316 INFO  [Log4jService]   System property
[java.vm.vendor]       = Sun Microsystems Inc.
2011-01-19 15:54:59,317 INFO  [Log4jService]   System property
[java.vm.version]       = 17.1-b03
2011-01-19 15:54:59,318 INFO  [Log4jService]   System property
[java.vm.info]       = mixed mode
2011-01-19 15:54:59,319 INFO  [Log4jService]   System property [java.home]      
= /usr/lib/jvm/java-6-sun-1.6.0.22/jre
2011-01-19 15:54:59,320 INFO  [Log4jService]   System property
[java.classpath]       = null
2011-01-19 15:54:59,321 INFO  [Log4jService]   System property
[java.library.path]     =
/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/amd64/server:/usr/lib/jvm/java
-6-sun-1.6.0.22/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2011-01-19 15:54:59,322 INFO  [Log4jService]   System property
[java.endorsed.dirs]    =
/opt/geronimo/lib/endorsed:/usr/lib/jvm/java-6-sun/jre/lib/endorsed
2011-01-19 15:54:59,323 INFO  [Log4jService]   System property
[java.ext.dirs]
       = /opt/geronimo/lib/ext:/usr/lib/jvm/java-6-sun/jre/lib/ext
2011-01-19 15:54:59,324 INFO  [Log4jService]   System property
[sun.boot.class.path]   =
/opt/geronimo/lib/endorsed/yoko-rmi-spec-1.0.jar:/opt/geronimo/lib/endo
rsed/yoko-spec-corba-1.0.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes
2011-01-19 15:54:59,325 INFO  [Log4jService]
-----------------------------------
-----------
2011-01-19 15:55:00,602 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=JavaCompContext
at name java:comp
2011-01-19 15:55:00,605 INFO  [KernelContextGBean] bound gbean
org.apache.geroni
mo.framework/rmi-naming/2.2.1/car?ServiceModule=org.apache.geronimo.framework/rm
i-naming/2.2.1/car,j2eeType=Context,name=JavaContext at name java:
2011-01-19 15:55:00,606 INFO  [KernelContextGBean] bound gbean
org.apache.geroni
mo.framework/rmi-naming/2.2.1/car?ServiceModule=org.apache.geronimo.framework/rm
i-naming/2.2.1/car,j2eeType=Context,name=GeronimoContext at name ger:
2011-01-19 15:55:01,434 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.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122)
        at
org.apache.geronimo.system.plugin.PluginRepositoryDownloader.<init>(PluginRepositoryDownloader.java:80)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        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.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        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$$340e9642.startConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:204)
        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)

Does this help uncover something more or do you have another idea of what I
can try?  Thanks again for looking at this.

Bill
-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Exception-during-startup-for-little-g-Tomcat-2-2-1-tp2290461p2290811.html
Sent from the Users mailing list archive at Nabble.com.

Re: Exception during startup for little-g (Tomcat) 2.2.1

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 19, 2011, at 4:09 PM, Bill Brown wrote:

> 
> Greetings Geronimo Users: 
> 
> I get the following exception during the startup of little-g 2.2.1 during
> this plugin starting: 
> 
> Module  9/49 org.apache.geronimo.framework/plugin/2.2.1/car 
> 
> 19 Jan 2011 10:29:33,910 ERROR  [AbstractEncryption.decrypt() (line:80)] -
> 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) 

...

> The server does start up and functions ok from what I can tell.   
> 
> Is this a cause for alarm or is there a way to fix this so I don't receive
> the exception during startup? 

Hi Bill,
What's your OS? If you're running on Windows, see https://issues.apache.org/jira/browse/GERONIMO-5175 (in particular, the comments from Forrest). If that's not the issue, check to insure that your JAVA_HOME environment variable is set properly. You can send us the environmental log entries from var/log/geronimo.log. E.g:

2010-12-08 22:52:20,618 INFO  [Log4jService] ----------------------------------------------
2010-12-08 22:52:20,619 INFO  [Log4jService] Started Logging Service
2010-12-08 22:52:20,619 INFO  [Log4jService] Runtime Information:
2010-12-08 22:52:20,620 INFO  [Log4jService]   Install Directory = /Users/kevan/Servers/geronimo-tomcat6-javaee5-2.2.1
2010-12-08 22:52:20,620 INFO  [JvmVendor] Sun JVM 1.6.0_22
2010-12-08 22:52:20,621 INFO  [Log4jService]   JVM in use        = Sun JVM 1.6.0_22
2010-12-08 22:52:20,621 INFO  [Log4jService] Java Information:
2010-12-08 22:52:20,621 INFO  [Log4jService]   System property [java.runtime.name]     = Java(TM) SE Runtime Environment
2010-12-08 22:52:20,621 INFO  [Log4jService]   System property [java.runtime.version]  = 1.6.0_22-b04-307-10M3261
2010-12-08 22:52:20,621 INFO  [Log4jService]   System property [os.name]               = Mac OS X
...

--kevan