0 Replies Latest reply on Feb 14, 2012 4:08 PM by aldo.ortiz

    Problem with jboss.  Values of 'principal' and/or 'credentials' connection properties are invalid.

    aldo.ortiz

      Hi everybody mi Name is Aldo, and I have a really bad problem since a couple of months. I got a farm with several jboss servers. Sometimes I can see them alerted, through the JON console, with not apparently reason. I checked amount of memory and processor but both of them are ok.

       

      Then I tried to access to those jboss through admin_console but I got a message of

       

      log in attempt failed, please try again

       

      What I did next was execute a twiddle.sh command like

       

      ./twiddle.sh --server=jnp://10.0.41.139:1099 --user=admin --password=XXXXXX query *:*

       

       

      15:08:09,396 ERROR [Twiddle] Exec failed

      java.lang.SecurityException: Failed to authenticate principal=admin, securityDomain=jmx-console

          at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:89)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

          at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

          at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)

          at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)

          at sun.rmi.transport.Transport$1.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at sun.rmi.transport.Transport.serviceCall(Unknown Source)

          at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)

          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)

          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

          at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)

          at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)

          at sun.rmi.server.UnicastRef.invoke(Unknown Source)

          at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)

          at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)

          at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)

          at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)

          at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)

          at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)

          at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)

          at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)

          at $Proxy0.queryNames(Unknown Source)

          at org.jboss.console.twiddle.command.MBeanServerCommand.queryMBeans(MBeanServerCommand.java:68)

          at org.jboss.console.twiddle.command.QueryCommand.execute(QueryCommand.java:138)

          at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:306)

       

      Does somebody had a similar problem???????

       

      How did you fix it???????

       

      Thanks a lot