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
Just remove the quotes around description value:
set DESCRIPTION=WildFly Application Server
See: https://issues.jboss.org/browse/WFCORE-1719
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With