• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Not so fast naughty spawn! I want you to know about
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic