[jboss-jira] [JBoss JIRA] (WFCORE-1905) windows service (service.bat) failed to install if the value of /serviceuser has a white space inside
RH Bugzilla Integration (JIRA)
issues at jboss.org
Sat Jun 10 02:57:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419149#comment-13419149 ]
RH Bugzilla Integration commented on WFCORE-1905:
-------------------------------------------------
Brad Maxwell <bmaxwell at redhat.com> changed the Status of [bug 1220683|https://bugzilla.redhat.com/show_bug.cgi?id=1220683] from ASSIGNED to CLOSED
> windows service (service.bat) failed to install if the value of /serviceuser has a white space inside
> -----------------------------------------------------------------------------------------------------
>
> Key: WFCORE-1905
> URL: https://issues.jboss.org/browse/WFCORE-1905
> Project: WildFly Core
> Issue Type: Bug
> Components: Scripts
> Reporter: Brad Maxwell
> Assignee: Tomaz Cerar
> Priority: Minor
> Fix For: 3.0.0.Alpha11
>
>
> When using "service.bat install /serviceuser ..." command to install window service, if the account name behind /serviceuser has a whit space inside like ".\JBoss User", it will failed to install windows service.
> Run command: service.bat install /serviceuser ".\JBoss User" /servicepass "change it" /startup /debug
> When starting it, an error window poped up:
> {code}
> Windows could not start the JBossEAP6 on Local Computer.
> For more information, review the System Event Log.
> If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code1.
> {code}
> Additional info:
> Possible fix is editing "service.bat" and add double quotation marks on %SERVICE_USER%
> From
> {code}
> set RUNAS=--ServiceUser=%SERVICE_USER% --ServicePassword=%SERVICE_PASS%
> {code}
> to
> {code}
> set RUNAS=--ServiceUser="%SERVICE_USER%" --ServicePassword="%SERVICE_PASS%"
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list