wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss not starting" Watch "Jboss not starting" New topic
Author

Jboss not starting

Manjusha Muraleedas
Ranch Hand

Joined: Jun 02, 2010
Posts: 52
Hi,

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: 3011
    
  34

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


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
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,
Manusha
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9910
    
158

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

Joined: May 14, 2008
Posts: 5811
    
    7

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
 
Similar Threads
ExceptionInInitializerError while running servlet in JBoss 5.0
problem in running tomcat 5
Tomcat wont start from subst drive
unable to install jboss5.1.0 GA in solaris
java.net.SocketException: IP_ADD_MEMBERSHIP failed