Discussion:
[jboss-user] [Beginner's Corner] - Re: Windows 2008 is shutting down if I stop the JBoss 7.1.1 Windows-Service
Peter Johnson
2013-08-05 00:32:25 UTC
Permalink
Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: Windows 2008 is shutting down if I stop the JBoss 7.1.1 Windows-Service"

To view the discussion, visit: https://community.jboss.org/message/831319#831319

--------------------------------------------------------------
What mechanism are you using to run JBoss AS as a serivice? There are several mechanisms mentioned here:
https://community.jboss.org/docs/DOC-11932 https://community.jboss.org/wiki/RunJBossAsAServiceOnWindows

Most likely culprits:
a) If using a script mechanism, the script is calling Windows shutdown
b) If using a configurable mechanism (e.g. Java Service Wrapper), the configuration is set such that Windows is shut down
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831319#831319]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Andreas Herrmann
2013-08-05 20:28:00 UTC
Permalink
Andreas Herrmann [https://community.jboss.org/people/andreas_herrmann] created the discussion

"Re: Windows 2008 is shutting down if I stop the JBoss 7.1.1 Windows-Service"

To view the discussion, visit: https://community.jboss.org/message/831489#831489

--------------------------------------------------------------
it was case a).

The service.bat I used was calling "shutdown" from Windows.

After changing the script it works as expected.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831489#831489]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Loading...