aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 5772
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss is not running
 
Similar Threads
The console/command window disappears (jboss via run.bat)
Starting JBoss
Loading jar files for a .class file
Not able to Start JBoss(run.bat)
Jboss is not running.Exception in thread "main"