File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes problem starting JBoss server in MyEclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "problem starting JBoss server in MyEclipse" Watch "problem starting JBoss server in MyEclipse" New topic

problem starting JBoss server in MyEclipse

pravat ranjan malik

Joined: Dec 28, 2008
Posts: 2
When I am trying to run my JBoss server I am getting Error:

21:13:16,432 INFO [ServerImpl] Starting JBoss (Microcontainer)...
21:13:16,433 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
21:13:16,433 INFO [ServerImpl] Bootstrap URL: null
21:13:16,433 INFO [ServerImpl] Home Dir: I:\Installed SOFT\jboss-5.0.0.GA
21:13:16,433 INFO [ServerImpl] Home URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/
21:13:16,434 INFO [ServerImpl] Library URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/lib/
21:13:16,434 INFO [ServerImpl] Patch URL: null
21:13:16,434 INFO [ServerImpl] Common Base URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/common/
21:13:16,434 INFO [ServerImpl] Common Library URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/common/lib/
21:13:16,435 INFO [ServerImpl] Server Name: JBoss
21:13:16,435 INFO [ServerImpl] Server Base Dir: I:\Installed SOFT\jboss-5.0.0.GA\server
21:13:16,435 INFO [ServerImpl] Server Base URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/server/
21:13:16,435 INFO [ServerImpl] Server Config URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/server/JBoss/conf/
21:13:16,435 INFO [ServerImpl] Server Home Dir: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss
21:13:16,435 INFO [ServerImpl] Server Home URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/server/JBoss/
21:13:16,435 INFO [ServerImpl] Server Data Dir: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss\data
21:13:16,435 INFO [ServerImpl] Server Library URL: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/server/JBoss/lib/
21:13:16,438 INFO [ServerImpl] Server Log Dir: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss\log
21:13:16,438 INFO [ServerImpl] Server Native Dir: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss\tmp\native
21:13:16,438 INFO [ServerImpl] Server Temp Dir: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss\tmp
21:13:16,438 INFO [ServerImpl] Server Temp Deploy Dir: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss\tmp\deploy
21:13:16,938 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/I:/Installed%20SOFT/jboss-5.0.0.GA/server/JBoss/conf/bootstrap.xml
Failed to boot JBoss:
java.lang.RuntimeException: Error unmarshalling file:/I:/Installed%20SOFT/jboss-5.0.0.GA/server/JBoss/conf/bootstrap.xml
at org.jboss.bootstrap.xml.BootstrapParser.parse(
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(
at org.jboss.bootstrap.AbstractServerImpl.start(
at org.jboss.Main.boot(
at org.jboss.Main$
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/I:/Installed%20SOFT/jboss-5.0.0.GA/server/JBoss/conf/bootstrap.xml
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(
at org.jboss.bootstrap.xml.BootstrapParser.parse(
... 5 more
Caused by: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss\conf\bootstrap.xml
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(
... 7 more
21:13:17,073 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
21:13:17,087 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM

Please help....i am trying to run a EAR project containing WEB and EJB projects
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Looks like you installed JBoos AS into a directory with spaces in the path. Move it out of "Installed SOFT" (I have mine at d:/opt/jboss/jboss-5.0.0.GA) and try again.

Would the moderator please move this to the JBoss forum? Thanks.

JBoss In Action
Peter Johnson

Joined: May 14, 2008
Posts: 5852

One more thought. Looking at this part of the error:

Caused by: I:\Installed SOFT\jboss-5.0.0.GA\server\JBoss\conf\bootstrap.xml

it would appear that you started JBoss AS by entering:

run -c JBoss

This is not valid unless you first created the "JBoss" configuration, that is, copied an existing configuration such as "default" to "JBoss" (copied jboss_home/server/default to jboss_home/server/JBoss)
igor bolsovitch

Joined: Feb 22, 2009
Posts: 12
thank you Peter Johnson, it works for me.
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

"red sonic " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.

|Asking Good Questions|
I agree. Here's the link:
subject: problem starting JBoss server in MyEclipse
It's not a secret anymore!