WildFly 10.1服务无法启动

时间:2016-10-04 09:29:12

标签: wildfly wildfly-10 prunsrv

启动WildFly服务时,它失败并显示错误消息:

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

这就是我安装服务的方式:

我已将C:\wildfly-10.1.0.Final\docs\contrib\scripts\service复制到C:\wildfly-10.1.0.Final\bin\service

与使用WildFly 8的方式类似,我使用以下命令安装了服务:

service install /jbossuser admin /jbosspass mypassword

使用service start启动服务时,该命令失败并显示以下错误消息:

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

3 个答案:

答案 0 :(得分:4)

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

>>> a = [[[[-79.43402638260521, -1.69184588855758], [-79.4339722432865, -1.691845844583909], [-79.43397178076256, -1.691851284533779],
[-79.43395283944169, -1.692053292637794], [-79.43395281911414, -1.692054736321033], [-79.43395535750368, -1.692093535418117],
[-79.43390444734398, -1.69223087834723], [-79.43390428016939, -1.692231372437897], [-79.43374523144152, -1.692750043925838],
[-79.4340256570161, -1.692750271834557], [-79.43402638260521, -1.69184588855758]]], [[[-79.43381375958064, -1.691845715849684],
[-79.43312765678151, -1.691845158387183], [-79.4331269307764, -1.692749541273626], [-79.43354270912953, -1.692749879305633],
[-79.43364983051107, -1.692588468489809], [-79.4336510738479, -1.692585646334773], [-79.43371548446397, -1.692327269168548],
[-79.43380554258165, -1.692094789340216], [-79.43380615195998, -1.692091785860122], [-79.43381375958064, -1.691845715849684]]]]
>>> desired = [[-79.43402638260521, -1.69184588855758], [-79.4339722432865, -1.691845844583909], [-79.43397178076256, -1.691851284533779], 
[-79.43395283944169, -1.692053292637794], [-79.43395281911414, -1.692054736321033], [-79.43395535750368, -1.692093535418117], 
[-79.43390444734398, -1.69223087834723], [-79.43390428016939, -1.692231372437897], [-79.43374523144152, -1.692750043925838], 
[-79.4340256570161, -1.692750271834557], [-79.43402638260521, -1.69184588855758], [-79.43381375958064, -1.691845715849684], 
[-79.43312765678151, -1.691845158387183], [-79.4331269307764, -1.692749541273626], [-79.43354270912953, -1.692749879305633], 
[-79.43364983051107, -1.692588468489809], [-79.4336510738479, -1.692585646334773], [-79.43371548446397, -1.692327269168548], 
[-79.43380554258165, -1.692094789340216], [-79.43380615195998, -1.692091785860122], [-79.43381375958064, -1.691845715849684]]

>>> a = [item for sublist in a for subsublist in sublist for item in subsublist]
>>> a == desired
True

请参阅:https://issues.jboss.org/browse/WFCORE-1719

答案 1 :(得分: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=**

它对我有用,我想你可以使用没有空格的描述,但我没试过。

答案 2 :(得分:1)

我在Wildfly 11.0.0.Final观察到类似的错误。 但问题出在DISPLAYNAME选项中。我从默认情况下更改了它,并且我在那里有空格并且它导致了相同的错误。

我改变了(默认名称只是Wildfly):
设置DISPLAYNAME = WildFly Application Server
于:
设置DISPLAYNAME =" WildFly Application Server"

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