[jboss-jira] [JBoss JIRA] (WFLY-3149) Windows service on 64 bit systems cannot be stopped
Tomaz Cerar (JIRA)
issues at jboss.org
Fri Apr 25 04:26:34 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar resolved WFLY-3149.
-------------------------------
Resolution: Rejected
from Chris French on forums:
I had the same(or similar) problem and the following fixed the issue for me:
Given:
The service is running under a 'Log On' account that is not 'Local System'.
In my case it was running under an AD account that could connect to an SQL Server database via 'Integrated Security'.
Resolution 1:
Run the service as Local System.
Resolution 2:
When installing the service include the user and password options:
{noformat}service install /user <user> /password <password>{noformat}
Just read the appropriate documentation in the service.bat which states the correct way to get the user and password into the service during the installation:
in JBOSS_HOME/bin/service/service.bat
{noformat}
echo Usage:
echo service install [/controller localhost:9990] [/loglevel INFO] [/host [domainhost]] [/user username /password password]
echo service uninstall
echo service start
echo service stop
echo service restart
echo(
echo The options for "service install":
echo /controller : the host:port of the domain controller, default: 127.0.0.1:9990
echo /loglevel : the log level for the service: Error, Info, Warn or Debug ^(Case insensitive^), default: INFO
echo /host [domainhost] : indicated domain mode is to be used with an optional domain controller name, default: master
echo Not specifying /host will install in standalone mode
echo /user : username for the shutdown command
echo /password : password for the shutdown command
echo(
{noformat}
> Windows service on 64 bit systems cannot be stopped
> ---------------------------------------------------
>
> Key: WFLY-3149
> URL: https://issues.jboss.org/browse/WFLY-3149
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Scripts
> Affects Versions: 8.0.0.Final
> Environment: Windows 2008 Server, Windows 7 professional - both 64 bit systems using JDK 1.7.0_09
> Reporter: Mohan Potturi
> Assignee: Mladen Turk
>
> The Windows service cannot be stopped. It says 'stopping' in the windows service user interface window. The only way to stop it is ti actually kill the java process. It works flawlessly on 32 bit systems though.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list