activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RJtokenlanring <>
Subject JBOSS and activeMQ - JNDI lookup
Date Mon, 30 Nov 2009 15:40:10 GMT

Hi, after integrating activeMQ into JBOSS, I've tried the JNDI lookup. I
followed the istructions from:
but I have some problems. Here is the error:

ERROR [main] - javax.naming.NameNotFoundException: topic/RawDataTopic

when i try: Topic topic = (Topic) context.lookup("topic/RawDataTopic");

but as you can see from AS log, 

16:27:21,312 INFO  [AdminObject] Bound admin object
'org.apache.activemq.command.ActiveMQQueue' at 'queue/RawDataQueue'
16:27:21,328 INFO  [AdminObject] Bound admin object
'org.apache.activemq.command.ActiveMQTopic' at 'topic/RawDataTopic'

My activemq-jms-ds.xml looks like:

   <mbean code="org.jboss.resource.deployment.AdminObject"
      <attribute name="JNDIName">topic/RawDataTopic</attribute>
      <attribute name="Type">javax.jms.Topic</attribute>

and connection factoies are configured with:


context is configured as:


What is missing?

Thank you and regards
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message