Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to ensure JBOSS server is up or down?

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

I have downloaded jboss-5.0.0.CR2 and clicked on run.bat on windows machine .
I have set Java Home and Jboss home

A command Prompt is opened instantly and its vanished .

I dont know whether its running or not also , how can i know the port number of it

On 8080 ,Oracle is running .
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Java Linux
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but did you read my question ??
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Kiran V wrote:

I have downloaded jboss-5.0.0.CR2 and clicked on run.bat on windows machine .
I have set Java Home and Jboss home

A command Prompt is opened instantly and its vanished .



You probably have set an incorrect JAVA_HOME. By the way, you need not set JBOSS_HOME. Don't double click on the run.bat. Open a command prompt and post the output of



By the way, why are you using an old 5.0.0.CR2 version? The latest stable version is 5.1.0
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi thanks , but the problem persists , this is what you requested .
C:\Documents and Settings\sai>echo %java_home%
C:\Program Files\Java\jdk1.6.0_18

 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) It is not java_home it should be JAVA_HOME (case sensitive)
2) Do not install Java or JBoss in a folder containing spaces. You'll run into weird issues. Move the Java installation to some folder without a space in its path name (ex: C:\Java\jdk1.6.0_18) and then set the JAVA_HOME property appropriately.

 
Sumeet Singh Aryan
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out your RAM... this may be less then the required RAM
 
Peter Johnson
author
Bartender
Posts: 5855
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not double-click run.bat. Instead open a command prompt an run run.bat from there.

Also, it could be the findstr issue - google jboss findstr for hints on how to fix.
Also see this discussion: http://www.coderanch.com/t/477910/JBoss/Cant-Start-JBOSS-by-Run
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic