JBOSS单独运行时正常,可是安装到myeclipse之后遇到了问题,求助
13:15:38,953 INFO [ServerImpl] Starting JBoss (Microcontainer)...
13:15:38,953 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
13:15:38,953 INFO [ServerImpl] Bootstrap URL: null
13:15:38,953 INFO [ServerImpl] Home Dir: D:\jboss-5.1.0.GA
13:15:38,953 INFO [ServerImpl] Home URL: file:/D:/jboss-5.1.0.GA/
13:15:38,953 INFO [ServerImpl] Library URL: file:/D:/jboss-5.1.0.GA/lib/
13:15:38,953 INFO [ServerImpl] Patch URL: null
13:15:38,953 INFO [ServerImpl] Common Base URL: file:/D:/jboss-5.1.0.GA/common/
13:15:38,953 INFO [ServerImpl] Common Library URL: file:/D:/jboss-5.1.0.GA/common/lib/
13:15:38,953 INFO [ServerImpl] Server Name: jboss
13:15:38,953 INFO [ServerImpl] Server Base Dir: D:\jboss-5.1.0.GA\server
13:15:38,953 INFO [ServerImpl] Server Base URL: file:/D:/jboss-5.1.0.GA/server/
13:15:38,953 INFO [ServerImpl] Server Config URL: file:/D:/jboss-5.1.0.GA/server/jboss/conf/
13:15:38,953 INFO [ServerImpl] Server Home Dir: D:\jboss-5.1.0.GA\server\jboss
13:15:38,953 INFO [ServerImpl] Server Home URL: file:/D:/jboss-5.1.0.GA/server/jboss/
13:15:38,953 INFO [ServerImpl] Server Data Dir: D:\jboss-5.1.0.GA\server\jboss\data
13:15:38,953 INFO [ServerImpl] Server Library URL: file:/D:/jboss-5.1.0.GA/server/jboss/lib/
13:15:38,953 INFO [ServerImpl] Server Log Dir: D:\jboss-5.1.0.GA\server\jboss\log
13:15:38,953 INFO [ServerImpl] Server Native Dir: D:\jboss-5.1.0.GA\server\jboss\tmp\native
13:15:38,953 INFO [ServerImpl] Server Temp Dir: D:\jboss-5.1.0.GA\server\jboss\tmp
13:15:38,953 INFO [ServerImpl] Server Temp Deploy Dir: D:\jboss-5.1.0.GA\server\jboss\tmp\deploy
13:15:39,578 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jboss-5.1.0.GA/server/jboss/conf/bootstrap.xml
Failed to boot JBoss:
java.lang.RuntimeException: Error unmarshalling file:/D:/jboss-5.1.0.GA/server/jboss/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/jboss/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\jboss\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
13:15:39,703 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
13:15:39,718 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
[解决办法]
顶
[解决办法]
在myeclipse中,把jboss配置的server name改为default。一定可以解决。
[解决办法]