Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Jboss is not running

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Piraba Sivakadadcham
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I solved this problem now .Thanks

S.Piraba
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic