|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQCONN |
« View previous topic :: View next topic » |
Author |
Message
|
rme |
Posted: Tue Oct 14, 2008 7:00 am Post subject: MQCONN |
|
|
Newbie
Joined: 14 Oct 2008 Posts: 2
|
Environment : Sun Solaris 5.10
I run a QM and a program that connects to the QM. The program calls MQCONN, result ok and the post a FETCH. Calls to MQ are in a separate thread. I stop the QM and this is detected by the FETCH, error code 2059 : ok. I start the QM and the program tries to connect again to the QM : error 2195 (unexpected error occured)
If the program restarts (this is not what I want), the MQCONN will be OK. I suspect that an information is stored in one of shared memory created by the QM. |
|
Back to top |
|
 |
David.Partridge |
Posted: Tue Oct 14, 2008 10:58 pm Post subject: |
|
|
 Master
Joined: 28 Jun 2001 Posts: 249
|
It's not clear from you post whether the MQCONN is done on the same thread that is actually using the hconn that results from the MQCONN. If you aren't doing that (i.e. connect on thread 1, use hconn on thread 2), then I can see that you could have problems. _________________ Cheers,
David C. Partridge |
|
Back to top |
|
 |
rme |
Posted: Wed Oct 15, 2008 11:51 pm Post subject: |
|
|
Newbie
Joined: 14 Oct 2008 Posts: 2
|
Hello,
I agree it's not clear, but all the calls to MQ are performed from the same thread.
More info :
- when I restart the QM via a procedure, sometimes I can see this message : IPCS not cleaned by amqiclen after 40 sec. Cleaning IPCS with iprcm.
- sometimes this message appear :
The QM cannot be restarted or deleted because processes that were previously connected are still running. Process 16440 is still running
16440 is my client process. But these messages do not appear each time.[/i] |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|