ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ActiveMQ Integration Issue

Post new topic  Reply to topic
 ActiveMQ Integration Issue « View previous topic :: View next topic » 
Author Message
mqued
PostPosted: Wed Feb 22, 2017 2:08 am    Post subject: ActiveMQ Integration Issue Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 22, 2017 4:45 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You don't use a .jndi file.

https://www.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/bn28736_.htm
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
mqued
PostPosted: Thu Feb 23, 2017 12:24 am    Post subject: Reply with quote

Novice

Joined: 27 Feb 2013
Posts: 14

Thanks

Works like a charm!

Was following the article here https://www.ibm.com/developerworks/websphere/library/techarticles/1211_eswarachary/1211_eswarachary.html
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 23, 2017 5:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mqued wrote:
Thanks

Works like a charm!

Was following the article here https://www.ibm.com/developerworks/websphere/library/techarticles/1211_eswarachary/1211_eswarachary.html


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
View user's profile Send private message
mqued
PostPosted: Tue Mar 14, 2017 9:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 15, 2017 4:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ActiveMQ Integration Issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.