activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: ActiveMQ and Coral8 integration
Date Fri, 07 Dec 2007 06:57:58 GMT
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 <manish_mk@yahoo.com> 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

Mime
View raw message