I have installed two Wildfly instances as a service on a Windows server (via service.bat). Each instance has its own full Wildfly installation. The Java root is identical for both Wildfly instances.
When I try to stop one of the two Wildfly instances in the Windows service list, it usually stops the wrong Wildfly instance.
Do I have to set certain parameters in the registration of the services so that the Windows service control controls the correct Wildfly instance?
I have to control the Wildfly instances via the Windows service control, as this is specified by IT. Starting and stopping via jboss-cli is not desired.