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 » General IBM MQ Support » Connectivity from WMQ Server to TIBCO

Post new topic  Reply to topic Goto page 1, 2  Next
 Connectivity from WMQ Server to TIBCO « View previous topic :: View next topic » 
Author Message
hardcore
PostPosted: Thu Jan 07, 2010 4:03 pm    Post subject: Connectivity from WMQ Server to TIBCO Reply with quote

Novice

Joined: 11 Apr 2005
Posts: 22

Hi,

We have a requirement to write a MQ messages from MQ server to the TIBCO. At TIBCO side TIBCO MQ Series Adapter is being used.

Could anyone pls. post or direct me to the technical details on how to connect the WMQ server to the TIBCO application to write messages.

Thanks
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Jan 07, 2010 4:42 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Is it not within the TIBCO MQSeries Adapter documentation?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Jan 07, 2010 6:31 pm    Post subject: Re: Connectivity from WMQ Server to TIBCO Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

hardcore wrote:
Hi,

We have a requirement to write a MQ messages from MQ server to the TIBCO. At TIBCO side TIBCO MQ Series Adapter is being used.

Could anyone pls. post or direct me to the technical details on how to connect the WMQ server to the TIBCO application to write messages.

Thanks


I think it is the other way around- Tibco process connecting to MQ as a jms app/client.

Tibco can connect to MQ two ways- using adapter. But tibco can also connnect without using adapter. The tibco has jms pallete and they have to provide connection details as your provide to any other app. I do not think the one who is devevloping the tibco process does not know Tibco. If he knows tibco, he knows how to do this.
Back to top
View user's profile Send private message
hardcore
PostPosted: Fri Jan 08, 2010 7:50 am    Post subject: Reply with quote

Novice

Joined: 11 Apr 2005
Posts: 22

Thank you very much experts for your valid response, connectivity using JMS palette will be the right choice for our setup.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Sep 21, 2011 7:21 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

In my case I have a remote Tibco application, which I assume will not be changed in any way.

What is the easiest way to connect to this application and send it the content of MQ messages? I have WMQ 7 and WMB 7 on AIX at my disposal.

How easy is it to connect JMS nodes on WMB to Tibco? Where you do code the userid/password for the Tibco connection?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Sep 21, 2011 7:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

zpat wrote:
In my case I have a remote Tibco application, which I assume will not be changed in any way.

What is the easiest way to connect to this application and send it the content of MQ messages? I have WMQ 7 and WMB 7 on AIX at my disposal.

How easy is it to connect JMS nodes on WMB to Tibco? Where you do code the userid/password for the Tibco connection?


Look up the example with JMS nodes for the broker.
Make sure all the Tibco JMS provider jars are accessible.
Replace where appropriate the MQ stuff with Tibco stuff.... Done
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Thu Sep 22, 2011 1:28 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Nothing is ever that simple

OK, so my JMS Input node has these properties set

Source Queue = XXX
JMS provider = Tibco EMS
Initial context factory = com.tibco.tibjms.naming.TibjmsInitialContextFactory
Location JNDI bindings = tibjmsnaming://xxx.yyy.com:7222
Connection Factory Name = QCF

I have two issues, firstly how/where to code the login credentials? (which in WAS would be called):

java.naming.security.principal
and
java.naming.security.credentials

(is the answer mqsisetdbparms XXX -n jndi::com.tibco.tibjms.naming.TibjmsInitialContextFactory -u uuu -p ppp?)

I have placed tibjms.jar in /var/mqsi/shared-classes - is that enough?

Secondy, when I deploy a simple flow (JMSinput to MQoutput), I get this:

Quote:
Sep 22 10:12:27 aixxxxxx user:err|error WebSphere Broker v6108[2416774]: (XXXX.PT_TIBCO_JMS)[7711]BIP2628E: Exception condition detected on input node 'PT_TIBCO_TO_MQ.TIBCO_JMS'. : XXX.5a346190-3201-0000-0080-8bca78a96760: /build/S610_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp: 1534: ImbJniNode::dispatcher: ComIbmJMSClientInputNode: PT_TIBCO_TO_MQ#FCMComposite_1_1


I am trying this on WMB 6.1 (AIX) at present. We've not used JMS nodes before at all, is there anything else I should do before using them?

Do I need to run a JMS provider on the same host (the Tibco server is not the same server as the WMB server)?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 22, 2011 7:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

As your broker is attempting to access Tibco via JMS, you need all the provider jars (Tibco) needed to access Tibco via JMS on the broker box and accessible by the flow (client connection libraries).

You may want to add a JMStoMQ node before your MQ output.
You're on the right path for the Tibco credentials.

It might be beneficial to try a standalone Java application to check if you can connect to Tibco and make sure you have all the jars needed.
You also need access to the JNDI provider with the Tibco ref.
Your standalone program can check this also.

I know this is more JMS and java that you ever wanted to know. You may want to enlist the help of your friendly J2EE or JMS programmer.

