Author |
Message
|
mqued |
Posted: Wed Feb 22, 2017 2:08 am Post subject: ActiveMQ Integration Issue |
|
|
Novice
Joined: 27 Feb 2013 Posts: 14
|
Hi Team,
We are facing an issue with JMSInput node while integrating with ActiveMQ. Did some searching and tried the suggestions in other posts but no luck. The error displayed in the user trace is as below
Code: |
UserTrace BIP12034E: Failed to find JNDI definition for connection factory ''connectionFactory''.
The node cannot obtain a JNDI Administered Object, because some of the values specified are incorrect. The JMS Exception text is: ''connectionFactory''.
Check the JNDI Administered configuration for the JMS provider used by the node.
Either:
Modify the JNDI Administered objects and rebuild the bindings
or
Change the Configurable Service attributes associated with this JMS Provider and restart the execution group
or
Change the node attributes and redeploy the message flow.
|
Have created a jndi file , added it in a jar file and copied in shared-classes folder along with the active mq jar file.
Jndi File is as below:
Code: |
java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url = vm://localhost
connectionFactoryNames = connectionFactory
queue.jmsInQ = IN.REG
queue.jmsOUTQ = OUT.REG
|
JmsInput node properties are as below
Code: |
JmsProvider : ActiveMQ
InitialContext:org.apache.activemq.jndi.ActiveMQInitialContextFactory
Location JNDI Bindings: tcp://localhost:61616
Connection Factory : connectionFactory
Source Queue: jmsInQ
|
Appreciate any guidance on this.
WMB version is 8.0.0.1
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 22, 2017 4:45 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
mqued |
Posted: Thu Feb 23, 2017 12:24 am Post subject: |
|
|
Novice
Joined: 27 Feb 2013 Posts: 14
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 23, 2017 5:22 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
While Chary is an extremely good source of information in general, that article is from 2012, when Broker may not have directly supported ActiveMQ as a configurable service. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
mqued |
Posted: Tue Mar 14, 2017 9:55 pm Post subject: |
|
|
Novice
Joined: 27 Feb 2013 Posts: 14
|
Agreed...
Is it possible to configure multiple Active MQ end points with configurable services? Scenarios when we have to connect to multiple Active MQ servers from a single source server.. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 15, 2017 4:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mqued wrote: |
Agreed...
Is it possible to configure multiple Active MQ end points with configurable services? Scenarios when we have to connect to multiple Active MQ servers from a single source server.. |
How many configurable services can you create?
How many configurable services can you use in a given transformation node? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|