You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 19:11:52 UTC

[jira] [Created] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

-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

        

[jira] [Assigned] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

Posted by "Forrest Xia (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia reassigned GERONIMO-6212:
-------------------------------------

    Assignee: Forrest Xia
    
> -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
>            Assignee: Forrest Xia
>
> 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

        

[jira] [Commented] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

Posted by "Forrest Xia (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153812#comment-13153812 ] 

Forrest Xia commented on GERONIMO-6212:
---------------------------------------

I cannot reproduce this problem on my ubuntu 64 box(-Xhealthcenter can enable, not tried ISA workbench yet). However, it's reproduceable on my win 7, and this problem is in G 2.1.x and 2.2.x as well.

For G 2.x, healthcenter could be enabled by copying all yoko impl jars and bcel jar to geronimo_home/lib/endorsed, but for G 3, it does not work. Even G 2.x is enabled with -Xhealthcenter, the ISA tool still cannot connect to the jvm to collect data. So only the headless way works.

I tried the troubleshooting instruction from ibm health center infocenter:
http://publib.boulder.ibm.com/infocenter/hctool/v1r0/topic/com.ibm.java.diagnostics.healthcenter.doc/com.ibm.java.diagnostics.healthcenter.gui/docs/troubleshooting/hc_and_was_ce.html

But it does not work for G 3. Will investigate more for this issue on G 3...

                
> -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
>            Assignee: Forrest Xia
>
> 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

        

[jira] [Commented] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

Posted by "Forrest Xia (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153814#comment-13153814 ] 

Forrest Xia commented on GERONIMO-6212:
---------------------------------------

I think, IBM jvm option -Xhealthcenter requires a corba service to function, and the corba service must be available when jvm is beginning, it's hard for G 3 to make yoko service available when the server jvm is just beginning to launch. On the other hand, G 3 corba service only functions in an OSGi environment, even put all required jars into the endorsed directory, it still cannot function well that -Xhealthcenter feature requires.

Here is a way to enable headless way for G 3:
1. Modify jre/lib/healthcenter.properties, add or update as following:
com.ibm.java.diagnostics.healthcenter.data.collection.level=headless
com.ibm.java.diagnostics.healthcenter.headless.output.directory=C:\\temp
2. Start server with -Xhealthcenter
3. After server started, do some operation on server
4. Shutdown the server, the healthcenter.hcd will be generated in c:\temp
5. Use ISA workbench to view the data
                
> -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
>            Assignee: Forrest Xia
>
> 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

        

[jira] [Commented] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

Posted by "Forrest Xia (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154941#comment-13154941 ] 

Forrest Xia commented on GERONIMO-6212:
---------------------------------------

Correct some things previously posted. The -Xhealthcenter option functions via RMI/IIOP, not require corba service actually. For Geronimo corba/rmi impl., we add two spec jars into geronimo_home/lib/endorsed, those jars lead the exceptions when healthcenter agent is enabled for the geronimo jvm.

So the work around for this issue is to disable corba function totally by doing:
1. Remove the YOKO RMI and CORBA spec jars from geronimo_home/lib/endorsed folder
2. Comment out corba related modules(default is running) from config.xml
 <module name="org.apache.geronimo.configs/openejb-corba-deployer/<version>/car"/>
 <module name="org.apache.geronimo.configs/j2ee-corba-yoko/<version>/car" />

Then we can start Geronimo with healthcenter enabled, start ISA GUI tool to connect to that jvm to collect data. 

Obviously, if the scenario requires CORBA, this work around won't work.
                
> -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
>            Assignee: Forrest Xia
>
> 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

        

[jira] [Resolved] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

Posted by "Forrest Xia (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia resolved GERONIMO-6212.
-----------------------------------

       Resolution: Won't Fix
    Fix Version/s: 3.0

Since it has a work around, so set it to Won't Fix.
                
> -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
>            Assignee: Forrest Xia
>             Fix For: 3.0
>
>
> 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

        

[jira] [Commented] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

Posted by "Forrest Xia (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152159#comment-13152159 ] 

Forrest Xia commented on GERONIMO-6212:
---------------------------------------

Jarek, Can you describe how to reproduce this issue step by step? thanks!
                
> -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
>            Assignee: Forrest Xia
>
> 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

        

[jira] [Commented] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK

Posted by "Jarek Gawor (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152207#comment-13152207 ] 

Jarek Gawor commented on GERONIMO-6212:
---------------------------------------

Sure.

1) export JAVA_OPTS=-Xhealthcenter 
2) Modify $GERONIMO_HOME/bin/geronimo and ensure that java.util.logging.config.file system property is not passed to the Java command.
3) Start server with IBM JDK.

                
> -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
>            Assignee: Forrest Xia
>
> 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