JBoss ON Agent Handshake error checking availability on Fuse JMX/SSL
Issue
- Fuse server shows DOWN in JBoss ON with below message in agent.log:
2016-07-13 08:52:36,413 WARN [ResourceContainer.invoker.daemon-3] (org.jbosson.plugins.fuse.JBossFuseContainerComponent)- Failed to connect to ResourceType[id=0, name=JBoss Fuse Container, plugin=JBossFuse, category=Server][JBoss Fuse{/opt/jboss/fuse}].
org.mc4j.ems.connection.EmsConnectException: Could not connect [service:jmx:rmi://0.0.0.0:55555/jndi/rmi://0.0.0.0:1099/karaf-root] org.mc4j.ems.connection.EmsConnectException: IOException: Check service availability
at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:106)
at org.jbosson.plugins.fuse.FuseServerComponent.internalStart(FuseServerComponent.java:137)
at org.jbosson.plugins.fuse.FuseServerComponent.start(FuseServerComponent.java:68)
at org.jbosson.plugins.fuse.JBossFuseContainerComponent.start(JBossFuseContainerComponent.java:68)
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:759)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.mc4j.ems.connection.EmsConnectException: IOException: Check service availability
at org.mc4j.ems.impl.jmx.connection.support.providers.JMXRemotingConnectionProvider.doConnect(JMXRemotingConnectionProvider.java:162)
at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:101)
... 11 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:304)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2432)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
at org.mc4j.ems.impl.jmx.connection.support.providers.JMXRemotingConnectionProvider.doConnect(JMXRemotingConnectionProvider.java:143)
... 12 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Regards,
Environment
- Red Hat JBoss Operations Network (ON) 3.3
- Red Hat JBoss Fuse 6.2.1 with SSL enabled on JMX
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.