断点

每天进步一点点!
posts - 174, comments - 56, trackbacks - 0, articles - 21

JBoss-5.0在MyEclipse中的启动问题

Posted on 2010-01-14 21:22 断点 阅读(786) 评论(0)  编辑  收藏 所属分类: JBoss

19:02:31,843 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
19:02:31,843 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA

date=200812041714)
19:02:31,843 INFO  [ServerImpl] Bootstrap URL: null
19:02:31,843 INFO  [ServerImpl] Home Dir: E:\jboss-5.0.0.GA
19:02:31,843 INFO  [ServerImpl] Home URL: file:/E:/jboss-5.0.0.GA/
19:02:31,843 INFO  [ServerImpl] Library URL: file:/E:/jboss-5.0.0.GA/lib/
19:02:31,843 INFO  [ServerImpl] Patch URL: null
19:02:31,843 INFO  [ServerImpl] Common Base URL: file:/E:/jboss-5.0.0.GA/common/
19:02:31,843 INFO  [ServerImpl] Common Library URL: file:/E:/jboss-5.0.0.GA/common/lib/
19:02:31,843 INFO  [ServerImpl] Server Name: JBoss
19:02:31,843 INFO  [ServerImpl] Server Base Dir: E:\jboss-5.0.0.GA\server
19:02:31,843 INFO  [ServerImpl] Server Base URL: file:/E:/jboss-5.0.0.GA/server/
19:02:31,843 INFO  [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.GA/server/JBoss/conf/
19:02:31,843 INFO  [ServerImpl] Server Home Dir: E:\jboss-5.0.0.GA\server\JBoss
19:02:31,843 INFO  [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.GA/server/JBoss/
19:02:31,843 INFO  [ServerImpl] Server Data Dir: E:\jboss-5.0.0.GA\server\JBoss\data
19:02:31,843 INFO  [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.GA/server/JBoss/lib/
19:02:31,843 INFO  [ServerImpl] Server Log Dir: E:\jboss-5.0.0.GA\server\JBoss\log
19:02:31,859 INFO  [ServerImpl] Server Native Dir: E:\jboss-5.0.0.GA\server\JBoss\tmp\native
19:02:31,859 INFO  [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.GA\server\JBoss\tmp
19:02:31,859 INFO  [ServerImpl] Server Temp Deploy Dir: E:\jboss-5.0.0.GA\server\JBoss\tmp\deploy
19:02:34,468 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-

5.0.0.GA/server/JBoss/conf/bootstrap.xml
Failed to boot JBoss:
java.lang.RuntimeException: Error unmarshalling file:/E:/jboss-5.0.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:129)
 at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
 at org.jboss.Main.boot(Main.java:209)
 at org.jboss.Main$1.run(Main.java:547)
 at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/E:/jboss-

5.0.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: E:\jboss-5.0.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)19:02:35,015 INFO 

[ServerImpl] Runtime shutdown hook called, forceHalt: true

 ... 7 more
19:02:35,078 INFO  [ServerImpl] Shutdown complete
Shutdown complete
Halting VM

 

解决方法:在MyEclipse中的应用服务器中,选中JBoss,将其Server name配置改为default即可。



posted @ 2009-11-28 17:06 断点 阅读(85) | 评论 (0)

只有注册用户登录后才能发表评论。


网站导航: