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:
| [EMAIL PROTECTED] {
url=file:/F:/jboss-4.0.4.GA/server/messaging/deploy/my.ear/ }
| deployer: [EMAIL PROTECTED]
| 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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user