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 Java / JMS » Completion code 2 and reason code 2058

Post new topic  Reply to topic
 Completion code 2 and reason code 2058 « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Sat Nov 01, 2008 1:52 am    Post subject: Completion code 2 and reason code 2058 Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

I use JavaTrigger.java in Sample Code to test trigger mechanism of MQ.

My client is on platform of windows and server is on linux.

'runmqtmc' is running correctly on client and can be triggered to run the app (JavaTrigger), but it always throw the error
Completion code 2 and reason code 2058
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Sat Nov 01, 2008 1:58 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi kun.leeing,

2058 = MQRC_Q_MGR_NAME_ERROR

Regards.
Back to top
View user's profile Send private message Send e-mail
atheek
PostPosted: Sat Nov 01, 2008 2:19 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

The sample JavaTrigger program is written for a binding mode ie when the triggered app runs in the same physical server as qmgr. Since your application is a client you need to tweak the code to connect to qmgr. This can be done in different ways.. Check Using Java guide from the library to know how to connect in client mode.
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 » IBM MQ Java / JMS » Completion code 2 and reason code 2058
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.