[
https://issues.jboss.org/browse/WFCORE-2592?page=com.atlassian.jira.plugi...
]
Tomaz Cerar commented on WFCORE-2592:
-------------------------------------
This is limitation of procrun tool we are using for running service
https://commons.apache.org/proper/commons-daemon/procrun.html
from docs:
{quote}
++StartParams List of parameters that will be passed to either StartImage or StartClass.
Parameters are separated using either # or ; character.
++StopParams List of parameters that will be passed to either StopImage or StopClass.
Parameters are separated using either # or ; character.
{quote}
In some cases escaping it with \ works but it is not universal fix.
wildfly-service.exe and jbosspass wrong with # inside
-----------------------------------------------------
Key: WFCORE-2592
URL:
https://issues.jboss.org/browse/WFCORE-2592
Project: WildFly Core
Issue Type: Bug
Components: Scripts
Reporter: Seb Dk
Assignee: Tomaz Cerar
Hi there,
I am installing wildfy 10.1.0 as service on a win 20012 server.
It is working but I cannot stop the service.
I figured out where the problem is coming from.
When I installe Wildly as a service, I run the following command:
E:\Products\wildfly-10.1.0.Final\bin\service>service.bat install /serviceuser .\JBoss
/servicepass my#pass /controller localhost:9991 /jbossuser myuser /jbosspass *my#pass*
But I can see whe I am trying to stop the service, the command running is:
E:\Products\wildfly-10.1.0.Final\bin\jboss-cli.bat --controller=localhost:9991 --connect
--user=myuser --password=*my" "pass* --command=:shutdown
Any workaround?
Thanks,
S.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)