aspose file tools*
The moose likes Tomcat and the fly likes start/stop on Linux... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "start/stop on Linux..." Watch "start/stop on Linux..." New topic
Author

start/stop on Linux...

Rizvan Asgarov
Ranch Hand

Joined: Jan 07, 2009
Posts: 450

Hi Friends,

I prepared a script for start/stop in Windows. But i need to prepare it for Linux variant. Can you please help to change it?


Thanks in advance,

"Half of the science is to ask question"
Charbel Keyrouz
Ranch Hand

Joined: Jun 10, 2005
Posts: 46
You just change the executable path and extension.
Check where your tomcat is installed on unix/ linux (/etc/bin/.... for example) and under the bin file of tomcat there are two files:
startup.sh
and shutdown.sh

call these files and they will do the job for you.
brigitz solutions
Greenhorn

Joined: Nov 17, 2011
Posts: 1
If are going to stop/start the tomcat server in linux....


1) first download the linux tomcat version.
2) unzip it.
3) go to the tomcat bin folder.
4) Run the startup.sh for start the tomcat server
5) Shutdown.sh for using to stop the tomcat

if required to set the enviroment variable,Check this link,
http://brigitzblog.blogspot.com/2011/11/linux-how-can-i-startstop-tomcat-server.html
 
Consider Paul's rocket mass heater.
 
subject: start/stop on Linux...
 
Similar Threads
Which IDE support JSP 2.0
Opening .bat files from ant
Starting Tomcat from ANT
Problem with catalina.sh
how to run other's tomcat from my local system