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 » JNDI connection from TIBCO BW fails to Queue Manager frm AIX

Post new topic  Reply to topic
 JNDI connection from TIBCO BW fails to Queue Manager frm AIX « View previous topic :: View next topic » 
Author Message
vamci
PostPosted: Tue Mar 15, 2011 9:14 pm    Post subject: JNDI connection from TIBCO BW fails to Queue Manager frm AIX Reply with quote

Newbie

Joined: 15 Mar 2011
Posts: 2

Hi,

I have created a .bindings file from JMSAdmin with following commands:

define QCF(QueueConnectionFactory) QMANAGER(FI_ONLINE_QM) TRAN(CLIENT) HOST(10.10.7.80) PORT(1416) CCSID(437)

define Q(JNDI_ONLINE_REQ_Q) QUEUE(ONLINE_REQ_Q) QMANAGER(FI_ONLINE_QM)

define Q(JNDI_ONLINE_RES_Q) QUEUE(ONLINE_RES_Q) QMANAGER(FI_ONLINE_QM)

I copy the .bindings file created + lib file from java/bin into remote windows PC under the path c:/tibco/JNDI-Directory.

I then used TIBCO BW on a remote Window PC to make a connection to the queue manager. It worked sucessfully using the above .bindings file.

Now I test using the same .bindings file from TIBCO BW on AIX platform... but now I get the below error:

linked JMS exception: com.ibm.mq.MQException: JMSCMQ0001:
WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2059' ('MQRC_Q_MGR_NOT_AVAILABLE').
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:223)
... 27 more
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2059;AMQ9204: Connection to host '10.10.7.80(1416)' rejected. [1=com.ibm.mq.jmqi.JmqiException[CC=2;RC=2059;AMQ9213: A communications error for occurred. [1=java.net.SocketException[Connection timed out:could be due to invalid address],3=10.10.7.80]],3=10.10.7.80(1416),5=RemoteTCPConnection.connnectUsingLocalAddress]
at com.ibm.mq.jmqi.remote.internal.RemoteFAP.jmqiConnect(RemoteFAP.java:1809)
at com.ibm.msg.client.wmq.internal.WMQConnection.<init>(WMQConnection.java:336)
... 26 more
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2059;AMQ9213: A communications error for occurred. [1=java.net.SocketException[Connection timed out:could be due to invalid address],3=10.10.7.80]
at com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection.connnectUsingLocalAddress(RemoteTCPConnection.java:607)
at com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection.protocolConnect(RemoteTCPConnection.java:935)
at com.ibm.mq.jmqi.remote.internal.system.RemoteConnection.connect(RemoteConnection.java:1075)
at com.ibm.mq.jmqi.remote.internal.system.RemoteConnectionPool.getConnection(RemoteConnectionPool.java:338)
at com.ibm.mq.jmqi.remote.internal.RemoteFAP.jmqiConnect(RemoteFAP.java:1488)
... 27 more
Caused by: java.net.SocketException: Connection timed out:could be due to invalid address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:233)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
at java.net.Socket.connect(Socket.java:536)
at java.net.Socket.connect(Socket.java:486)
at com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection$2.run(RemoteTCPConnection.java:592)
at java.security.AccessController.doPrivileged(AccessController.java:192)
at com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection.connnectUsingLocalAddress(RemoteTCPConnection.java:583)
... 31 more
linked JMS exception: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2059' ('MQRC_Q_MGR_NOT_AVAILABLE').


Why could I not connect from AIX while the same was successful from Windows?
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Mar 16, 2011 12:01 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

This might be a clue: Connection to host '10.10.7.80(1416)' rejected

Can you ping the queue manager's server from the AIX box? Can you telnet from the AIX box to that IP Address and IP Port?
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » JNDI connection from TIBCO BW fails to Queue Manager frm AIX
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.