on 12-01-2023 9:06 PM
Hi,
I am unable to configure JMX, getting a failure message: 'JMX Configuration validation failed for this node. Check Port and authentication options and try again.
I checked the port RMI Registry port 10001 and RMI Server port 10002 listening on cmd.
Thanks
Thanks, Daya,
I have followed the steps mentioned in the https://www.youtube.com/watch?v=_zROkmbv78s&t=329s. I am using Tomcat9. I tested the port, and it is listening. All the above steps are already done.
C:\Windows\system32>netstat -noa | findstr 10001
TCP IPADDRESS:10001 0.0.0.0:0 LISTENING 14316
C:\Windows\system32>netstat -noa | findstr 10002
TCP IPADDRESS:10002 0.0.0.0:0 LISTENING 14316
and Server XML also has entries.
<Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" rmiRegistryPortPlatform="10001" rmiServerPortPlatform="10002" rmiBindAddress="MYBOE" />
I have validated the hostAgent Settings and JMX setting.
but still get this error
==================================================================================
Starting Report Processing...
==================================================================================
Server and Services Report : SUCCESS!
Content Analysis Report : SUCCESS!
Schedule Analysis Report : SUCCESS!
Exception in thread "main" java.lang.SecurityException: Authentication failed! Invalid username or password
at com.sun.jmx.remote.security.JMXPluggableAuthenticator.authenticationFailure(JMXPluggableAuthenticator.java:226)
at com.sun.jmx.remote.security.JMXPluggableAuthenticator.authenticate(JMXPluggableAuthenticator.java:203)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:232)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:199)
at javax.management.remote.rmi.RMIJRMPServerImpl$ExportedWrapper.newClient(RMIJRMPServerImpl.java:253)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:836)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:163)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:235)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:180)
at com.sun.proxy.$Proxy39.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2430)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
at com.sap.ps.bitool.data.AppServerExtractor.extractTomcatProperties(AppServerExtractor.java:181)
at com.sap.ps.bitool.data.AppServerExtractor.run(AppServerExtractor.java:145)
at com.sap.ps.bitool.schedule.ScheduledRun.processAppServer(ScheduledRun.java:1303)
at com.sap.ps.bitool.schedule.ScheduledRun.startLandscapeDataExtraction(ScheduledRun.java:555)
at com.sap.ps.bitool.schedule.ScheduledRun.run(ScheduledRun.java:176)
at com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper.main(ProgramWrapper.java:174)
Caused by: javax.security.auth.login.FailedLoginException: Invalid username or password
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.