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 » General IBM MQ Support » MQRC_HCONN_ERROR in a Java program

Post new topic  Reply to topic
 MQRC_HCONN_ERROR in a Java program « View previous topic :: View next topic » 
Author Message
mgrabinski
PostPosted: Mon Sep 08, 2003 4:49 am    Post subject: MQRC_HCONN_ERROR in a Java program Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Hi

We have a java xml-2-record parser that runs under USS on z/OS. Its logic is pretty simple:
- get a message
- parse it
- put to an output queue
It has been running well for a long period of time, but recently it has produced a quite strange error:

Quote:

com.ibm.mq.MQException: An MQ Exception occurred: Completion Code 2, Reason 2018


It means:
MQRC_HCONN_ERROR
The connection handle Hconn is not valid

It is strange because the program has never before lost its HConn. The queue manager in the time of error was running, it doesnt' show anything in its logs.

The error happened while putting a message to output queue.

What are possible reasons? Except those listed in the Messages book...
TIA
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Sep 08, 2003 8:26 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Is this a client connection or server connection application ????

If it is a client connection did you check the XXXXCHIN log someone
may have restarted that.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mgrabinski
PostPosted: Mon Sep 08, 2003 8:55 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Server connection.

We have two programs running in the same time - one parses from xml to record, the other - the opposite way. Only one abended.
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQRC_HCONN_ERROR in a Java program
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.