3 Replies Latest reply on Dec 4, 2012 3:33 AM by welle

    Problem reading MBean: jboss.jsr77:j2eeType=WebModule,name=MyWar.war,J2EEServer=default

    welle

      Hi all!

       

      I'm getting the following exception while asking the MBean server for the classname implementing "jboss.jsr77:j2eeType=WebModule,name=MyWar.war,J2EEServer=default".

      It should be a legal call I believe.

       

      java.lang.IllegalStateException: JBAS019905: Should not get called

          at org.jboss.as.jsr77.managedobject.J2EEDeployedObjectHandlers$J2EEModuleHandler.queryObjectNames(J2EEDeployedObjectHandlers.java:245)

          at org.jboss.as.jsr77.managedobject.BaseHandler.getMBeanInfo(BaseHandler.java:64)

          at org.jboss.as.jsr77.managedobject.J2EEDeployedObjectHandlers.getMBeanInfo(J2EEDeployedObjectHandlers.java:147)

          at org.jboss.as.jsr77.managedobject.ManagedObjectHandlerRegistry.getMBeanInfo(ManagedObjectHandlerRegistry.java:112)

          at org.jboss.as.jsr77.subsystem.JSR77ManagementMBeanServer.getMBeanInfo(JSR77ManagementMBeanServer.java:179)

          at org.jboss.as.jmx.PluggableMBeanServerImpl.getMBeanInfo(PluggableMBeanServerImpl.java:212)

       

      I'm getting the same error using JConsole to browse the same MBean.

       

      Thought I ask the community for feedback before I create a Jira as I was surprised that I couldn't find anyone else having the same problem using good old "google".

       

      PS. Running JBoss AS 7.1.3. DS.