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 » MQJMS1112, connect to an external MQQMGR through proxy

Post new topic  Reply to topic
 MQJMS1112, connect to an external MQQMGR through proxy « View previous topic :: View next topic » 
Author Message
maxiracer
PostPosted: Tue Aug 22, 2006 12:30 am    Post subject: MQJMS1112, connect to an external MQQMGR through proxy Reply with quote

Newbie

Joined: 22 Aug 2006
Posts: 2

Hi!

I want to connect to an external MQQMGR as a client through a server proxy which our network department has opened for communication outside our company. I tried using the method setProxyHostName on MQQueueConnectionFactory. (I'm using jars from MQ ver 5.3 and java 1.5.)

When doing this I get the following exception:
javax.jms.IllegalStateException: MQJMS1112: JMS1.1 Invalid operation for domain specific object

Can anyone help with this problem/exception or guide me how to acheive client communication through a proxy from a java based program without installing an own QueueManager or installing something like "MS81: WebSphere MQ internet pass-thru".

Any help would be appriciated! /Fredrik
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 22, 2006 2:25 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't establish an MQ connection through an HTTP proxy server, without using MQ Internet Pass Through to tunnel the MQ traffic over HTTP.

If you tunnel the MQ traffic over HTTP, then it needs to be "un-tunneled" on the other side using MQ IPT.

You need to explain to your networking team that they haven't given you what you need, and your business requirements mean that they have to open this connection up entirely, and can't proxy it.

The setProxyHost and setProxyPort methods only apply to creating direct connections to a Broker, not for normal connections to a queue manager.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/jmwbidc.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
maxiracer
PostPosted: Mon Aug 28, 2006 4:46 am    Post subject: Reply with quote

Newbie

Joined: 22 Aug 2006
Posts: 2

Thank you for quick reply. We will try the IPT. /Fredrik
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 » MQJMS1112, connect to an external MQQMGR through proxy
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.