aspose file tools*
The moose likes JBoss/WildFly and the fly likes problem in starting jboss 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "problem in starting jboss 7 " Watch "problem in starting jboss 7 " New topic
Author

problem in starting jboss 7

A S Kanaskar
Greenhorn

Joined: Aug 01, 2011
Posts: 3
Hi ,
i have downloaded jboss7 full profile .zip .
and installed it in C:/program_files/jboss-7.0.0.
I have checked my java installation and is working fine.

now the problem where i get is , after unzipping the jboss into C directory and then when i run run.bat command from C:/programfiles/jboss-7.0.0/bin directory.
i get an error -- saying -run.bat is not recognized as an internal or external command.

Question 1)How to resolve this?

also i went through your other post , and in those post you have mentioned about boot.log and server.log files in jboss home directory.
in my case it is C:/programfiles/jboss/7.0.0 .

but i could not find these log files in my jboss home directiry.
Question 2) Why is it so?

Question 3)Can you through some light on where is run.bat file located in a windows XP system or whether is it found only in jboss home directory when we unzip it any drive.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10262
    
168

AS7 doesn't have a run.bat/run.sh file. See the getting started guide in the AS7 documentation


[My Blog] [JavaRanch Journal]
A S Kanaskar
Greenhorn

Joined: Aug 01, 2011
Posts: 3
i went through the installation guide pointed out in earlier post , and when i am trying to run standalone.sh from C:/programfiles/jboss7.0.0/bin
the standalone.sh files open in notepad . And then nothing happens.

can anyone suggest hwat is the prob here
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10262
    
168

If you are on Windows OS, then open a command prompt. On the command prompt, do the following following:

1) cd to the JBoss AS installation's bin folder as follows



2) Now set JAVA_HOME to point to the JDK installation



(Note, you have replace that value to the location where you have JDK installation)

3) Now run the standalone.bat file from the command prompt:

A S Kanaskar
Greenhorn

Joined: Aug 01, 2011
Posts: 3
hi jai ,
i have resolved the issue and now can start my server .
i had already set the enviornment variables to the correct path , so that wasnt the issue.

initially i was running run.bat command instead of standalone.bat,
with your earlier post i read the correct installion guide which helped me.

thanks for your help

do i have to keep my command prompt open for server to run?
because as soon as i close the command prompt the server stops and i cant view at localhost://9990
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

do i have to keep my command prompt open for server to run?

Yes, unless you set it up to start as a service. For development purposes it is usually better to run from the command line, then you can easily see all of the console log messages. For production, however, starting as a service is preferred.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in starting jboss 7