ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » mq with java

Post new topic  Reply to topic
 mq with java « View previous topic :: View next topic » 
Author Message
vobson
PostPosted: Wed Jan 14, 2004 3:34 am    Post subject: mq with java Reply with quote

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
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed Jan 14, 2004 5:21 am    Post subject: Re: mq with java Reply with quote

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
View user's profile Send private message
vobson
PostPosted: Wed Jan 14, 2004 6:55 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » mq with java
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.