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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » xaopenstring

Post new topic  Reply to topic
 xaopenstring « View previous topic :: View next topic » 
Author Message
ramires
PostPosted: Fri Nov 11, 2005 7:37 am    Post subject: xaopenstring Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

Hello,

In windows registry MQ stores userid and password for access to WF database. The entry is something like:

DB=FMCDF, TPM=MQ, toc=p, UID=ramires, PWD=password

The user and password are in clear text. Hoq can I avoid this? Does the xaopenstring need user and password?
I tried to remove but I'm getting xa errors.

Regards
Back to top
View user's profile Send private message
ramires
PostPosted: Tue Nov 15, 2005 6:03 am    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

I guess I solved my problem. If I remove UID and PWD from XAResourceManger stanza (win registry), the entry look like this:

ThreadOfContol THREAD
XAOpenString DB=FMCDB, TPM=MQ, toc=p

I get:

11/15/2005 13:17:16 - Process(1516.9) User(MUSR_MQADMIN) Program(amqzlaa0.exe)
AMQ7605: The XA resource manager DB2 FMCDB has returned an unexpected return
code -6, when called for xa_close.

When change to:

ThreadOfContol PROCESS
XAOpenString DB=FMCDB, TPM=MQ, toc=p

I don't get AMQ7605. It appears the value of "ThreadOfContol" and "toc" must macth, but they don't need to match if I sepcify a "UID" and "PWD" in XAOpenString.

Its really confusing, and the IBM info about this subject is contradictory:

http://www-1.ibm.com/support/docview.wss?uid=swg1IY52270

says to use THREAD

http://www-1.ibm.com/support/docview.wss?uid=swg1IC47778

says to use PROCESS
Back to top
View user's profile Send private message
hos
PostPosted: Thu Nov 17, 2005 5:06 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Have a look at the MQWF readme file. It explains the required setting with respect to your DB version. MQWF configuration does the proper setting and you should not modify it manually! If your setup requires THREAD, you should use THREAD and not switch to PROCESS. If you have a real concern with the password in clear text in your Windows registry you should contact MQ, because this is not an MQWF issue.

B.t.w.: toc and ThreadOfControl must ALWAYS match otherwise you'll run into performance problems.
Back to top
View user's profile Send private message
ramires
PostPosted: Thu Nov 17, 2005 7:48 am    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

Thanks,

I don't find that info in Readme.1st or readme.enu (v3.6) . Can you provide me the link ?

I used:

http://www-1.ibm.com/support/docview.wss?uid=swg27006651&aid=1
http://www-1.ibm.com/support/docview.wss?uid=swg27006651&aid=3


Regards
Back to top
View user's profile Send private message
hos
PostPosted: Fri Nov 18, 2005 3:29 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

OK, I can see it in the readme for the 3.5 ServicePacs. For instance http://www-1.ibm.com/support/docview.wss?rs=795&context=SSVLA5&dc=D420&uid=swg24007450&loc=en_US&cs=utf-8&lang=en
For MQWF 3.6 DB2 V8 is required and ThreadOfContol=THREAD is used.
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » xaopenstring
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.