WildFly 10.1 service does not start

When starting the WildFly service with an error message, it does not occur:

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

This is how I installed the service:

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

Similar to how it worked with WildFly 8, I installed services with the following command:

  service install / jbossuser admin / jbosspass mypassword 

When starting a service using service start 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 
+5
source share
3 answers

Just remove the quotation marks around the description value:

 set DESCRIPTION=WildFly Application Server 

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

+3
source

Delete description value 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=** 

This worked for me, I think you can use the description without spaces, but I have not tried.

+1
source

I observed a similar error on Wildfly 11.0.0.Final. But the problem was with the DISPLAYNAME option. I changed it by default, and there were white spaces, and this caused the same error.

I changed (the default name is just Wildfly):
set DISPLAYNAME = WildFly Application Server
in:
set DISPLAYNAME = "WildFly Application Server"

And it worked. Its strange that quotes in DESCRIPTION cause an error and the absence of quotes in DISPLAYNAME also causes an error (a simple name without spaces does not need quotes).

+1
source

Source: https://habr.com/ru/post/1257680/


All Articles