-
1. Re: JMS Queue Exception on Deploy in JBoss AS 6
ngoodman310 Sep 1, 2010 1:26 PM (in response to ngoodman310)I have also tried deploying a service.xml file based upon the template; this file gives a similiar error:
java.lang.ClassNotFoundException: org.jboss.jms.server.destination.QueueService from BaseClassLoader@465395a0{vfs:///C:/jboss/jboss-6.0.0.20100721-M4/server/default/deploy/rational-pipe-jms-v2-service.xml}
contents of new -service.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!-- based upon ${JBOSS_HOME}\docs\examples\varia\deployment-service\templates\jms-queue\vm\jms-queue.xml -->
<server>
<loader-repository>jboss.messaging:loader=ScopedLoaderRepository
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
<mbean
code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:name=MessageHubQueue,service=Queue"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<attribute name="JNDIName">rbs.envoy.MessageHubQueue</attribute></mbean>
<mbean
code="org.jboss.jms.server.destination.TopicService"
name="jboss.messaging.destination:name=AdminTopic,service=Topic"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<attribute name="JNDIName">rbs.administration.AdminTopic</attribute></mbean>
</server> -
2. Re: JMS Queue Exception on Deploy in JBoss AS 6
jaikiran Sep 1, 2010 1:34 PM (in response to ngoodman310)JBoss AS6 comes with HornetQ (and doesn't ship with JBoss Messaging). The queue/topic definitions are different now. See if this helps http://community.jboss.org/message/559423#559423
-
3. Re: JMS Queue Exception on Deploy in JBoss AS 6
peterj Sep 1, 2010 1:38 PM (in response to ngoodman310)1 of 1 people found this helpful>>org.jboss.mq.server.jmx.Queue
This is a JBossMQ class. JBossMQ was last used in JBoss AS in the 4.2.3 release.
>>org.jboss.jms.server.destination.QueueService
This is a JBoss Messaging class, which was used in AS 5.x and early milestones of AS 6. So the question is, which milestone of AS 6 are you running? The most recent milestone uses Hornet MQ.
-
4. Re: JMS Queue Exception on Deploy in JBoss AS 6
ngoodman310 Sep 1, 2010 2:17 PM (in response to jaikiran)Good call, used the link and came up with a working queue. For those interested, the xml file looks like:
<configuration xmlns="urn:hornetq"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
si:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
<queue name="MessageHubQueue">
<entry name="rbs.envoy.MessageHubQueue"/>
</queue>
<topic name="AdminTopic">
<entry name="rbs.administration.AdminTopic"/>
</topic>
</configuration>
-
5. Re: JMS Queue Exception on Deploy in JBoss AS 6
ngoodman310 Sep 1, 2010 2:18 PM (in response to peterj)Question was answered, but I am using version 6.0.0.20100721-M4, which uses hornetq.