File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Jboss is not running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss is not running" Watch "Jboss is not running" New topic

Jboss is not running

Piraba Sivakadadcham

Joined: Nov 07, 2008
Posts: 6
I am new to jboss when run the run.bat in jboss command prompt comes and it close very fast.there is no text in the command prompt.How to solve this problem.I set the environment variable also.
JAVA_HOME : C:\Program Files\Java\jdk1.6.0\bin
JBOSS_HOME : C:\jboss-4.2.3.GA

echo %path%
em32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\jboss-4.2.3.GA\bin;C:\Program

Please let me what is the error this/

Peter Johnson

Joined: May 14, 2008
Posts: 5852

Piraba, welcome to Java Ranch!

Your JAVA_HOME is incorrect (remove the bin directory):

set JAVA_HOME=C:\Program Files\Java\jdk1.6.0

Also, I strongly suggest that you move the JDK out of Program Files. Having a space in your path can drive some Java code nuts and lead to unusual problems. I have mine at c:\apps\java\jdk1.6.0_07

If this does not solve the problem, delete the first line (the 'echo' statement) from run.bat, run run.bat from a command prompt, and post the contents of the command prompt window.
[ December 02, 2008: Message edited by: Peter Johnson ]

JBoss In Action
Piraba Sivakadadcham

Joined: Nov 07, 2008
Posts: 6
I solved this problem now .Thanks

I agree. Here's the link:
subject: Jboss is not running
It's not a secret anymore!