|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MQJMS Client Working Bind Not Working |
« View previous topic :: View next topic » |
Author |
Message
|
gauravagarwal26 |
Posted: Tue Jun 16, 2009 11:32 am Post subject: |
|
|
Newbie
Joined: 15 Jun 2009 Posts: 8
|
Adding on to the thread:
My OS is 64 bit HP-UX with a 64 bit JVM.
Below is the trace when I ran IVTRun:
[16/06/2009 19:05:55:733 BST] Thread: main <== /build/j600_P/src/native/mqcno.c:142::mqcno_java_to_native() exit
[16/06/2009 19:05:55:733 BST] Thread: main Class: /build/j600_P/src/native/mqi.c:1580:_spiConnect qmgr name : QTIBDV01 _spiConnect qmgr name
[16/06/2009 19:06:05:596 BST] Thread: main Class: /build/j600_P/src/native/mqi.c:1584: : _spiConnect call returned CC=0, RC=0
[16/06/2009 19:06:05:602 BST] Thread: main Class: /build/j600_P/src/native/mqi.c:1600: : _spiConnect call returned CC=0, RC=0
[16/06/2009 19:06:05:603 BST] Thread: main <== /build/j600_P/src/native/mqi.c:1611::_spiConnect() exit
[16/06/2009 19:06:05:603 BST] Thread: main ==> MQSESSION::loadDefMsgLibrary() entry
[16/06/2009 19:06:05:603 BST] Thread: main ==> MQSESSION::getLibraryPath() entry
[16/06/2009 19:06:05:603 BST] Thread: main Class: MQSESSION path ''
[16/06/2009 19:06:05:603 BST] Thread: main <== MQSESSION::getLibraryPath() exit
[16/06/2009 19:06:05:603 BST] Thread: main Class: MQSESSION Attempting to load auxiliary library mqjbdf02
[16/06/2009 19:06:05:605 BST] Thread: main ==> MQSESSION::loadLib() entry
[16/06/2009 19:06:05:605 BST] Thread: main Class: MQSESSION Load this library: 'mqjbdf02'
[16/06/2009 19:06:05:608 BST] Thread: main <== MQSESSION::loadLib() exit
[16/06/2009 19:06:05:609 BST] Thread: main <== MQSESSION::loadDefMsgLibrary() exit
And when I run my java program for the same QCF.
[16/06/2009 19:44:53:376 BST] Thread: main <== /build/j600_P/src/native/mqcno.c:142::mqcno_java_to_native() exit
[16/06/2009 19:44:53:376 BST] Thread: main Class: /build/j600_P/src/native/mqi.c:1580:_spiConnect qmgr name : QTIBDV01 _spiConnect qmgr name
[16/06/2009 19:44:53:378 BST] Thread: main Class: /build/j600_P/src/native/mqi.c:1584: : _spiConnect call returned CC=2, RC=2059
[16/06/2009 19:44:53:378 BST] Thread: main Class: /build/j600_P/src/native/mqi.c:1600: : _spiConnect call returned CC=2, RC=2059
[16/06/2009 19:44:53:380 BST] Thread: main <== /build/j600_P/src/native/mqi.c:1624::_spiConnect() exit
[16/06/2009 19:44:53:380 BST] Thread: main, Object: com.ibm.mq.server.MQSESSION@7f1d3226 spiConnect returning hConn 0
[16/06/2009 19:44:53:380 BST] Thread: main, Object: com.ibm.mq.server.MQSESSION@7f1d3226 CC,RC = 2,2059
[16/06/2009 19:44:53:380 BST] Thread: main, Object: com.ibm.mq.server.MQSESSION@7f1d3226 <== spiConnect() exit
[16/06/2009 19:44:53:380 BST] Thread: main, Object: com.ibm.mq.MQManagedConnectionJ11@2627cd63 <== MQManagedConnection constructor (via exception)() exit
[16/06/2009 19:44:53:380 BST] Thread: main, Object: com.ibm.mq.MQManagedConnectionJ11@2627cd63 It was not possible to flow the exception message
[16/06/2009 19:44:53:380 BST] Thread: main, Object: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2059 ==> MQException constructor(cc, rc, source)() entry
[16/06/2009 19:44:53:381 BST] Thread: main, Object: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2059 @(#) javabase/com/ibm/mq/MQException.java, java, j600, j600-205-080922 1.83.1.9 08/04/16 07:57:15
[16/06/2009 19:44:53:381 BST] Thread: main, Object: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2059 cc = 2
[16/06/2009 19:44:53:381 BST] Thread: main, Object: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2059 rc = 2059
[16/06/2009 19:44:53:382 BST] Thread: main, Object: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2059 source = com.ibm.mq.MQManagedConnectionJ11@2627cd63
[16/06/2009 19:44:53:382 BST] Thread: main, Object: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2059 <== MQException constructor() exit
[16/06/2009 19:44:53:383 BST] Thread: main ==> ReasonCodeInfo::getResourceExceptionClass() entry
[16/06/2009 19:44:53:383 BST] Thread: main <== ReasonCodeInfo::getResourceExceptionClass() exit
[16/06/2009 19:44:53:385 BST] Thread: main, Object: com.ibm.mq.MQBindingsManagedConnectionFactoryJ11@29.
I can't think of any possible cause. Both the users executing these programs are in mqm group. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 16, 2009 1:57 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
MQRC 2059 QMGR not available. Is the qmgr started? Are there any FDC created? Does the QMGR have enough shared memory??  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gauravagarwal26 |
Posted: Wed Jun 17, 2009 8:06 am Post subject: |
|
|
Newbie
Joined: 15 Jun 2009 Posts: 8
|
The queue manager is up as IVTRun is able to connect to the same queue Manager.
How will the shared memory on Queue Manager make a difference when two different clients are connecting to the same QM? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 17, 2009 2:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
gauravagarwal26 wrote: |
The queue manager is up as IVTRun is able to connect to the same queue Manager.
How will the shared memory on Queue Manager make a difference when two different clients are connecting to the same QM? |
2 different clients?
We understand that the qmgr actually resides on "localhost" yes?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gauravagarwal26 |
Posted: Thu Jun 18, 2009 2:17 am Post subject: |
|
|
Newbie
Joined: 15 Jun 2009 Posts: 8
|
The queue manager and both the clients are on the same machine and being executed now with the same os user which is in mqm group. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 19, 2009 3:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
well, have you checked your code and environment ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|