Have fun.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Thu Sep 22, 2011 8:19 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I've added loads of JARS now. No change. Opening a PMR with Big Blue!

Where should I look for any Tibco Jar produced error messages?

Quote:

-rwxrwxr-x 1 xxx mqbrkrs 26235 22 Sep 16:13 jms.jar
-rwxrwxr-x 1 xxx mqbrkrs 98496 22 Sep 16:13 jndi.jar
-rwxrwxr-x 1 xxx mqbrkrs 8809 22 Sep 16:13 jta-spec1_0_1.jar
-rwxrwxr-x 1 xxx mqbrkrs 51425 22 Sep 16:13 rvj.jar
-rwxrwxr-x 1 xxx mqbrkrs 194828 22 Sep 16:13 tibcrypt.jar
-rwxrwxr-x 1 xxx mqbrkrs 27544 22 Sep 16:13 Tib.jar
-rwxrwxr-x 1 xxx mqbrkrs 128791 22 Sep 16:13 tibjmsadmin.jar
-rwxrwxr-x 1 xxx mqbrkrs 16653 22 Sep 16:13 tibjmsapps.jar
-rwxrwxr-x 1 xxx mqbrkrs 302224 22 Sep 16:13 tibjms.jar
-rwxrwxr-x 1 xxx mqbrkrs 130894 22 Sep 16:13 tibrvj.jar
-rwxrwxr-x 1 xxx mqbrkrs 14345 22 Sep 16:13 tibrvjms.jar
-rwxrwxr-x 1 xxx mqbrkrs 130598 22 Sep 16:13 tibrvjsd.jar
-rwxrwxr-x 1 xxx mqbrkrs 106217 22 Sep 16:13 tibrvjweb.jar
-rwxrwxr-x 1 xxx mqbrkrs 52601 22 Sep 16:13 tibrvnative.jar
-rwxrwxr-x 1 xxx mqbrkrs 53476 22 Sep 16:13 tibrvnativesd.jar
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Sep 27, 2011 1:45 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

The WMB log has no useful details of the error (thanks IBM!). Running a WMB trace does show. Now getting

Quote:
JMSClientErrors. 'RECOVERABLE methodName JMSClientInputNode::jmsConnection()'
2011-09-27 10:26:49.597316 4899 JMSClientErrors. 'RECOVERABLE iMsgSource BIPmsgs'
2011-09-27 10:26:49.597324 4899 JMSClientErrors. 'RECOVERABLE msgKey 4648'
2011-09-27 10:26:49.597336 4899 JMSClientErrors. 'RECOVERABLE reason =Failure to obtain JMS Connection invalid name or password'
2011-09-27 10:26:49.597360 4899 JMSClientErrors. 'RECOVERABLE length of newInserts[] 3'
2011-09-27 10:26:49.597380 4899 JMSClientErrors. 'RECOVERABLE Insert:0 = Broker 'PT3'; Execution Group 'PT_TIBCO_JMS'; Message Flow 'PT_V7003Flow'; Node 'ComIbmJMSClientInputNode::TIBCO_IN' '
2011-09-27 10:26:49.597392 4899 JMSClientErrors. 'RECOVERABLE Insert:1 = tibcoEMS'
2011-09-27 10:26:49.597404 4899 JMSClientErrors. 'RECOVERABLE Insert:2 = invalid name or password'


Can anyone confirm I have used the correct way to set the credentials?
Code:
mqsisetdbparms XXX -n jndi::com.tibco.tibjms.naming.TibjmsInitialContextFactory -u uuu -p ppp
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 27, 2011 1:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Well.
that *looks* like the correct -n parameter, even though it's not what I thought it should be...
http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/an09155_.htm

But it's not entirely clear here whether it's failing on the JNDI connection, or failing on the JNDI lookup... That is, whether the invalid name or password is for the JNDI lookup or for the JMS connection after the JNDI succeeds.

It might be more clear from the rest of the trace?
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Sep 27, 2011 4:13 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Got it working by throwing everything at it:

mqsisetdbparms PT3 -n jms::QueueConnectionFactory -u uuu -p ppp
mqsisetdbparms PT3 -n jms::secId -u uuu -p ppp
mqsisetdbparms PT3 -n jndi::secId -u uuu-p ppp

Now I need to remove them one by one until it breaks again to see which one did it!

Same with my collection of Tibco Jar files...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 27, 2011 6:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

zpat wrote:

mqsisetdbparms PT3 -n jms::QueueConnectionFactory -u uuu -p ppp

This one seems to be the most likely candidate to me. But then this is just guesswork on my part.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Wed Sep 28, 2011 2:44 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Yes, that is correct. Also only one JAR file tibjms.jar was needed.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Oct 20, 2011 5:27 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Now I want to apply the Tibco JNDI/JMS credentials (user/password) at a more granular level than the default for the entire broker - either for a given JMS node, for a given message flow or for a given execution group.

How can this be achieved?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Connectivity from WMQ Server to TIBCO
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.