Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

problem starting JBoss server in MyEclipse

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you Peter Johnson, it works for me.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic