JBoss EAP 6.4.0 failed to install windows service due to the value of "serviceuser" has a white space inside.
Issue
In Windows platform, if system account's name has a white space inside like JBoss User
, JBoss EAP 6.4.0 will failed to install windows server with below command:
service.bat install /serviceuser ".\JBoss User" /servicepass "changeit" /startup /debug
After this command was executed, a service was installed on Windows like below:
Name | JBossEAP6
Description |
Status |
Startup Type | Manual
Log On As | Local System
When start up this service, an error will be popped up as below:
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.
Environment
- Red Hat JBoss Enterprise Application Platform
- 6.4.0
- Windows 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.