-Xhealthcenter does not work on IBM JDK
---------------------------------------
Key: GERONIMO-6212
URL: https://issues.apache.org/jira/browse/GERONIMO-6212
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: CORBA
Affects Versions: 3.0
Reporter: Jarek Gawor
Starting the IBM JDK with -Xhealthcenter option does not work. The following
error is generated:
Nov 16, 2011 12:38:24 PM
com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean startMBeanServer
SEVERE: Health Center agent failed to start.
Throwable occurred: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
at
javax.management.remote.rmi.RMIIIOPServerImpl.export(RMIIIOPServerImpl.java:62)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:399)
at
com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean.startMBeanServer(HCLaunchMBean.java:537)
at
com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean$JmxStarterThread.run(HCLaunchMBean.java:252)
Caused by: org.omg.CORBA.INITIALIZE: Can not create PortableRemoteObject
delegate: org.apache.yoko.rmi.impl.PortableRemoteObjectImpl: vmcid: 0x0 minor
code: 0x0 completed: No
at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:39)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
... 4 more
Caused by: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:37)
... 6 more
Caused by: org.omg.CORBA.INITIALIZE: Can not create Util delegate:
org.apache.yoko.rmi.impl.UtilImpl: vmcid: 0x0 minor code: 0x0 completed: No
at javax.rmi.CORBA.Util.<clinit>(Util.java:48)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
... 7 more
Caused by: java.lang.ClassNotFoundException: org.apache.yoko.rmi.impl.UtilImpl
at
org.apache.yoko.rmispec.util.UtilLoader.loadClass(UtilLoader.java:163)
at javax.rmi.CORBA.Util.loadClass(Util.java:86)
at javax.rmi.CORBA.Util.<clinit>(Util.java:46)
... 9 more
Nov 16, 2011 12:38:24 PM
com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean startAgent
INFO: Health Center agent did not start correctly.
Nov 16, 2011 12:38:24 PM
com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean startAgent
INFO: Agent version "1.3.0.20101014"
To get this exception ensure that the java.util.logging.config.file system
property is NOT set in the geronimo script.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira