It's not a secret anymore!*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "problem starting JBoss server in MyEclipse" Watch "problem starting JBoss server in MyEclipse" New topic
Author

problem starting JBoss server in MyEclipse

pravat ranjan malik
Greenhorn

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(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:619)
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(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: I:\Installed SOFT\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)
... 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
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

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

Caused by: java.io.FileNotFoundException: 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
Greenhorn

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

Joined: Jun 06, 2007
Posts: 2713
    
    5

"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.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem starting JBoss server in MyEclipse
 
Similar Threads
Failed to boot JBoss:
jboss-5.0.0.GA error in Eclipse Indigo 3.6.2
jboss not starting - config issue?
Getting "Error unmarshalling file" exception
Steps to do Jboss clustering