ibm-messaging / mq-container

Container images for IBM® MQ
Apache License 2.0
255 stars 189 forks source link

Queue manager not getting created with default setup #490

Closed emilsaric closed 2 years ago

emilsaric commented 2 years ago

When creating IBM MQ container while following this tutorial: https://developer.ibm.com/tutorials/mq-connect-app-queue-manager-containers/ I don't get queue manager QM1 created, even though I use the default environment values which include MQ_QMGR_NAME=QM1.

So dspmq command displays no queue managers right after the container is created. Also I'm unable to configure the queue manager manually (with crtmqm, strmqm etc.), I keep getting the connection exception when my service tries to connect to it:

IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN')

I'm running Windows 11 and Docker Desktop with WSL 2 engine.

Also one thing to note, it worked fine months back with the default setup, then I had to create and start queue manager manually to be able to connect to it, and after that it doesn't work at all. I'm not sure if it's something with the volume and how it's mounted currently, but cannot figure it out after already spending too much time on it.

emilsaric commented 2 years ago

My solution was to stop trying and go with IBM MQ for Windows as described here: https://developer.ibm.com/tutorials/mq-connect-app-queue-manager-windows/.