You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by manish_mk <ma...@yahoo.com> on 2007/12/07 07:20:18 UTC

ActiveMQ and Coral8 integration

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.


Re: ActiveMQ and Coral8 integration

Posted by manish_mk <ma...@yahoo.com>.
Thanks for the reply. I have done the changes now I am getting following
error 

Connecting to CPX server...
Opening a subscription...
Naming exception caught:javax.naming.NameNotFoundException:
topicConnectionFactry

My JNDI.properties file has following contains
java.naming.factory.initial =
org.apache.activemq.jndi.ActiveMQInitialContextFactory

# use the following property to configure the default connector
java.naming.provider.url = vm://localhost

# use the following property to specify the JNDI name the connection factory
# should appear as. 
connectionFactoryNames = topicConnectionFactry

# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]
queue.MyQueue = example.MyQueue


# register some topics in JNDI using the form
# topic.[jndiName] = [physicalName]
topic.MyTopic = example.MyTopic

Regards,
Manish

James.Strachan wrote:
> 
> 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 <ma...@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
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQ-and-Coral8-integration-tf4960483s2354.html#a14207915
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQ and Coral8 integration

Posted by James Strachan <ja...@gmail.com>.
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 <ma...@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

Re: ActiveMQ and Coral8 integration

Posted by Hiram Chirino <hi...@hiramchirino.com>.
perhaps a different jndi.properties is being found on the classpath
before the AcitveMQ one.

On Dec 10, 2007 3:55 AM, manish_mk <ma...@yahoo.com> wrote:
>
> Can anybody please reply.
>
> Regards,
> Manish
>
>
> manish_mk 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-tp14207504s2354p14249289.html
>
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

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

Re: ActiveMQ and Coral8 integration

Posted by manish_mk <ma...@yahoo.com>.
Can anybody please reply.

Regards,
Manish

manish_mk 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-tp14207504s2354p14249289.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.