mqConsoleAutostart manages the starting of the mqconsole application in the mqweb server, not the starting of the mqweb.
Here is a solution which allows the mqweb server to be started with the Windows server.
The principle is to create a service which starts strmqweb.bat.
Example:
sc create MQWeb start= auto error= ignore binpath= D:\MQ_bin\strmqweb.bat obj= LocalSystem displayname= "IBM MQ - MQWeb"
sc description MQWeb "IBM MQ - MQWeb"where "D:\MQ_bin\bin" is the path to strmqweb.bat.
This is not perfect, because strmqweb is not designed to run in windows service mode, and therefore does not report its status. With an interactive launch, we get the error 1503, and the service appears as stopped.
However, the mqweb server works correctly.
There is surely a "cleaner" solution, knowing that mqweb is Liberty based. I didn't have the time to look at it, for the moment this solution works correctly.
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
lmd@demey-consulting.fr#IBMChampion
------------------------------
Original Message:
Sent: Mon December 05, 2022 05:53 PM
From: Praveen
Subject: mqweb auto restart after server reboot