[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: mdbtest not bound

Wolfgang Knauf do-not-reply at jboss.com
Mon Feb 9 08:05:20 EST 2009


Hi Jose,

for the "Could not find the queue destination-jndi-name=queue/mdbtest" message: the easiest way of configuring it is to add it to "\server\default\deploy\jms\jbossmq-destinations-service.xml":

<mbean code="org.jboss.mq.server.jmx.Queue"
  | 	 name="jboss.mq.destination:service=Queue,name=MDBTestQueue">
  |     <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
  |     <attribute name="JNDIName">queue/mdbtest</attribute>
  |   </mbean>

For JBoss 5, you MUST specifiy the queue config, because there is no default autocreation possible.

Hope this helps

Wolfgang

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

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



More information about the jboss-user mailing list