SE452: Running/Configuration [6/24] Previous pageContentsNext page

Starting/Stopping

To start Tomcat execute startup.sh (Linux) or startup.bat (Windows)

To stop Tomcat execute shutdown.sh (Linux) or shutdown.bat (Windows)

See "tomcat_home"/Running.txt for most common problems if Tomcat will not start Especially if you are using Windows 9x or ME

You can also use the Windows installer for Tomcat, and it will give you the option to run Tomcat as a service. This is preferred for production installations, but may not be as easy to use for development. There are also many other scripts that can be used to start/stop tomcat. The nice thing about using the simple one above is that logs are sent to the console, so you don't have to open them in a text editor to see what is wrong in most cases.

Configuration

Default port: 8080

Once the server is running, to access it, point a web browser to http://localhost:8080/

The file you see is located at "tomcat_home"\webapps\ROOT\index.html Each directory under webapps is a web application (more on these later)

Previous pageContentsNext page