Hide Forgot
Description of problem: Can't stop JBoss service on windows when passing /jbosspass option which contains '!' in a service install command,it shows: Error 1053 The service did not respond to the start or control request in a timely fashion. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1.Install JBoss EAP 6.4.5 and Native Utilities for Windows Server x86_64 2.Create a jboss user with add-user.bat,(jbossadmin/Redhat!23) note:please use'!' in the password. 3.Install EAP as a window service with command: C:\jboss-eap-6.4\modules\system\layers\base\native\sbin>service.bat install /jbossuser jbossadmin /jbosspass Redhat!23 /loglevel DEBUG /debug /startup 4.start EAP 6 service and stop it,error will appear. Actual results: Can't stop it and error appears. Expected results: Can stop it successfully. Additional info: Use regedit.exe and export (as TXT!) the branch "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation" we can see the '!' missing from the --password=Redhat23 ,it's the root cause of this issue,if the jboss user pwd doesn't use '!',it can be stopped normally. registry.txt: --------------------- Value 2 Name: Params Type: REG_MULTI_SZ Data: /c jboss-cli.bat --controller=localhost:9999 --connect --uesr=jbossadmin --password=Redhat23 --command=:shutdown