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 » Search

 Search found 9 matches
Author Message
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Wed Jan 21, 2015 6:51 am   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
JMS is supposed to work with JAAS. Open a PMR...

PMR came back with the correct answer, at least for JMS. Still working on figuring out BizTalk MQSC and RTHUtil.

Hi Justin, ...
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 1:35 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
"MO71,IH03(rfhutil) will only allow you to set the alternate user Id on the message. For connection purposes the id you run the tool under is passed." Could it be a similar case or have you ...
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 1:26 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
As you are using SSL for the svrconn channel you could have set an mcauser... This would force the user to the one on the MCAuser...

I am not using AMS Whith those references to Bob and Alice you c ...
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 12:38 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
I see your setup. I do not see the error you received...
Did you check with moragh's test for channel authorities?

01/20/2015 03:32:28 PM - Process(2592.134) User(mqm) Program(amqzlaa0)
...
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 12:22 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
Which userid did you have in the JAAS alias?
As for biztalk you need to specify the userid/password on the setup of the connection in biztalk...
Connection factories > jmsTest > JAA ...
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 12:13 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
Nice try...
What you are missing is that user password information should be stored In JAAS (Java application authentication services iirc). You then apply the JAAS alias to the CF in JNDI...

Hop ...
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 12:06 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
Nice try...
What you are missing is that user password information should be stored In JASS (Java application security services iirc). You then apply the JASS alias to the CF in JNDI...

Hope thes ...
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 12:05 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
Which version of WMQ?

Which OS?
WMQ 7.5 on CentOS 6.5,

And client connections from various platforms. WAS 8.5 and BizTalk 2010.
  Topic: JNDI equivalent of mqcf.createConnection(user, pass);
JBrew

Replies: 16
Views: 12197

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 20, 2015 12:00 pm   Subject: JNDI equivalent of mqcf.createConnection(user, pass);
When I hard code the username password in code it appears to work. The message is sent as serverbob.

connection = mqcf.createConnection("serverbob", null);

But for the life of me I can ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.