Author |
Message
|
vjakka |
Posted: Tue Feb 26, 2002 7:26 am Post subject: |
|
|
Newbie
Joined: 25 Feb 2002 Posts: 4
|
Am trying to connect to a remote queue manager and I end up getting this error:
MQJE016: MQ queue manager closed channel immediately during connect
Closure reason = 2009
MQJE001: Completion Code 2, Reason 2009
An MQSeries error occurred :Completion code 2Reason code 2009
Can someone help me out please.
Thanks,
Venkat |
|
Back to top |
|
 |
ghost |
Posted: Wed Feb 27, 2002 8:29 am Post subject: |
|
|
Newbie
Joined: 26 Feb 2002 Posts: 7
|
Check to make sure the remote QM is up and running. Make sure to use the correct connection and object handles.
-or-
The call was successful, even though this RC is returned.
|
|
Back to top |
|
 |
oz1ccg |
Posted: Wed Feb 27, 2002 8:40 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
Take a look on the log on the QueueManager, it tells you what had happend.
2009, indicates that you had contact with the queue manager, but the connection has been broken from the queue manager.
_________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
dsnpevl |
Posted: Tue Mar 05, 2002 2:26 am Post subject: |
|
|
Newbie
Joined: 04 Mar 2002 Posts: 1
|
|
Back to top |
|
 |
Vin |
Posted: Tue Mar 26, 2002 7:25 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Hi!
I have the same problem. Thanks for all the pointers but can you tell me how to
create a Server Channel? I'm new to MQSeries. Thanks very much.
Vin |
|
Back to top |
|
 |
abiram8 |
Posted: Fri Mar 29, 2002 3:39 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
Run the rumqlsr -m QueueManagerName -t TCP -p 3453(port Nos)
Try connect the queueManager & view the runmqlsr what does it say
GoodLuck
R.Abiram |
|
Back to top |
|
 |
Vin |
Posted: Fri Mar 29, 2002 4:47 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
abiram,
does the listener start the server channel automatically? getting confused as to whether I need to create a server channel and start the listener or just starting the listener would do. Thanks for the help
|
|
Back to top |
|
 |
mqonnet |
Posted: Fri Mar 29, 2002 6:12 pm Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
does the listener start the server channel automatically?
---yes. As soon as a message arrives on this channel, it is started automatically.
getting confused as to whether I need to create a server channel and start the listener or just starting the listener would do.
---You need to create a svrconn channel and then start the listener yourself. Creating a svrconn channel is easy.
Define chl(SYSTEM.ADMIN.SVRCONN) chltype(SVRCONN) mcauser('mqm')
Bear in mind that you have to use "mqm" only if you want anyone to be able to connect to this qm. If you leave it blank, it would force the other end to check that the userid with which you are putting messages, exists on the system.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
Vin |
Posted: Fri Mar 29, 2002 6:49 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Thanks. I need a channel and a listener only for communicating with an other QueueManager, am I right? Also If I'm going to put and get messages from a local queue, do I still need the channel and the listener? I'm just trying to understand the purpose. Thanks for the help. |
|
Back to top |
|
 |
vjakka |
Posted: Sat Mar 30, 2002 6:09 am Post subject: |
|
|
Newbie
Joined: 25 Feb 2002 Posts: 4
|
Since the MQManager was running on a remote server, we need a server connection channel(SRVCONN). A sender channel from the local machine and a reciever channel on the other end.
The Error 2009 is not related to the Queue Manager, instead its something to do the channel.
|
|
Back to top |
|
 |
StefanSievert |
Posted: Sun Mar 31, 2002 12:09 am Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Quote: |
On 2002-03-30 06:09, vjakka wrote:
Since the MQManager was running on a remote server, we need a server connection channel(SRVCONN). A sender channel from the local machine and a reciever channel on the other end.
The Error 2009 is not related to the Queue Manager, instead its something to do the channel.
|
Oh boy....
If you are using the MQSeries Client functionality, you will always need a SRVCONN channel on your queue manager, no matter where it lives. If it is on the same physical box, than the only difference is that you use 'localhost' in your CONNAME attribute of the CLNTCONN channel definition.
If you want to connect two queue managers, you either need a SENDER/RECEIVER or a SERVER/REQUESTER channel pair between the two queue managers.
Good sources of information: MQSeries Intercommunication Guide / MQSeries Clients manual
Cheers,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
Vin |
Posted: Sun Mar 31, 2002 10:54 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
I got the same error when I was trying to connect to the QueueManager on a local machine. I'm not using the MQClient to connect to the Queue Manager. Do I still need to create a Server Connection Channel? |
|
Back to top |
|
 |
Seriadan |
Posted: Sat Apr 06, 2002 8:02 pm Post subject: |
|
|
Newbie
Joined: 05 Apr 2002 Posts: 1
|
Hello,
I'm having a similar problem, but only on an occasional basis.
We have identical code running on a number of HP servers that gets messages from queues and processes them into a database. The Java based code checks the queue every 30 seconds for messages, and if none found goes back to sleep. Server and client are on the same machine in most cases.
On some of these servers though, we sometimes get the 2009 error. Sometimes it is only once in a while, sometimes it happens in less than 5 minute intervals. It doesn't seem to have anything to do with network loading though - it can happen the same in the middle of the night where there is no load. Seems to happen more often when there is more than one queue being polled by more than one instance of the Java. We have the identical code/server setup, etc. in other locations that have never had a similar error and have been running for over 6 months.
Anyone have any idea why this might occur ?
|
|
Back to top |
|
 |
|