Cumbers

WebSphere MQ manual Registry entries

May 6, 2009 · Leave a Comment

Just a quick post, as much for my benefit as anyone else’s! In running our automation it was required that when a new queue manager is created we edit the windows registry for that queue manager. Put simply, I did the following steps:

  1. Created an XA Resource Manager using the MQ Explorer
  2. Started my Queue Manager to make sure my changes worked (they did)
  3. Stopped the Queue Manager
  4. Exported the ‘XA Resource Manager’ key for my Queue Manager using regedit into a file
  5. Deleted the ‘XA Resource Manager’ key from the registry.
  6. Started my Queue Manager to make sure my deletion did not break anything
  7. Stopped the Queue Manager
  8. Imported the registry file using regedit /s registry.file
  9. Tried to start the queue manager and got an error An expected stanza in the configuration data is missing or contains errors. and an fdc.

Turns out that all I need to do to get this to work is: amqmdain regsec and that will fix the registry permissions!

Infocenter page for amqmdain can be found here.

Categories: IBM · WebSphere MQ
Tagged: , ,

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment