简体   繁体   English

无法在Eclipse中启动JBoss服务器

[英]Cannot start JBoss server in eclipse

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

I'm using JBoss 6.1+ server in eclipse Luna and I'm trying to start it, but I end up getting the above error. 我在Eclipse Luna中使用JBoss 6.1+服务器,并且试图启动它,但最终遇到上述错误。 Not sure why? 不知道为什么吗? Any help ? 有什么帮助吗? I'm using 1.7 JDK, I searched Caught exception during boot ConfigurationPersistenceException , the configuration its different. 我使用的是1.7 JDK,我在引导ConfigurationPersistenceException期间搜索了Caught异常 ,其配置有所不同。 so any suggestion? 有什么建议吗? Many thanks!!! 非常感谢!!!

check line number 3 检查行号3

Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,1] 由以下原因引起:javax.xml.stream.XMLStreamException:[row,col]处的ParseError:[3,1]

You have added something in xml which is not formatted/unacceptable. 您在xml中添加了某些格式不正确/不可接受的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM