This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Server JBoss v5.0 at localhost failed to start ( Eclipse / jboss-5.1.0.GA ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Server JBoss v5.0 at localhost failed to start ( Eclipse / jboss-5.1.0.GA )" Watch "Server JBoss v5.0 at localhost failed to start ( Eclipse / jboss-5.1.0.GA )" New topic
Author

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

Malvika Mistry
Greenhorn

Joined: Feb 29, 2012
Posts: 1
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






[Thumbnail for jboss-eclipse error.jpg]

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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


JBoss In Action
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server JBoss v5.0 at localhost failed to start ( Eclipse / jboss-5.1.0.GA )
 
Similar Threads
problem starting JBoss server in MyEclipse
Steps to do Jboss clustering
jboss not starting - config issue?
Error while deplloying the application on JBoss.
Failed to boot JBoss: