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 Jboss is not running 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 "Jboss is not running" Watch "Jboss is not running" New topic
Author

Jboss is not running

Piraba Sivakadadcham
Greenhorn

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%
C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst
em32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\jboss-4.2.3.GA\bin;C:\Program
Files\Java\jdk1.6.0\bin;C:\Sun\AppServer\bin

Please let me what is the error this/

S.Piraba
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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
Greenhorn

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

S.Piraba
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jboss is not running
 
Similar Threads
Jboss is not running.Exception in thread "main"
Not able to Start JBoss(run.bat)
Loading jar files for a .class file
The console/command window disappears (jboss via run.bat)
Starting JBoss