5 Replies Latest reply on Oct 5, 2003 3:49 AM by Adrian Brock

    StateManager not registred

    Kari Kesänen Newbie

      Hi,

      I have seen this same question earlier also but no one answered. After appserver run some time (at least 30 mins) I cannot login new client anymore. I will get message below when client tries to connect JMS. Funny thing is that existing JMS connections still work.

      2003-10-01 08:25:50,825 ERROR [org.jboss.mq.sm.file.DynamicLoginModule] Failed to load DynamicSecurityManager
      javax.management.InstanceNotFoundException: jboss.mq:service=StateManager is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354)
      at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:445)

        • 1. Re: StateManager not registred
          Adrian Brock Master

          What do you see in log/server.log for that MBean?

          Regards,
          Adrian

          • 2. Re: StateManager not registred
            Kari Kesänen Newbie

            Do you mean StateManager? Last thing that concerns StateManager before instance not found problem is:

            2003-10-03 07:49:12,513 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean, name: jboss.mq:service=StateManager, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=jbossmq-service.xml

            - Kari

            • 3. Re: StateManager not registred
              Adrian Brock Master

              Which version of jboss do you have and post the full
              stacktrace.

              Regards,
              Adrian

              • 4. Re: StateManager not registred
                Kari Kesänen Newbie

                I am using JBoss 3.2.1.

                StackTrace:

                2003-10-05 12:32:13,136 ERROR [org.jboss.mq.sm.file.DynamicLoginModule] Failed to load DynamicSecurityManager
                javax.management.InstanceNotFoundException: jboss.mq:service=StateManager is not registered.
                at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354)
                at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:445)
                at org.jboss.mq.sm.file.DynamicLoginModule.initialize(DynamicLoginModule.java:53)
                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:324)
                at javax.security.auth.login.LoginContext.invoke(LoginContext.java:662)
                at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
                at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
                at java.security.AccessController.doPrivileged(Native Method)
                at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
                at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
                at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:462)
                at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:417)
                at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:244)
                at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:219)
                at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:157)
                at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:51)
                at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:650)
                at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:288)
                at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:328)
                at java.lang.Thread.run(Thread.java:534)
                2003-10-05 12:32:13,152 WARN [org.jboss.mq.il.oil.OILServerILService] Client request resulted in a server exception:
                javax.jms.JMSSecurityException: User: null is NOT authenticated
                at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:181)
                at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:51)
                at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:650)
                at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:288)
                at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:328)
                at java.lang.Thread.run(Thread.java:534)

                - Kari

                • 5. Re: StateManager not registred
                  Adrian Brock Master

                  You have probably created your own MBeanServer which
                  won't have this MBean.
                  This problem was fixed in 3.2.2RC1

                  Regards,
                  Adrian