I use Oracle persistence manager and a custom ldap login module. With this setup, the stateManager seems to do nothing. But if I try to remove it I got an exception
15:39:13,700 ERROR [DestinationManager] Starting failed jboss.mq:service=DestinationManager javax.management.InstanceNotFoundException: null object name at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:449) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:433) at org.jboss.mq.server.jmx.DestinationManager.startService(DestinationManager.java:347) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)...