日期:2014-05-20  浏览次数:20910 次

Jboss启动时提示错误,无法解析server目录下的文件
Java code


10:21:13,765 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
10:21:13,765 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
10:21:13,765 DEBUG [ServerImpl] Using config: org.jboss.bootstrap.BaseServerConfig@f42ad0
10:21:13,765 DEBUG [ServerImpl] Server type: class org.jboss.bootstrap.microcontainer.ServerImpl
10:21:13,765 DEBUG [ServerImpl] Server loaded through: org.jboss.bootstrap.NoAnnotationURLClassLoader
10:21:13,765 INFO  [ServerImpl] Bootstrap URL: null
10:21:13,765 INFO  [ServerImpl] Home Dir: D:\jboss-5.1.0.GA
10:21:13,765 INFO  [ServerImpl] Home URL: file:/D:/jboss-5.1.0.GA/
10:21:13,765 INFO  [ServerImpl] Library URL: file:/D:/jboss-5.1.0.GA/lib/
10:21:13,765 INFO  [ServerImpl] Patch URL: null
10:21:13,781 INFO  [ServerImpl] Common Base URL: file:/D:/jboss-5.1.0.GA/common/
10:21:13,781 INFO  [ServerImpl] Common Library URL: file:/D:/jboss-5.1.0.GA/common/lib/
10:21:13,781 INFO  [ServerImpl] Server Name: default
10:21:13,781 INFO  [ServerImpl] Server Base Dir: D:\jboss-5.1.0.GA\server
10:21:13,781 INFO  [ServerImpl] Server Base URL: file:/D:/jboss-5.1.0.GA/server/
10:21:13,781 INFO  [ServerImpl] Server Config URL: file:/D:/jboss-5.1.0.GA/server/default/conf/
10:21:13,781 INFO  [ServerImpl] Server Home Dir: D:\jboss-5.1.0.GA\server\default
10:21:13,781 INFO  [ServerImpl] Server Home URL: file:/D:/jboss-5.1.0.GA/server/default/
10:21:13,781 INFO  [ServerImpl] Server Data Dir: D:\jboss-5.1.0.GA\server\default\data
10:21:13,781 INFO  [ServerImpl] Server Library URL: file:/D:/jboss-5.1.0.GA/server/default/lib/
10:21:13,781 INFO  [ServerImpl] Server Log Dir: D:\jboss-5.1.0.GA\server\default\log
10:21:13,781 INFO  [ServerImpl] Server Native Dir: D:\jboss-5.1.0.GA\server\default\tmp\native
10:21:13,796 INFO  [ServerImpl] Server Temp Dir: D:\jboss-5.1.0.GA\server\default\tmp
10:21:13,796 INFO  [ServerImpl] Server Temp Deploy Dir: D:\jboss-5.1.0.GA\server\default\tmp\deploy
10:21:13,796 DEBUG [ServerImpl] Shutdown hook added Thread[JBoss Shutdown Hook,5,jboss]
10:21:13,812 DEBUG [KernelFactory] Starting JBoss Kernel construction...
10:21:13,984 DEBUG [KernelFactory] Completed JBoss Kernel construction.  Duration: 172 milliseconds
10:21:14,515 DEBUG [ServerImpl] Already in start, ignoring duplicate start
10:21:14,515 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
10:21:14,562 DEBUG [SaxJBossXBParser] Created parser: org.apache.xerces.jaxp.SAXParserImpl@1f11507, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
10:21:14,562 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/validation set to: true
10:21:14,562 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/namespaces set to: true
10:21:14,562 DEBUG [SaxJBossXBParser] http://apache.org/xml/features/validation/dynamic set to: true
10:21:14,609 DEBUG [SaxJBossXBParser] Created parser: org.apache.xerces.jaxp.SAXParserImpl@1f11507, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
10:21:14,609 DEBUG [ServerImpl] Failed to start
java.lang.RuntimeException: Error unmarshalling file:/D:/jboss-5.1.0.GA/server/default/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:619)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/D:/jboss-5.1.0.GA/server/default/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: D:\jboss-5.1.0.GA\server\default\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
10:21:14,656 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
10:21:14,687 INFO  [ServerImpl] Shutdown complete