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 » Unable to connect using Channels - Client Connection

Post new topic  Reply to topic
 Unable to connect using Channels - Client Connection « View previous topic :: View next topic » 
Author Message
ambrose_emy
PostPosted: Fri Mar 21, 2014 10:05 am    Post subject: Unable to connect using Channels - Client Connection Reply with quote

Newbie

Joined: 21 Mar 2014
Posts: 1

Hi,

Im pretty new to WMQ, im developing an Java application that need to make a client connection using channels, ports and the hostname to connect to a remote queue.

Its works for local queue on my test system, but i receive the error for remote connection
MQJE001: Completion Code 2, Reason 2058
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2058

Please advice, is there a sample implementation or a guide i could work with?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 21, 2014 10:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

did you look at Reason code 2058?

Quote:
2058 0x0000080a MQRC_Q_MGR_NAME_ERROR


So what did you do wrong in your code?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Mar 21, 2014 10:27 am    Post subject: Re: Unable to connect using Channels - Client Connection Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ambrose_emy wrote:
Its works for local queue on my test system, but i receive the error for remote connection


What step(s) did you follow to configure the remote connection at the both the WMQ level and within your code?

ambrose_emy wrote:
Please advice, is there a sample implementation or a guide i could work with?


Yes. There's a whole web site of data (known as the InfoCenter) and the product ships with sample code.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
hughson
PostPosted: Sat Mar 29, 2014 5:54 am    Post subject: Re: Unable to connect using Channels - Client Connection Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

ambrose_emy wrote:
Please advice, is there a sample implementation or a guide i could work with?

The MQ Information Centre can be found here:-

http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/index.jsp

Suggest you search for things such as java client connections.

There are various pages that will help you get set up. If you need more help, post further questions back here.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
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 Java / JMS » Unable to connect using Channels - Client Connection
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.