Tuesday, April 5, 2016

Installing On-Prem Mule ESB and Gateway as Windows Service on the Same Machine

This is a quick note on installing both ESB and Gateway as Windows service on the same machine.

To install as windows service for ESB and Gateway alone is straight forward, just go to the bin directory and run "mule install" or "gateway install" respectively.

However, if you want install both of them as windows service on the same machine, you'll get an error says service name already exists. A quick solution is to edit either mule.bat or gateway.bat, search for "mule_ee", change either one or two of them to a new name. In my case, i changed gateway from "mule_ee" to "mule_gw". That's it.

3 comments: