2017-05-23 113 views
0
12:03:29,479 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1 
12:03:29,949 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1 
12:03:30,072 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting 
12:03:30,678 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:141) [jboss-as-controller-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] 
    at org.jboss.as.server.ServerService.boot(ServerService.java:308) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] 
    at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:188) [jboss-as-controller-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] 
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79] 
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,1] 
Message: Unexpected element '{urn:jboss:domain:2.2}server' 
    at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2] 
    at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2] 
    at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] 
    ... 3 more 

12:03:30,682 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. 
12:03:30,711 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015950: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) stopped in 13ms 

我在eclipse Luna中使用JBoss 6.1+服務器,我試圖啓動它,但最終得到了上述錯誤。不知道爲什麼?任何幫助?我正在使用1.7 JDK, 我搜索了Caught exception during boot ConfigurationPersistenceException,其配置與衆不同。所以有什麼建議?非常感謝!!!無法在eclipse中啓動JBoss服務器

+0

請將您的配置文件與JBoss配置目錄中的standalone-preview.xml進行比較。您是否爲消息傳遞子系統添加了擴展元素? –

+0

@JaySmith我找不到standalone-preview.xml文件,並且是的,我爲郵件系統添加了一個擴展元素,因爲它無法工作,我將獨立文件恢復爲以前的版本。 –

回答

0

檢查3號線

產生的原因:javax.xml.stream.XMLStreamException:ParseError在[行,列]:[3,1]

您已經添加在XML的東西這不是格式化/不可接受的。