I want to run JBoss AS as a window service. I am using JBossNative and it worked fine on my own machine (MS Windows XP Professional 2002). However I have problems stopping the service in our test environment (MS Windows Server 2003 Enterprise Edition). When stopping the service I get the error (I have renamed the service name from JBAS42SVC to JBossAS404SVC):
C:\jboss-4.0.4.GA\bin>net stop JBossAS404SVC The service is not responding to the control function. More help is available by typing NET HELPMSG 2186.
C:\jboss-4.0.4.GA\bin>net stop JBossAS404SVC The JBoss Application Server 4.0.4 service is not started. More help is available by typing NET HELPMSG 3521.
The problem was in the configuration of the JBoss AS on dev. It had been slimmed down (
http://www.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming) and the JMX invoker service had been removed.