Import RHQ Server into inventory and notice the child resource "RHQ Server Subsystems" is DOWN. ERROR [Remoting "endpoint" read-1] (org.xnio.listener)- A channel event listener threw an exception java.lang.NoClassDefFoundError: Could not initialize class org.jboss.sasl.digest.DigestMD5Client at org.jboss.sasl.digest.DigestMD5ClientFactory.createSaslClient(DigestMD5ClientFactory.java:41) at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities$1.run(ClientConnectionOpenListener.java:428) According to tsegismont, we need to fix: org.rhq.plugins.server.JBossAS7JMXDiscoveryComponent
see https://community.jboss.org/message/875127#875127 for background
Does not apply to 4.11, only 4.12-SNAPSHOT
https://github.com/rhq-project/rhq/pull/74
I've just updated the pull request, it was a "stupid" line forgotten: it's one thing to define a connection type class with "jboss-client.jar" as additional classpath entry, but it's inoperative until you tell EMS where to look from (library URI). There's one last thing to tackle before closing the PR: the "RHQ Server Plugin Subsystem" service does not show up. The reason is the lookup name is wrong: <plugin-configuration> <c:simple-property name="objectName" default="rhq.serverplugin:service=ServerPluginService" readOnly="true" /> but public interface ServerPluginServiceMBean { String OBJECT_NAME_STR = "rhq:service=ServerPluginService"; It was changed by this commit from Jay: https://github.com/rhq-project/rhq/commit/e821bedb1222fccc5e5b65003136a0923cee9710 What should we do? Update the plugin descriptor or change the MBean name?
(In reply to Thomas Segismont from comment #4) > There's one last thing to tackle before closing the PR: the "RHQ Server > Plugin Subsystem" service does not show up. The reason is the lookup name is > wrong: > ... > What should we do? Update the plugin descriptor or change the MBean name? I dont know why it was changed - I put all the MBean services together grouped by functionality in their own domain names (hence why this is rhq.serverplugins... How long has it been changed? I would change it back the way it was just to maintain consistency with prior versions unless its been like this for a long time, if so, then change the descriptor.
> I dont know why it was changed - I put all the MBean services together > grouped by functionality in their own domain names (hence why this is > rhq.serverplugins... How long has it been changed? I would change it back > the way it was just to maintain consistency with prior versions unless its > been like this for a long time, if so, then change the descriptor. It's in RHQ since 4.6. Commit authored on Sep,12 2012
Fixed in master commit 838707cfe106fac768adf8a1d83a6806baf41440 Author: Thomas Segismont <tsegismo> Date: Mon Jul 7 19:08:14 2014 +0200 Use isolated classloader
Bulk close of items fixed in RHQ 4.12 If you think this is not solved, then please open a *new* BZ and link to this one.