2 Replies Latest reply on Dec 23, 2014 3:01 PM by chris distler

    JBoss EAP 6.3.2 is not shutting down properly using the windows service

    chris distler Newbie

      We have installed the service.bat at %JBOSS_HOME%\modules\system\layers\base\native\sbin\service.bat  on a Windows 2012 R2 server.  The service starts up the JBoss application server with no ERRORs.  When we try to shutdown the service it just hangs and we do not receive any ERRORs in the logs.  Does anyone have any ideas on how-to fix this issue.

       

      Message was edited by: chris distler We were able to run the following command from %JBOSS_HOME% and the application server shutdown properly. jboss-cli.bat --controller=localhost --connect --command=:shutdown

        • 1. Re: JBoss EAP 6.3.2 is not shutting down properly using the windows service
          chris distler Newbie

          I have removed the %CREDENTIALS% from lines 314 and 318.  I am running in standalone mode only.  During shutdown while using the JBossEAP6 windows service there are no ERRORs thrown in the JBoss logs.  In the windows application logs I am getting this ERROR:

           

          Log Name: application

          Source: Application ERROR

          Evvent ID:1000

          Task Category: (100)

          Faulting application name: prunsrv.exe, version: 1.0.15.0, time stamp: 0x51824c56

          Faulting module name: ntdll.dll, version: 6.3.9600.17415, time stamp: 0x5450559e

          Exception code: 0xc0000005

          Fault offset: 0x0000000000030080

          Faulting process id: 0x324

          Faulting application start time: 0x01d0162abe689688

          Faulting application path: P:\moevr\jboss-eap-6.3\modules\system\layers\base\native\sbin\prunsrv.exe

          Faulting module path: C:\Windows\SYSTEM32\ntdll.dll

          Report Id: 712bcdfa-821f-11e4-80d6-0050568231cf

          Faulting package full name:

          Faulting package-relative application ID:

           

          We are running out places to look for assistance.

          • 2. Re: JBoss EAP 6.3.2 is not shutting down properly using the windows service
            chris distler Newbie

            We were able to fix the windows service issue by installing the latest prunsrv.exe from http://commons.apache.org/.  The windows service now stops for us on our Windows 2012 R2 servers.  Here is the package we downloaded: commons-daemon-1.0.15-bin-windows-signed.zip.