Author |
Message
|
ucbus1 |
Posted: Mon Nov 11, 2002 2:27 pm Post subject: Error code 2009 |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
We have windows 2000 on which we have webclient configured and two AIX boxes one serivng as workflow server and other running as database server.
On windows 2K box we have a queue manager xyzQM and there isa server connection xyzQM.cl.tcp
and we were getting com.ibm.mq.MQException: Completion Code 2, Reason 2009
*************************
AMQ9208: Error on receive from host .
EXPLANATION:
An error occurred receiving data from "host name" over TCP/IP. This
may be due to a communications failure.
ACTION:
The return code from the TCP/IP (recv) call was 10054 (X'2746'). Record these
values and tell the systems administrator.
Please let me know what could be wrong. I know 2009 indicates mx number of server connections have reached. But I am unable to point out what is causing this to happen.
Thanks |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 11, 2002 3:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
The error 2009 is MQRC_CONNECTION_BROKEN. I have seen this error before. I guess the TCP/IP is what is causing this error. See if the channels between the webclient QMGR and the WF Server QMGR are running. Try to restart the channels (restarting the QMGR if you have the possibility is a better option).
---
Venny |
|
Back to top |
|
 |
ucbus1 |
Posted: Tue Nov 12, 2002 8:18 am Post subject: |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
Thanks for the reply.
Following is additional information I can add
We have java application, that builds a stack of MQConnections. When one user needs to contact DB, he creates a connection, sends messae and receives reply, then builds the stack by pushing the connection into stack. Use B does the same thing. But before creating connection, he checks whether a free connection is available or not.
This is workfing fine for a while and all of a sudden the connections shoot up crossing the limit stipulated "100" for the server connections. I have tried increasing the "Number" of server connections to 250. But it is not helping me.
The stack design helps me to reuse the connections but do not help me in checking "how many " connections are Established.
Is there any way, I can check no of connections Established, then make user wait till one of the connections is released as we aproach 250 limit
If there is a better way altoghter, please let me know |
|
Back to top |
|
 |
vennela |
Posted: Tue Nov 12, 2002 10:10 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Oh OK. Then one of your apps is using a connection handle thats broken. May be the connection was not explicitly MQDISCed but implicitly MQDISCed.
You better post this in the Java/JMS forum.
---
Venny |
|
Back to top |
|
 |
ucbus1 |
Posted: Tue Nov 12, 2002 10:18 am Post subject: |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
Thanks for the reply.
Is there any way, in JAVA I can check no of connections Established, then make user wait till one of the connections is released as we aproach 250 limit |
|
Back to top |
|
 |
vennela |
Posted: Wed Nov 13, 2002 5:44 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
amittalekar |
Posted: Fri Nov 15, 2002 1:09 pm Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
|
Back to top |
|
 |
|