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 » Error 2538 with XMS

Post new topic  Reply to topic Goto page Previous  1, 2
 Error 2538 with XMS « View previous topic :: View next topic » 
Author Message
muzipok
PostPosted: Wed Apr 07, 2010 7:22 am    Post subject: Reply with quote

Novice

Joined: 26 Mar 2010
Posts: 11

mqjeff wrote:
Also please remember that use of MQSERVER environment variable prevents you from using a client channel table.


You need to set the other MQ variables and unset MQSERVER. MQSERVER provides a default client channel definition.


Ah... what other MQ variables? In the environment?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 07, 2010 5:01 pm    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Also please remember that use of MQSERVER environment variable prevents you from using a client channel table.


You need to set the other MQ variables and unset MQSERVER. MQSERVER provides a default client channel definition.


I thought that XMS more like JMS did not really care about the environment variables, but I'll be happy to be corrected...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
muzipok
PostPosted: Tue Apr 20, 2010 1:41 am    Post subject: Reply with quote

Novice

Joined: 26 Mar 2010
Posts: 11

So, to clear things up:

MQSERVER env variable is not needed.
But I did have to do two things, to get the connection:

1. Assign Server-Connection Channel to IConnectionFactory:

Code:
ConnFactory.SetStringProperty(
                XMSC.WMQ_CHANNEL,
                "MQCHANNEL");


2. Security
Now this was quite complicated. Why? Because we simply didn't think about that the MQ Server was using the users from Active Directory and the test users didn't have MQAdmin rights or were assigned in a MQ security profile.

After fixing those two issues the connection from XMS (with only MQClient installed) worked fine!

Thanks for the ideas here!

bye
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » Error 2538 with XMS
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.