File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server JBoss v5.0 at localhost failed to start ( Eclipse / jboss-5.1.0.GA )

 
Malvika Mistry
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to start jboss-5.1.0.GA on eclipse helios, but it's giving me error ,
PFA to see the error msg.

run.bat: unused non-option argument: -
run.bat: unused non-option argument: type
run.bat: unused non-option argument: your
run.bat: unused non-option argument: own
run.bat: unused non-option argument: here
16:14:05,733 INFO [ServerImpl] Starting JBoss (Microcontainer)...
16:14:05,733 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
16:14:05,734 INFO [ServerImpl] Bootstrap URL: null
16:14:05,734 INFO [ServerImpl] Home Dir: D:\jboss-5.1.0.GA
16:14:05,734 INFO [ServerImpl] Home URL: file:/D:/jboss-5.1.0.GA/
16:14:05,734 INFO [ServerImpl] Library URL: file:/D:/jboss-5.1.0.GA/lib/
16:14:05,735 INFO [ServerImpl] Patch URL: null
16:14:05,735 INFO [ServerImpl] Common Base URL: file:/D:/jboss-5.1.0.GA/common/
16:14:05,896 INFO [ServerImpl] Common Library URL: file:/D:/jboss-5.1.0.GA/common/lib/
16:14:05,896 INFO [ServerImpl] Server Name: other
16:14:05,896 INFO [ServerImpl] Server Base Dir: D:\jboss-5.1.0.GA\server
16:14:05,896 INFO [ServerImpl] Server Base URL: file:/D:/jboss-5.1.0.GA/server/
16:14:05,896 INFO [ServerImpl] Server Config URL: file:/D:/jboss-5.1.0.GA/server/other/conf/
16:14:05,897 INFO [ServerImpl] Server Home Dir: D:\jboss-5.1.0.GA\server\other
16:14:05,897 INFO [ServerImpl] Server Home URL: file:/D:/jboss-5.1.0.GA/server/other/
16:14:05,897 INFO [ServerImpl] Server Data Dir: D:\jboss-5.1.0.GA\server\other\data
16:14:05,897 INFO [ServerImpl] Server Library URL: file:/D:/jboss-5.1.0.GA/server/other/lib/
16:14:05,897 INFO [ServerImpl] Server Log Dir: D:\jboss-5.1.0.GA\server\other\log
16:14:05,897 INFO [ServerImpl] Server Native Dir: D:\jboss-5.1.0.GA\server\other\tmp\native
16:14:05,897 INFO [ServerImpl] Server Temp Dir: D:\jboss-5.1.0.GA\server\other\tmp
16:14:05,897 INFO [ServerImpl] Server Temp Deploy Dir: D:\jboss-5.1.0.GA\server\other\tmp\deploy
16:14:06,745 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jboss-5.1.0.GA/server/other/conf/bootstrap.xml
Failed to boot JBoss:
java.lang.RuntimeException: Error unmarshalling file:/D:/jboss-5.1.0.GA/server/other/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(Unknown Source)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/D:/jboss-5.1.0.GA/server/other/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\other\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
16:14:07,050 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
16:14:07,068 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM



jboss-eclipse error.jpg
Error : Server JBoss v5.0 at localhost failed to start ( Eclipse / jboss-5.1.0.GA )
[Thumbnail for jboss-eclipse error.jpg]
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Malvika, welcome to Java Ranch!

Sounds to me like you started JBoss AS using:

run -c other

That's fine, but you have to first create the "other" configuration before you can do that. If you look under the server directory you will see all of the configurations that are available. The "default" configuration is what most people run and you don't have to specify the -c option to run it, just enter:

run

Wait. I see that you are trying to start this in Eclipse. I suspect that when you created the server in Eclipse that there was an "other" configuration, but you later deleted it. I recommend deleting that server in Eclipse and creating another one. (Actually, I really recommend that you avoid running from within Eclipse; just scan the forums where you will find numerous people having issues with using Eclipse because it tends to get in your way more than helping you.)
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think this is:

run.bat: unused non-option argument: -
run.bat: unused non-option argument: type
run.bat: unused non-option argument: your
run.bat: unused non-option argument: own
run.bat: unused non-option argument: here

Looks like run - type your own here

How did you install JBoss as a server in Eclipse.

I have never had a problem like this, everywhere from 4.0.5 to 7.1 (and 6 EAP).

I would clean out your sever definitions and start from scratch.
Peter is right about server definition too.

Oh, And why are you trying to start in "Profiling mode"??

WP

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic