[ 
https://issues.apache.org/jira/browse/GERONIMO-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843505#action_12843505
 ] 

Jan Stobbe commented on GERONIMO-5175:
--------------------------------------

I have it set the way you describe. Somehow it is changing it.
JAVA_HOME=c:\Progra~1\java\jdk1.6.0_18
JAVA_OPTS=-Xmx1000m -XX:MaxPermSize=256m
JRE_HOME=c:\Progra~1\java\jdk1.6.0_18

if i only set JAVA_HOME the server starts and I get

2010-03-10 05:08:00,152 ERROR [AbstractEncryption] Unable to decrypt
java.io.EOFException
        at 
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
        at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:781)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
        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$$286254a1.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)

> Geronimo 2.2 won't start java.lang.NoClassDefFoundError: Could not initialize 
> class org.apache.geronimo.system.configuration.AttributesXmlUtil
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5175
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5175
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 2.2
>         Environment: Windows Vista Home
> geronimo-tomcat6-javaee5-2.2-bin.zip
>            Reporter: Jan Stobbe
>             Fix For: 2.2
>
>
> Can't startup
> 2010-03-08 21:12:12,124 INFO  [Log4jService] 
> ----------------------------------------------
> 2010-03-08 21:12:12,124 INFO  [Log4jService] Started Logging Service
> 2010-03-08 21:12:12,124 INFO  [Log4jService] Runtime Information:
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   Install Directory = 
> C:\geronimo-tomcat6-javaee5-2.2
> 2010-03-08 21:12:12,124 INFO  [JvmVendor] Sun JVM 1.6.0_02
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   JVM in use        = Sun JVM 
> 1.6.0_02
> 2010-03-08 21:12:12,124 INFO  [Log4jService] Java Information:
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.runtime.name]     = Java(TM) SE Runtime Environment
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.runtime.version]  = 1.6.0_02-b06
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property [os.name]      
>          = Windows Vista
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property [os.version]   
>          = 6.0
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [sun.os.patch.level]    = Service Pack 2
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property [os.arch]      
>          = x86
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.class.version]    = 50.0
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property [locale]       
>          = en_US
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [unicode.encoding]      = UnicodeLittle
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [file.encoding]         = Cp1252
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property [java.vm.name] 
>          = Java HotSpot(TM) Client VM
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.vm.vendor]        = Sun Microsystems Inc.
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.vm.version]       = 1.6.0_02-b06
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property [java.vm.info] 
>          = mixed mode
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property [java.home]    
>          = c:\Progra~1\java\jre1.6.0_02
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.classpath]        = null
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.library.path]     = 
> c:\Progra~1\java\jre1.6.0_02\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
>  Files\CyberLink\Power2Go\;C:\Program Files\jZip;c:\Program Files\Microsoft 
> SQL Server\90\Tools\binn\;C:\Program Files\cvsnt;
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.endorsed.dirs]    = 
> C:\geronimo-tomcat6-javaee5-2.2\lib\endorsed;c:\Progra~1\java\jre1.6.0_02\lib\endorsed
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [java.ext.dirs]         = 
> C:\geronimo-tomcat6-javaee5-2.2\lib\ext;c:\Progra~1\java\jre1.6.0_02\lib\ext
> 2010-03-08 21:12:12,124 INFO  [Log4jService]   System property 
> [sun.boot.class.path]   = 
> C:\geronimo-tomcat6-javaee5-2.2\lib\endorsed\yoko-rmi-spec-1.0.jar;C:\geronimo-tomcat6-javaee5-2.2\lib\endorsed\yoko-spec-corba-1.0.jar;c:\Progra~1\java\jre1.6.0_02\lib\resources.jar;c:\Progra~1\java\jre1.6.0_02\lib\rt.jar;c:\Progra~1\java\jre1.6.0_02\lib\sunrsasign.jar;c:\Progra~1\java\jre1.6.0_02\lib\jsse.jar;c:\Progra~1\java\jre1.6.0_02\lib\jce.jar;c:\Progra~1\java\jre1.6.0_02\lib\charsets.jar;c:\Progra~1\java\jre1.6.0_02\classes
> 2010-03-08 21:12:12,124 INFO  [Log4jService] 
> ----------------------------------------------
> 2010-03-08 21:12:12,139 ERROR [GBeanInstanceState] Error while starting; 
> GBean is now in the FAILED state: 
> abstractName="org.apache.geronimo.framework/j2ee-system/2.2/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/2.2/car,j2eeType=AttributeStore,name=AttributeManager"
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.apache.geronimo.system.configuration.AttributesXmlUtil
>       at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.read(LocalAttributeManager.java:373)
>       at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.load(LocalAttributeManager.java:354)
>       at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.doStart(LocalAttributeManager.java:547)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
>       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.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:208)
>       at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:167)
>       at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84)
>       at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57)
>       at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)
>       at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>       at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> 2010-03-08 21:12:12,139 INFO  [Log4jService] Stopping Logging Service
> 2010-03-08 21:12:12,139 INFO  [Log4jService] 
> ----------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to