5 Replies Latest reply on Sep 1, 2010 2:18 PM by Nick Goodman

    JMS Queue Exception on Deploy in JBoss AS 6

    Nick Goodman Newbie

      When I deploy my jms queue and topic, the application server throws the following exception:

      Caused by: java.lang.ClassNotFoundException: org.jboss.mq.server.jmx.Queue from BaseClassLoader@66ae2a84{vfs:///C:/jboss/jboss-6.0.0.20100721-M4/server/default/deploy/rational-pipe-jms-service.xml}

       

       

      This seems odd since that's the mbean class that shows up in all of the online dos and posts.  I wonder if it's been changed in JBoss 6 since I can't find that class in any jar files in my JBoss install, and the jar file that it was in in older versions (jbossmq.jar) isn't part of the version 6 install.

       

      The service xml (rational-pipe-jms-service.xml from the above error) is:

       

      <?xml version='1.0' encoding='UTF-8'?>
           

      <server>
      <mbean
        code="org.jboss.mq.server.jmx.Queue"
        name="jboss.mq.destination:service=Queue,name=MessageHubQueue">
       
        <attribute name="JNDIName">rbs.envoy.MessageHubQueue</attribute>
        <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>

      </mbean>
       
      <mbean
        code="org.jboss.mq.server.jmx.Topic"
        name="jboss.mq.destination:service=Topic,name=AdminTopic">
       
        <attribute name="JNDIName">rbs.administration.AdminTopic</attribute>
        <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>

        </mbean>
       
         
      </server>

       

      I am able to create queues and topics directly within the admin console without a problem.  Any ideas?

       

      thanks,

        Nick