aspose file tools*
The moose likes JBoss/WildFly and the fly likes How to ensure JBOSS server is up or down? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to ensure JBOSS server is up or down?" Watch "How to ensure JBOSS server is up or down?" New topic
Author

How to ensure JBOSS server is up or down?

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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 .

Save India From Corruption - Anna Hazare.
Ninad Kulkarni
Ranch Hand

Joined: Aug 31, 2007
Posts: 802

Hi Ravi,
Refer this


SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

but did you read my question ??
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

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

[My Blog] [JavaRanch Journal]
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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

Joined: Jul 20, 2005
Posts: 10289
    
168

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

Joined: Jul 30, 2008
Posts: 43
check out your RAM... this may be less then the required RAM


The woods are lovely, dark and deep, But I have promises to keep; And miles to go before I sleep, And miles to go before I sleep. - Robert Frost
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

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


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to ensure JBOSS server is up or down?