activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marnold <malcolmarn...@gmail.com>
Subject Re: JBoss 5.1.2: Message driven beans are not bound into remote jndi
Date Sun, 26 Feb 2012 12:47:35 GMT
Hi Robin,

I am also foolhardy enough to evaluate ActiveMQ and JBoss 5.1 (Redhat EAP
5.1.2) for our investment banking application...

The equivalent snippet from my log is:

2012-02-26 13:50:54,373 INFO  [org.jboss.resource.deployment.AdminObject]
(main) Bound admin object 'org.apache.activemq.command.ActiveMQQueue' at
'*java:/*activemq/queue/tradeLifecycleEvents'

Note the 'java:' in the JNDI name.  An in my *ds.xml:

   <mbean code="org.jboss.resource.deployment.AdminObject"
name="activemq.queue:name=tradeLifecycleEvents">
      <attribute
name="JNDIName">*java:/*activemq/queue/tradeLifecycleEvents</attribute>
      <depends
optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-ra.rar'</depends>
      <attribute name="Type">javax.jms.Queue</attribute>
      <attribute
name="Properties">PhysicalName=queue.tradeLifecycleEvents</attribute>
   </mbean>

I'm pretty sure you just need to add 'java:/' to your JNDI name.



--
View this message in context: http://activemq.2283324.n4.nabble.com/JBoss-5-1-2-Message-driven-beans-are-not-bound-into-remote-jndi-tp4417786p4422096.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message