Skip to main content

developerWorks >  WebSphere  >  Forums  >  IBM Monitoring and Diagnostic Tools for Java™ - Health Center  >  developerWorks

HealthCenter and Jonas    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is answered.

Permlink Replies: 3 - Pages: 1 - Last Post: Sep 30, 2009 1:23 PM Last Post By: berdugo Threads: [ Previous | Next ]
berdugo

Posts: 3
Registered: Jan 21, 2009 05:55:03 AM
HealthCenter and Jonas
Posted: Sep 30, 2009 11:59:37 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

we're trying to use HealthCenter with Jonas 4.10.4 under AIX 6.1 using IBM's Java 1.6 SR5 SDK (with the latest agent). Unfortunately, the agent won't start due to the following error:

com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean startMBeanServer
SEVERE: Health Center agent failed to start.
Throwable occurred: java.io.IOException: Cannot bind to URL rmi://activapp:/jmxrmi: javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory} http://Root exception is java.lang.NullPointerException
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:815)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:428)
at com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean.startMBeanServer(HCLaunchMBean.java:413)
at com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean$JmxStarterThread.run(HCLaunchMBean.java:205)
Caused by: javax.naming.NoInitialContextException: Failed to create InitialContext using factory specified in hashtable {java.naming.factory.initial=org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory} http://Root exception is java.lang.NullPointerException
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:238)
at javax.naming.InitialContext.initializeDefaultInitCtx(InitialContext.java:322)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:352)
at javax.naming.InitialContext.internalInit(InitialContext.java:290)
at javax.naming.InitialContext.<init>(InitialContext.java:207)
at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:630)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:423)
... 2 more
Caused by: java.lang.NullPointerException
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:230)
... 8 more
Sep 30, 2009 5:00:52 PM com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean startAgent
INFO: Health Center agent did not start correctly.

Obviously the problem is with the Jonas JNDI factory, I could probably change java.naming.factory.initial but I'm pretty sure Jonas wouldn't be happy with that.

Thanks
berdugo

Posts: 3
Registered: Jan 21, 2009 05:55:03 AM
Re: HealthCenter and Jonas
Posted: Sep 30, 2009 12:02:09 PM   in response to: berdugo in response to: berdugo's post
 
Click to report abuse...   Click to reply to this thread Reply
The URL was edited in the log and should read:
rmi://activapp:/jmxrmi:1942
Holly_Cummins

Posts: 22
Registered: Oct 02, 2008 07:44:53 AM
Re: HealthCenter and Jonas
Posted: Sep 30, 2009 12:41:13 PM   in response to: berdugo in response to: berdugo's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

Unfortunately you've hit a known problem. Luckiky, we do have a fix which allows the Health Center to work with Jonas. That fix will be available as an agent upgrade in the next Health Center release and in the next Java service refresh.
berdugo

Posts: 3
Registered: Jan 21, 2009 05:55:03 AM
Re: HealthCenter and Jonas
Posted: Sep 30, 2009 01:23:26 PM   in response to: Holly_Cummins in response to: Holly_Cummins's post
 
Click to report abuse...   Click to reply to this thread Reply
Do you know when the next release is due?
Thanks
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums