代码之家  ›  专栏  ›  技术社区  ›  Murat Karagozgil

Wildfly 8.2.1 final无法解析配置

  •  2
  • Murat Karagozgil  · 技术社区  · 8 年前

    我有一个关于wildfly服务器的问题。您可以在顶部图像链接中看到此错误。我认为这个问题是因为JVM而发生的,但我无法修复它。

    我的操作系统是 乌班图14.04 我已经安装了 jdk 1.7和1.8 .

    我将默认jdk更改为1.7。但我也尝试过使用jdk 1.8,但它不起作用。

    murat@murat-ubuntu:~/wildfly-8.2.1.Final/bin$ sh standalone.sh 
    =========================================================================
    
      JBoss Bootstrap Environment
    
      JBOSS_HOME: /home/murat/wildfly-8.2.1.Final
    
      JAVA: /usr/lib/jvm/java-7-openjdk-amd64/bin/java
    
      JAVA_OPTS:  -server -XX:+UseCompressedOops  -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
    =========================================================================
    19:35:00,280 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final
    19:35:00,500 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final
    19:35:00,573 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.2.1.Final "Tweek" starting
    19:35:01,133 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration
        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:259) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_101]
    Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module com.netmera.sal.jboss_ext
        at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:155) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:434) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
        at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        ... 3 more
    Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.7.0_101]
        at java.util.concurrent.FutureTask.get(FutureTask.java:188) [rt.jar:1.7.0_101]
        at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:147) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        ... 9 more
    Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module
        at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:196) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_101]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_101]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_101]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_101]
        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]
    Caused by: org.jboss.modules.ModuleNotFoundException: com.netmera.sal.jboss_ext:main
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240) [jboss-modules.jar:1.3.3.Final]
        at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178) [wildfly-controller-8.2.1.Final.jar:8.2.1.Final]
        ... 8 more
    19:35:01,139 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
    19:35:01,153 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015950: WildFly 8.2.1.Final "Tweek" stopped in 8ms
    
    1 回复  |  直到 8 年前
        1
  •  2
  •   jpkroehling    8 年前

    Caused by: org.jboss.modules.ModuleNotFoundException: com.netmera.sal.jboss_ext:main

    这是错误消息的关键部分。在您的Wildfly配置中,有一个对此模块的引用( com.netmera.sal.jboss_ext ),但找不到。您可能在上定义了它 standalone.xml ,或被其他模块引用。