Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JBoss/WildFly and the fly likes Jboss not starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss not starting" Watch "Jboss not starting" New topic

Jboss not starting

Manjusha Muraleedas
Ranch Hand

Joined: Jun 02, 2010
Posts: 52

I am trying to run an application using jboss. i am using joss version 6 and java version 6. while making the server up i am getting the following error. getting the same result while double clicking run.bat as well as running run.bat through cmd.

Please help me....

Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3053

"Manjusha Ng", please check your private messages regarding an important administrative matter.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Manjusha Muraleedas
Ranch Hand

Joined: Jun 02, 2010
Posts: 52
ya.. its done!

I am eagerly waiting for the reply to my query...

if anyone have a clue ..please share it with me!

Best Regards,
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10052

Which version and vendor of Java are you using? What's the output of:

Although your log seems to indicate that you are using Java 6:

C:\Program Files\Java\jdk1.6.0\bin\java

I suspect that may not be true. Also it's always better to install Java and other Java applications in folders which do not have a space in their path. I would recommend that you move the Java installation out of the Program Files folder to some other location like C:/Java/jdk1.6.0. And then set the JAVA_HOME appropriately to point to the new location.

[My Blog] [JavaRanch Journal]
Manjusha Muraleedas
Ranch Hand

Joined: Jun 02, 2010
Posts: 52

Thanks for the response.

i changed the java path

Please see the result of version check

C:\Java>java -version
CreateProcess(C:\Program Files\Java\jre1.6.0\bin\java.exe, ...) failed.

C:\Java>cd jdk1.6.0

C:\Java\jdk1.6.0>cd bin

C:\Java\jdk1.6.0\bin>java -version
java version "1.6.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b67)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b67, mixed mode, sharing)

Jboss still throws the same error

Peter Johnson

Joined: May 14, 2008
Posts: 5823

java version "1.6.0-rc"

That looks like a release candidate for JDK 6 - that is ancient! You should not be using anything earlier than JDK 6u7 (I think that there were serious issues with earlier versions that prevented JBoss AS from running). I recommend you get the latest, JDK 6u20, and install it.

JBoss In Action
Manjusha Muraleedas
Ranch Hand

Joined: Jun 02, 2010
Posts: 52
hmm... i will try changing the java version... thank you...
Manjusha Muraleedas
Ranch Hand

Joined: Jun 02, 2010
Posts: 52
I know i am late. But being late is better than never. Especially for a Thank you note.

This problem has been solved.

Installed new version of java. Now its working fine...

Thank you All... Thank you so much
It is sorta covered in the JavaRanch Style Guide.
subject: Jboss not starting