You're using the real topic name, not the JNDI name.

Try --topic=MyTopic

The example code shows how to lookup in JNDI from that configuration file...
http://activemq.apache.org/jndi-support.html

On 07/12/2007, manish_mk <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I am trying to integrated ActiveMQ with Coral8, when I run following command
> I am getting the errors as shown below, I am wondering if I am doing
> anything wrong.
>
> java com.coral8.adapter.JMSOutputAdapter --factoryName=topicConnectionFactry
> --factoryClass=org.apache.activemq.jndi.ActiveMQInitialContextFactory
> --url=ccl://localhost:6789/Stream/Default/AlgorithmicTrading/StreamOutAlerts
> --host=localhost --port=61616 --topic=example.MyTopic
> Connecting to CPX server...
> Opening a subscription...
> Naming exception caught:javax.naming.NameNotFoundException: example.MyTopic
> Connecting to CPX server...
> Opening a subscription...
> Naming exception caught:javax.naming.NameNotFoundException: example.MyTopic
> Connecting to CPX server...
> Opening a subscription...
> Naming exception caught:javax.naming.NameNotFoundException: example.MyTopic
> Connecting to CPX server...
> Opening a subscription...
> Naming exception caught:javax.naming.NameNotFoundException: example.MyTopic
> Connecting to CPX server...
> Opening a subscription...
> Naming exception caught:javax.naming.NameNotFoundException: example.MyTopic
> Connecting to CPX server...
> Opening a subscription...
> Naming exception caught:javax.naming.NameNotFoundException: example.MyTopic
> Connecting to CPX server...
> Opening a subscription...
> Naming exception caught:javax.naming.NameNotFoundException: example.MyTopic
> Connecting to CPX server...
>
> I have configured JNDI as per the tutorial
> http://activemq.apache.org/jndi-support.html given by AcviteMQ.
>
> Can anybody please help me in resloving this issue.
>
> Thanks and Regards,
> Manish
> --
> View this message in context: 
> http://www.nabble.com/ActiveMQ-and-Coral8-integration-tf4960483s2354.html#a14207504
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to