6

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
4

3 回答 3

5

只需删除描述值周围的引号:

set DESCRIPTION=WildFly Application Server

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

于 2017-02-23T16:43:42.587 回答
1

我在 Wildfly 11.0.0.Final 上观察到了类似的错误。但问题出在 DISPLAYNAME 选项中。我将其从默认值更改,那里有空格,它导致了同样的错误。

我更改了(默认名称只是 Wildfly):
将 DISPLAYNAME=WildFly 应用程序服务器设置
为:
设置 DISPLAYNAME="WildFly 应用程序服务器"

它奏效了。奇怪的是,DESCRIPTION 中的引号会导致错误,而 DISPLAYNAME 中缺少引号也会导致错误(没有空格的简单名称不需要引号)。

于 2017-11-22T08:52:49.570 回答
1

删除 service.bat 中 description 的值,而不是“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=**

它对我有用,我认为您可以使用没有空格的描述,但我没有尝试。

于 2016-12-16T11:55:50.527 回答