[
https://issues.redhat.com/browse/WFLY-13823?page=com.atlassian.jira.plugi...
]
Martin Miller edited comment on WFLY-13823 at 9/3/20 4:41 PM:
--------------------------------------------------------------
Just to rephrase:
Looking at the server.log in each base directory, I see that standalone1 is cleanly
shutdown if I stop the service for standalone2.
I'm not sure about standalone2 state at this point.
–
Looking at the service installation output, I just saw that the stop path use the
controller at 9990 (which is the standalone1 controller!).
*I guess I need to specify the port of standalone2 when installing the service, as at
runtime it get detected in the configuration using the port offset I specified in the
xml.*
{code:java}
"C:\Program Files\wildfly-20.0.1.Final\bin\service\amd64\wildfly-service"
install WildFly-2 --DisplayName="WildFly 2" --Description="WildFly
Application Server" --LogLevel=INFO --LogPath="C:\Program
Files\wildfly-20.0.1.Final\standalone2\log" --LogPrefix=service
--StdOutput="" --StdError="" --StartMode=exe --Startup=auto
--StartImage=cmd.exe --StartPath="C:\Program Files\wildfly-20.0.1.Final\bin"
++StartParams="/c#set#NOPAUSE=Y#&&#standalone.bat#-Djboss.server.base.dir=C:\Program
Files\wildfly-20.0.1.Final\standalone2#--server-config=standalone-full.xml"
--StopMode=exe --StopImage=cmd.exe --StopPath="C:\Program
Files\wildfly-20.0.1.Final\bin" ++StopParams="/c jboss-cli.bat
--controller=localhost:9990 --connect --command=:shutdown" ++Environment=
{code}
was (Author: martinm1000):
Just to rephrase:
Looking at the server.log in each base directory, I see that standalone1 is cleanly
shutdown if I stop the service for standalone2.
I'm not sure about standalone2 state at this point.
Windows Service Script stopping problems
----------------------------------------
Key: WFLY-13823
URL:
https://issues.redhat.com/browse/WFLY-13823
Project: WildFly
Issue Type: Bug
Components: Scripts
Affects Versions: 20.0.1.Final
Reporter: Martin Miller
Priority: Minor
I'm trying to have two standalone instances running at the same time, and I think it
works.
The problem is that stopping service 2 stops service 1 and service 2 seems to be stuck as
far as windows is concerned.
I then have to kill java to be back to a normal state.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)