17.1. Starting TomcatTomcat comes packaged as an archive, either zipped or tarred and gzipped.[1] Once the archive is unpacked, Tomcat can be started by going into the tomcat directory and running [1] A customized version of Tomcat, which includes examples from this book, is included on the companion CD-ROM. See README for more details. on Unix-based systems or on Windows. On either system the startup script will print a short message and exit, leaving Tomcat running in the background. The message printed at startup is the last output that Tomcat will generate. After that point all messages from Tomcat will be available in files in the log directory.Once tomcat is running, the default home page can be found at http://localhost:8080, and it will resemble Figure 17.1. It is worth taking some time to explore this page; in particular there is a lot of useful information available through the provided links, and some good examples running locally can be found in the "Examples" section. For the time being, disregard the "admin" links, which will be discussed later in this chapter. Figure 17.1. The Tomcat home page.[View full size image] ![]() |