使用域配置在服务器上启动Wildfly 10.0.0.final时出错

时间:2016-06-23 12:19:09

标签: java windows wildfly-10

美好的一天,

我正在尝试学习如何使用java和wildfly。 我可以在独立模式下在Win 10机器上启动wildfly而没有任何问题。我能够毫无问题地完成教程。 我现在尝试使用我的服务器环境,但我似乎无法使用域配置启动wildfly。

我最初在-XX:MaxMetaspaceSize = 256m时遇到错误,发现我需要更新我的JAVA。 我一直在互联网搜索有关wildfly给出的配置,消息,警告和错误的任何帮助,但似乎无法找到类似的问题。还查看了我可以找到的每个控制台和端口配置问题,但我改变的任何内容似乎都不会影响它。

任何帮助都将不胜感激。

我有wildfly-10.0.0.Final可用PATH变量集。 我使用的是Windows Server 2008 R2 x64bit VM Server。 我有jdk1.8.0_91。 我在尝试使用domain.bat

启动服务器时遇到了问题

结果是:

Calling "C:\inetpub\wwwroot\winterpol\wildfly\bin\domain.conf.bat"
Setting JAVA property to "C:\Program Files (x86)\Java\jre8_92\bin\java"
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: "C:\inetpub\wwwroot\winterpol\wildfly"

  JAVA: "C:\Program Files (x86)\Java\jre8_92\bin\java"

  JAVA_OPTS: "-Xms64M -Xmx512M  -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server"

===============================================================================

14:00:30,991 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
14:00:31,179 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 14:00:31,743 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
[Host Controller] 14:00:31,930 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
[Host Controller] 14:00:31,993 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Servlet 10.0.0.Final (WildFly Core 2.0.10.Final) starting
[Host Controller] 14:00:32,664 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 14:00:32,679 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.3.4.Final
[Host Controller] 14:00:32,679 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.3.4.Final
[Host Controller] 14:00:32,757 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.18.Final
[Host Controller] 14:00:32,788 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) WFLYRMT0001: Listening on 127.0.0.1:9999

[Host Controller] 14:00:32,788 WARN  [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-4) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
[Host Controller] 14:00:33,100 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0369: Required capabilities are not available:
[Host Controller]     org.wildfly.domain.server-group.other-server-group in context 'server-config'; There are no known registration points which can provide this capability.
[Host Controller] 14:00:33,100 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
[Host Controller] 14:00:33,132 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Servlet 10.0.0.Final (WildFly Core 2.0.10.Final) stopped in 11ms
14:00:33,615 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) WFLYPC0011: Process 'Host Controller' finished with an exit status of 99
14:00:33,615 INFO  [org.jboss.as.process] (Thread-8) WFLYPC0017: Shutting down process controller
14:00:33,615 INFO  [org.jboss.as.process] (Thread-8) WFLYPC0016: All processes finished; exiting

1 个答案:

答案 0 :(得分:1)

这是WildFly Servlet发行版的一个已知问题。 JIRA (WFLY-6201)有一个解决方法。基本上缺少other-server-group个人资料,需要添加。