WildFly 8 service does not stop on Windows 2012 R2 core
hpillai Mar 17, 2014 11:17 AMWildfly 8 final installed on Windows 2012 R2 server core OS.
Java JRE server 64 bit version 1.7.0_51 installed on d:\Java\jdk1.7.0_51
http://www.oracle.com/technetwork/java/javase/downloads/server-jre7-downloads-1931105.html
Environment variables and path statement:
JAVA_HOME=D:\Java\jdk1.7.0_51
JBOSS_HOME=D:\wildfly-8-Final
JRE_HOME=D:\Java\jdk1.7.0_51\jre
Path=D:\Java\jdk1.7.0_51\jre\bin;D:\Java\jdk1.7.0_51\bin (appended to the existing values)
Service installed and starts fine using service.bat that comes with Wildfly in D:\Wildfly-8-final\bin\service folder. However cannot stop service using service stop or windows services applet.
Windows services applet shows the service status as stopping and will show the same till the process is killed. I gave it a day to see if it stops, but it doesnt.
service stop command shows the following error:
Using the X86-64bit version of prunsrv
ERROR: Failed to load service configuration
Debug level log reveals the following:
[2014-03-13 17:12:24] [info] ( prunsrv.c:687 ) [ 1792] Stopping service ‘Wildfly’ …
[2014-03-13 17:12:24] [debug] ( prunsrv.c:844 ) [ 2068] reportServiceStatusE: 3, 0, 3000, 0
[2014-03-13 17:12:24] [info] ( prunsrv.c:943 ) [ 2000] Stopping service…
[2014-03-13 17:12:24] [debug] ( prunsrv.c:1057) [ 2000] Waiting for stop worker to finish…
[2014-03-13 17:12:28] [error] ( prunsrv.c:708 ) [ 1792] Failed to stop ‘Wildfly’ service
[2014-03-13 17:12:28] [error] ( prunsrv.c:708 ) [ 1792] The data area passed to a system call is too small.
[2014-03-13 17:12:28] [info] ( prunsrv.c:716 ) [ 1792] Stop service finished.
[2014-03-13 17:12:28] [error] ( prunsrv.c:1755) [ 1792] Commons Daemon procrun failed with exit value: 6 (Failed to stop service)
[2014-03-13 17:12:28] [error] ( prunsrv.c:1755) [ 1792] The data area passed to a system call is too small.
[2014-03-13 17:12:32] [debug] (rprocess.c:122 ) [ 2504] Child process exit code 0
[2014-03-13 17:12:32] [debug] ( prunsrv.c:1059) [ 2000] Stop worker finished.
[2014-03-13 17:12:32] [debug] ( prunsrv.c:844 ) [ 2000] reportServiceStatusE: 3, 0, 300000, 0
[2014-03-13 17:12:32] [debug] ( prunsrv.c:1093) [ 2000] Waiting for worker to die naturally…
Any pointers for resolving this is greatly appreciated. Thanks