gpt4 book ai didi

java - 在 jBoss 服务器中出现 java.lang.RuntimeException : Error unmarshalling file:/opt/jboss-5. 1.0.GA/server/port_1/conf/bootstrap.xml 异常

转载 作者:行者123 更新时间:2023-12-02 12:41:23 25 4
gpt4 key购买 nike

我有 2 个实例,在一个实例中,我的应用程序运行良好,但在另一个实例中出现异常。我正在使用 jboss-5.1.0.GA 版本的 red-hat 工作。

异常如下

19:59:05,178 INFO  [ServerImpl] Server Temp Deploy Dir: /opt/jboss-5.1.0.GA/server/port_1/tmp/deploy
19:59:05,771 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/jboss-5.1.0.GA/server/port_1/conf/bootstrap.xml
Failed to boot JBoss:
java.lang.RuntimeException: Error unmarshalling file:/opt/jboss-5.1.0.GA/server/port_1/conf/bootstrap.xml
at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:60)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:123)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/opt/jboss-5.1.0.GA/server/port_1/conf/bootstrap.xml
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:119)
at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:53)
... 5 more
Caused by: java.io.FileNotFoundException: /opt/jboss-5.1.0.GA/server/port_1/conf/bootstrap.xml
at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:105)
at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:112)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
... 7 more
19:59:05,870 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
19:59:05,896 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
bash-3.2#

最佳答案

注意这一点:

Caused by: java.io.FileNotFoundException: /opt/jboss-5.1.0.GA/server/port_1/conf/bootstrap.xml

此外,请注意您使用的版本非常旧。

关于java - 在 jBoss 服务器中出现 java.lang.RuntimeException : Error unmarshalling file:/opt/jboss-5. 1.0.GA/server/port_1/conf/bootstrap.xml 异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44909736/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com