activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manish_mk <manish...@yahoo.com>
Subject Re: ActiveMQ and Coral8 integration
Date Fri, 07 Dec 2007 07:08:20 GMT

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 <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
> 
> 

-- 
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.


Mime
View raw message