Support Article
Unable to add a node on System Management Application
SA-58159
Summary
Unable to add a node on System Management Application (SMA).
Pega 7.3.1 is running on JBoss 6.
Error Messages
DEBUG [com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor] (http-/127.0.0.1:8280-1) Error calling method through OGNL: object: [com.pega.jmx.ui.action.AuthenticateAction@716e3ff] method: [execute] args: [[]]: com.pega.jmx.ui.util.JMXClientException: No MBeans found for the node <b>my_newNode</b>
at com.pega.jmx.ui.util.JMXClientException.wrap(JMXClientException.java:49) [prjmxui-7.3.1-218.jar:7.3.1-218]
at com.pega.jmx.ui.action.AuthenticateAction.execute(AuthenticateAction.java:302) [prjmxui-7.3.1-218.jar:7.3.1-218]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144]
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:871) [ognl-3.1.10.jar:]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1537) [ognl-3.1.10.jar:]
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68) [ognl-3.1.10.jar:]
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117) [xwork-core-2.3.34.jar:2.3.34]
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108) [xwork-core-2.3.34.jar:2.3.34]
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1613) [ognl-3.1.10.jar:]
at ognl.ASTMethod.getValueBody(ASTMethod.java:91) [ognl-3.1.10.jar:]
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) [ognl-3.1.10.jar:]
at ognl.SimpleNode.getValue(SimpleNode.java:258) [ognl-3.1.10.jar:]
at ognl.Ognl.getValue(Ognl.java:467) [ognl-3.1.10.jar:]
at ognl.Ognl.getValue(Ognl.java:431) [ognl-3.1.10.jar:]
at com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:362) [xwork-core-2.3.34.jar:2.3.34]
at com.open_your_app.xwork2.abc.xyzUtil.compileAndExecuteMethod(OgnlUtil.java:414) [xwork-core-2.3.34.jar:2.3.34]
at com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:360) [xwork-core-2.3.34.jar:2.3.34]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:430) [xwork-core-2.3.34.jar:2.3.34]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:290) [xwork-core-2.3.34.jar:2.3.34]
Steps to Reproduce
Configure a node from SMA. Unable to add the node.
Root Cause
Native management interface was introduced in JBoss 6. This interface used the JBoss Remoting protocol instead of the Remote Method Invocation (RMI). Consequently, Java Management Extensions (JMX) connection through RMI was not enabled by default.
Resolution
Perform the following local-change:
- Include <module name="org.jboss.remoting-jmx" slot="main"/> in the below element to modify the standalone-full.xml.
<subsystem xmlns="urn:jboss:domain:ee:1.2">
<global-modules>
<module name="com.oracle"/>
<module name="org.jboss.remoting-jmx" slot="main"/>
</global-modules>
<spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
<jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
<annotation-property-replacement>false</annotation-property-replacement>
</subsystem>
- In Remote Connection, set the Server URL to server:jmx:remoting-jmx://aaa.bbb.c.dddd:9999
14:21:55,783 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on localhost:9999
Published November 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.