[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

Ensonik do-not-reply at jboss.com
Thu Sep 7 08:00:40 EDT 2006


Hi. 

It starts up the example queues and topics fine:
07:50:50,404 INFO  [Queue] Queue[/queue/C] started, fullSize=75000, pageSize=2000, downCacheSize=2000

I then copy the definition for one of those topics to my deployment file:

     <mbean code="org.jboss.jms.server.destination.Topic"
  |         name="jboss.messaging.destination:service=Topic,name=testTopic"
  |         xmbean-dd="xmdesc/Topic-xmbean.xml">
  |         <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  |         <attribute name="SecurityConfig">
  |            <security>
  |               <role name="guest" read="true" write="true"/>
  |               <role name="publisher" read="true" write="true" create="false"/>
  |               <role name="durpublisher" read="true" write="true" create="true"/>
  |            </security>
  |         </attribute>
  |    </mbean>

This will show the following error:

  | org.jboss.deployment.DeploymentInfo at b5701711 { url=file:/F:/jboss-4.0.4.GA/server/messaging/deploy/my.ear/ }
  |   deployer: org.jboss.deployment.EARDeployer at 738a71
  |   status: Deployment FAILED reason: No ClassLoaders found for: org.jboss.jms.server.destination.Topic; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.server.destination.Topic)
  |   state: FAILED
  |   watch: file:/F:/jboss-4.0.4.GA/server/messaging/deploy/my.ear/META-INF/application.xml
  |   altDD: null
  |   lastDeployed: 1157630180754
  |   lastModified: 1157487949404
  |   mbeans:
  | 

My definition file is in an exploded ear file.
my.ear
--META-INF
--myEjb.jar
--myWeb.war


The destinations are defined in a file called myfile-destinations-service.xml which is at the root of the myEjb.jar file/directory.

Thanks for the help.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970070#3970070

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970070



More information about the jboss-user mailing list