Dear all,
I have an exception when trying to access the Mbean of Glassfish server through JMX:
With a JConsole is working fine but here i am using the UC4 scheduler JMX executor i got the following message.
Do you have any idea on that matter?
Best Regards,
Ludovic Duvetter
Sun Java System Application Server 9.1 (build b58g-fcs)
20090204/135315.981 - java.lang.SecurityException: Invalid credentials specified for administrative user
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.throwInvalidCredentialsException(ASJMXAuthenticator.java:120)
at com.sun.enterprise.admin.server.core.jmx.auth.ASJMXAuthenticator.authenticate(ASJMXAuthenticator.java:89)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:214)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2239)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:271)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.uc4.ex.jmx.RemoteConnection.<init>(Unknown Source)
at com.uc4.ex.jmx.JCLConsumerImpl.setAttributes(Unknown Source)
at com.uc4.ex.FormsJob.<init>(Unknown Source)
at com.uc4.ex.Executor.dispatch(Unknown Source)
at com.uc4.ex.Executor.doWork(Unknown Source)
at com.uc4.ex.Executor.startExecutor(Unknown Source)
at com.uc4.ex.Executor.run(Unknown Source)
at com.uc4.ex.jmx.UCXJMX.main(Unknown Source)
[Message sent by forum member 'luduve' (luduve)]
http://forums.java.net/jive/thread.jspa?messageID=330064