|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
mq with java |
« View previous topic :: View next topic » |
Author |
Message
|
vobson |
Posted: Wed Jan 14, 2004 3:34 am Post subject: mq with java |
|
|
Newbie
Joined: 14 Jan 2004 Posts: 2
|
Hi there,
I made a protocol converter. It gets msgs from a queue, takes them for a socket communication (net) and puts the answer into a reply queue.
Usually once a week this program hangs up - no action, no reaction, no traces.
The prog is multi threaded, each thread makes its own mq session, socket streams and so on. The threads don't interact.
Is anybody experienced or was anybody caught in that trap before? Any hints to literature?
Thanxx
Vobson  |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 14, 2004 5:21 am Post subject: Re: mq with java |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
vobson wrote: |
Usually once a week this program hangs up - no action, no reaction, no traces.  |
Sounds like you need to add more debugging to your program, so that you do get at least a trace of where the program stopped.
Also, it sounds like this is happening regularly. This might be caused by an external event - like perhaps your queue manager is being shut down for normal maintenance. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vobson |
Posted: Wed Jan 14, 2004 6:55 am Post subject: |
|
|
Newbie
Joined: 14 Jan 2004 Posts: 2
|
Thanx for the reply. Here are some more infos:
I catch the reasonCodes
- 2033 (of course),
- 2009 (shutting down),
- 2161 (QMGR_QUIESCING),
- 2162 (QMGR_STOPPING),
- 2016 (GET_DISABLED),
- 2018, 2019,
- 2195 (if you plug the net cable) and
- 2059, 2002, 2085 and 2042.
The converter is on linux, javaVM 1.4.1. The MQ-Server is in zOS and KAINT (keep alive intervall) ist set to 600 (10 minutes). The error occurs, when no data has to be read.
Is anybody experienced in programming sockets in java AND using mq.jar?
Is it possible that the system hangs up while communicating with sockets (to the MQ server or into the other direction)?
Hopefully
Vobson |
|
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
|
|
|
|