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 » Connecting to MQ6 on i5 using JMS

Post new topic  Reply to topic
 Connecting to MQ6 on i5 using JMS « View previous topic :: View next topic » 
Author Message
legux
PostPosted: Mon Nov 21, 2005 10:29 am    Post subject: Connecting to MQ6 on i5 using JMS Reply with quote

Novice

Joined: 14 Nov 2005
Posts: 18

Hi.
I'm running on WindowsXP an JBOSS Application Server 4.03. I am trying to send messages from this System to Websphere MQ V6.0 running on an i5.

My Problem is, that the windows User and the user on the i5 are not the same.

I found out that i can change the windows-user to the i5-user if i change the JVM-Property "user.name".
This happens before i am initializing the MQConnectionFactory.
-System.setProperty("user.name","i5user");

This works.
But i think this is a dirty solution and there must be a quite better way to initialize the ConnectionFactory using the i5-user and not the windows user.

Hope you can help me with my problems.

Thank you and best regards,
steffen
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 21, 2005 11:57 am    Post subject: Reply with quote

Grand High Poobah

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

Try using the alternate connection method:
Code:
qcf.createQueueConnection(username, passwd);

or use JAAS, or pass the credentials in the hashtable when accessing the jndi....
Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Connecting to MQ6 on i5 using JMS
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.