[jboss-jira] [JBoss JIRA] (WFLY-3506) Windows service cannot be stopped if installation path contains a space

Michael Gerber (JIRA) issues at jboss.org
Tue Jun 17 03:53:25 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Gerber updated WFLY-3506:
---------------------------------

    Description: 
I cannot stop the windows service if the installation path contains a space. 
But every thing works fine if i replace the space throuth '_'.

Bugfix:
Replace the following line in the "jboss-cli.bat" file:
* set "JAVA_OPTS=%JAVA_OPTS% -Dlogging.configuration=file:%JBOSS_HOME%\bin\jboss-cli-logging.properties"

throth this line:

* set "JAVA_OPTS=%JAVA_OPTS% -Dlogging.configuration=file:"%JBOSS_HOME%\bin\jboss-cli-logging.properties""


  was:
I cannot stop the windows service if the installation path contains a space. 
But every thing works fine if i replace the space throuth '_'.

Bugfix:
Replace the following line in the "jboss-cli.bat" file:
* set "JAVA_OPTS=%JAVA_OPTS% -Dlogging.configuration=file:%JBOSS_HOME%\bin\jboss-cli-logging.properties"
throth this line:
* set "JAVA_OPTS=%JAVA_OPTS% -Dlogging.configuration=file:"%JBOSS_HOME%\bin\jboss-cli-logging.properties""




> Windows service cannot be stopped if installation path contains a space
> -----------------------------------------------------------------------
>
>                 Key: WFLY-3506
>                 URL: https://issues.jboss.org/browse/WFLY-3506
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 8.1.0.Final
>         Environment: Windows 7, 64bit
>            Reporter: Michael Gerber
>            Assignee: Jason Greene
>
> I cannot stop the windows service if the installation path contains a space. 
> But every thing works fine if i replace the space throuth '_'.
> Bugfix:
> Replace the following line in the "jboss-cli.bat" file:
> * set "JAVA_OPTS=%JAVA_OPTS% -Dlogging.configuration=file:%JBOSS_HOME%\bin\jboss-cli-logging.properties"
> throth this line:
> * set "JAVA_OPTS=%JAVA_OPTS% -Dlogging.configuration=file:"%JBOSS_HOME%\bin\jboss-cli-logging.properties""



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list