Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A9B7A9E9C for ; Sun, 20 Nov 2011 14:54:13 +0000 (UTC) Received: (qmail 3353 invoked by uid 500); 20 Nov 2011 14:54:13 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 3298 invoked by uid 500); 20 Nov 2011 14:54:13 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 3291 invoked by uid 99); 20 Nov 2011 14:54:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2011 14:54:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2011 14:54:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D44D3919C6 for ; Sun, 20 Nov 2011 14:53:51 +0000 (UTC) Date: Sun, 20 Nov 2011 14:53:51 +0000 (UTC) From: "Forrest Xia (Commented) (JIRA)" To: dev@geronimo.apache.org Message-ID: <1422080741.49037.1321800831870.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <152607974.35671.1321467112206.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GERONIMO-6212) -Xhealthcenter does not work on IBM JDK MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(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.(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.(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.(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