activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssharma6 <smritishar...@hotmail.com>
Subject Can ActiveMQ 5.2 be used as JMS provider for BO dataservices JMS adapter?
Date Wed, 06 Jan 2010 05:55:03 GMT

We are trying setup a JMS Adapter in BO Data Services 12.1 that would connect
to a Apache ActiveMQ via Put Operation. 
The details of the products and settings/configurations are given below: 
Product: Business Objects Data Services 12.1 

JMS Provider: Apache ActiveMQ 5.2(pre requisites: JDK 1.4.x and above) 
Error Description: The error occurs in specifying the queue name saying"JMS
ADAPTER ERROR: ERROR IN GETTING THE QUEUE.:
javax.naming.NameNotFoundException: Queue.MyQueue".All other settings seem
to be fine. 
The same settings work when trying to create a queue dynamically at the
ActiveMQ server. The queue get created and the Adapter instance starts
successfully. 
The configuration details are: 
Adapter Instance: 

The jar file "E:\apache-activemq-5.2.0\activemq-all-5.2.0.jar" is included
in the Classpath 

Configuration Type =JNDI 

Server URL = tcp://10.133.10.28:61616 (ActiveMQ server) 

JNDI Context =org.apache.activemq.jndi.ActiveMQInitialContextFactory 

Queue Connection Factory =QueueConnectionFactory 

Operation Instance: 

Operation Type: Request/Acknowledge using queues 

Destination Queue =Queue.MyQueue (A queue with this name has been created at
ActiveMQ server) 
The JMSAdapterTest.properties is set as: 

ServerUrl=tcp://10.133.10.28:61616 (this is the ActiveMQ server) 

JndiFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory 

QueueConnectionFactoryName=QueueConnectionFactory 

QueuePutName=Queue.MyQueue 

PersistentMessage=true 
Information required is: 

1) Is Business Objects Data Services 3.1 compatible with Apache ActiveMQ
5.2(based on different versions of JMS implementation) 

2) If yes, what could be the possible reason to get the said error? The
ActiveMQ document says "javax.naming.NamingException" usually means the
jndi.properties file is not accessible. Where to locate "jndi.properties"
file and how to set it? 

3) Any additional settings required to be changed or added?
-- 
View this message in context: http://old.nabble.com/Can-ActiveMQ-5.2-be-used-as-JMS-provider-for-BO-dataservices-JMS-adapter--tp27026785p27026785.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message