Author |
Message
|
yaravind |
Posted: Mon Jun 17, 2002 11:52 am Post subject: hanging while opening connection to the queue manager |
|
|
Apprentice
Joined: 17 Jun 2002 Posts: 25
|
Hi friends,
My client java program is hanging while getting connection to the Q Manager. Its not even raising any exception.
pls help me out in this..
Thanks in advance. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Jun 17, 2002 11:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
What kind of java program? Is it bindings or client connection? Is the queue manager on the same machine or remote? Does the queue manager have a listener running (if you are client connecting)? What operating system and MQ version? If you can append the answers to these questions, it will help figure out what might be wrong. |
|
Back to top |
|
 |
yaravind |
Posted: Mon Jun 17, 2002 4:42 pm Post subject: |
|
|
Apprentice
Joined: 17 Jun 2002 Posts: 25
|
Thanks jouneyman.. I will let u know answers for these questions by tommorrow evening as I need to get answers to these from my hosting and Server team...
Thanks in advance.. |
|
Back to top |
|
 |
yaravind |
Posted: Tue Jun 18, 2002 6:40 am Post subject: pls help out here is my mq config info |
|
|
Apprentice
Joined: 17 Jun 2002 Posts: 25
|
What connection mode are we using to connect to MQ (bindings or client connection)?
I have not seen your code but I am assuming you are running in MQ server not MQ Client mode.
Is the queue manager on the same machine or remote?
QManager CLEBUD05 is running on server CLEBUD05, so it is running on the same machine.
Does the queue manager have a listener running (if we are client connecting)?
Yes, the listener is running it is listening on port 1414
What operating system and MQ version?
Sun OS 5.8
MQ Version is 5.20
clebud05 $ mqver
MQSeries Version: 520
CMVC level: p520-CSD03G
BuildType: IKAP - (Production) |
|
Back to top |
|
 |
uebuettn |
Posted: Sat Jun 22, 2002 6:40 am Post subject: Re: hanging while opening connection to the queue manager |
|
|
Newbie
Joined: 22 Jun 2002 Posts: 1
|
try enabling the tracing like in chapter 7 Tracing MQ base Java Programs of MQSeries Using Java (MQEnvironment.enableTracing). Then you will see what happens in the constructor of MQQueueManager.
I had the same problem, because in the CLASSPATH was an older version
of com.ibm.mq.jar. LIBPATH (LD_LIBRARY_PATH on solaris/linux) pointed to a lib directory of the new version. So an unsatisfied link error inside the
constructor occured. This error is NOT given to the outside by an exception !!!! So the call will hang ! |
|
Back to top |
|
 |
|