• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in starting jboss 7

 
A S Kanaskar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AS7 doesn't have a run.bat/run.sh file. See the getting started guide in the AS7 documentation
 
A S Kanaskar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic