Can't start the 2.2 server with Sun JDK 1.5, IBM JDK 1.5, or IBM JDK 6.0.
-------------------------------------------------------------------------
Key: GERONIMO-4524
URL: https://issues.apache.org/jira/browse/GERONIMO-4524
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: startup/shutdown
Affects Versions: 2.2
Environment: Windows XP + IBM JDK 1.5
Windows XP + SUN JDK 1.5
Windows XP + IBM JDK 6.0
Reporter: Shawn Jiang
Priority: Blocker
I can only start the server successfully with SUN JDK 6.0. Or there will be
exceptions thrown:
* For *JDK 1.5*, the exceptions was
-----------------------------------------
Could not load gbean
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: Could not load
attribute class: javax.security.auth.login.Configuration$Parameters
at
org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:199)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:366)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:240)
..............
Caused by: java.lang.ClassNotFoundException: Could not load class
javax.security.auth.login.Configuration$Parameters from classloader:
org.apache.geronimo.framework/j2ee-security/2.2-SNAPSHOT/car, destroyed state:
false
at
org.apache.geronimo.kernel.ClassLoading.loadClass(ClassLoading.java:213)
at
org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:197)
... 22 more
* For *IBM JDK 6.0* , the exception was:
--------------------------------------------------------------
ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED
state:
abstractName="org.apache.geronimo.configs/activemq-broker/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2-SNAPSHOT/car,j2eeType=JMSServer,name=DefaultActiveMQBroker"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in file
[C:\geronimo-tomcat6-javaee5-2.2-SNAPSHOT\var\activemq\conf\activemq.xml]:
Cannot create inner bean '(inner bean)' of type
[org.apache.activemq.store.amq.AMQPersistenceAdapter] while setting bean
property 'persistenceAdapter'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)#3' defined in file
[C:\geronimo-tomcat6-javaee5-2.2-SNAPSHOT\var\activemq\conf\activemq.xml]:
Initialization of bean failed; nested exception is
java.lang.UnsatisfiedLinkError:
com/ibm/jvm/ClassLoader.getClassContext()[Ljava/lang/Class;
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
.................
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '(inner bean)#3' defined in file
[C:\geronimo-tomcat6-javaee5-2.2-SNAPSHOT\var\activemq\conf\activemq.xml]:
Initialization of bean failed; nested exception is
java.lang.UnsatisfiedLinkError:
com/ibm/jvm/ClassLoader.getClassContext()[Ljava/lang/Class;
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at
java.security.AccessController.doPrivileged(AccessController.java:224)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
... 53 more
Caused by: java.lang.UnsatisfiedLinkError:
com/ibm/jvm/ClassLoader.getClassContext()[Ljava/lang/Class;
at com.ibm.jvm.ClassLoader.getLastClassLoader(ClassLoader.java:55)
at java.net.URL.getURLStreamHandler(URL.java:1141)
at java.net.URL.<init>(URL.java:572)
.........................
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.