| Author |
How to start Tomcat?
|
kushagra mittal
Greenhorn
Joined: Jun 02, 2011
Posts: 12
|
|
|
How to start apache tomcat server with startup.sh file.
|
 |
Mike Zal
Ranch Hand
Joined: May 04, 2011
Posts: 144
|
|
1) Go to the directory where the script is located
2) Make sure its permissions include execute
3) Execute the script like any other by typing ./startup.sh
|
OCJP6, OCWCD5
|
 |
kushagra mittal
Greenhorn
Joined: Jun 02, 2011
Posts: 12
|
|
Mike Zal wrote:1) Go to the directory where the script is located
2) Make sure its permissions include execute
3) Execute the script like any other by typing ./startup.sh
But it open select a program from a list to run the file window....
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56151
|
|
Window? You should be doing this from a unix command line.
You are running Mac OS X or Linux, right?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
kushagra mittal
Greenhorn
Joined: Jun 02, 2011
Posts: 12
|
|
Bear Bibeault wrote:Window? You should be doing this from a unix command line.
You are running Mac OS X or Linux, right?
No i am running Windows Vista....
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56151
|
|
Then you don't use a shell script to start Tomcat, you use the Windows proprietary .bat file. Shell scripts are for real operating systems.
(Unless you are using cygwin?)
|
 |
kushagra mittal
Greenhorn
Joined: Jun 02, 2011
Posts: 12
|
|
Bear Bibeault wrote:Then you don't use a shell script to start Tomcat, you use the Windows proprietary .bat file. Shell scripts are for real operating systems.
(Unless you are using cygwin?)
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
Path for java_home is set in environment variables......
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56151
|
|
|
As I do not use Windows, I'm not exactly sure, but I believe that you define the JAVA_HOME environment variable via the control panel somewhere. Google around for instructions.
|
 |
kushagra mittal
Greenhorn
Joined: Jun 02, 2011
Posts: 12
|
|
Bear Bibeault wrote:As I do not use Windows, I'm not exactly sure, but I believe that you define the JAVA_HOME environment variable via the control panel somewhere. Google around for instructions.
Path for java_home is set in environment variables......
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56151
|
|
|
java_home != JAVA_HOME
|
 |
 |
|
|
subject: How to start Tomcat?
|
|
|