Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WildFly 10.1 Service is not starting

When starting the WildFly service it fails with the error message:

The data area passed to a system call is too small.

This is how I installed the service:

I have copied C:\wildfly-10.1.0.Final\docs\contrib\scripts\service to C:\wildfly-10.1.0.Final\bin\service.

Similar to how it was working with WildFly 8, I have installed the services with the following command:

service install /jbossuser admin /jbosspass mypassword

When starting the service using service start, the command fails with the following error message:

Using the X86-32bit version of prunsrv

The data area passed to a system call is too small.
Failed to start serviceService Wildfly starting...
ERROR: Failed to load service Wildfly configuration
like image 777
NDB Avatar asked Oct 04 '16 09:10

NDB


2 Answers

Just remove the quotes around description value:

set DESCRIPTION=WildFly Application Server

See: https://issues.jboss.org/browse/WFCORE-1719

like image 52
younes nedjar Avatar answered Sep 28 '22 01:09

younes nedjar


Delete the value of description in service.bat instead of "Wildfly Application Server"

**rem defaults
set SHORTNAME=Wildfly
set DISPLAYNAME=WildFly
rem NO quotes around the description here !
set DESCRIPTION="WildFly Application Server"
set CONTROLLER=localhost:9990
set DC_HOST=master
set IS_DOMAIN=false
set LOGLEVEL=INFO
set LOGPATH=
set JBOSSUSER=
set JBOSSPASS=
set SERVICE_USER=
set SERVICE_PASS=
set STARTUP_MODE=manual
set ISDEBUG=
set CONFIG=
set HOSTCONFIG=host.xml
set BASE=**

It worked for me, i think you can use a description without spaces, but i didn't try.

like image 34
user7306593 Avatar answered Sep 28 '22 01:09

user7306593