簡體   English   中英

在jBoss服務器中以java.lang.RuntimeException的形式獲取異常:解組文件時出錯:/opt/jboss-5.1.0.GA/server/port_1/conf/bootstrap.xml

[英]getting an exception in jBoss server as java.lang.RuntimeException: Error unmarshalling file:/opt/jboss-5.1.0.GA/server/port_1/conf/bootstrap.xml

我有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

另外,請注意,您所使用的版本確實過舊。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM