
68 Chapter 5 Working With WebObjects and Web-Related Open Source Applications
Tomcat
Tomcat is the open source servlet container that is used as the official Reference
Implementation for the Java Servlet and JavaServer Pages technologies. The Java
Servlet and JavaServer Pages specifications are developed by Sun under the Java
Community Process.
The current production series is the Tomcat 4.1.x series and it implements Java Servlet
2.3 and JavaServer Pages 1.2 specifications. More information is available from the
following sources:
• For Java Servlet specifications, see java.sun.com/products/servlets
• For Java ServerPages specifications, see java.sun.com/products/jsp
In Mac OS X Server 10.4, you use the Application Server section of Server Admin to
manage Tomcat. Once Tomcat is started its life cycle is managed by Server Admin,
which ensures that Tomcat starts up automatically after a power failure or after the
server shuts down for any reason.
For more information about Tomcat and documentation for this software, see
http://jakarta.apache.org/tomcat/
For information about Java Servlets that you can use on your server, see:
• http://java.sun.com/products/servlet/
• http://java.sun.com/products/jsp/
If you want to use Tomcat, you must activate it. You can use Server Admin or the
command-line tool to start Tomcat.
Note: The weblog application, Blojsom, uses a separate instance of Tomcat. Therefore,
you can use Tomcat without interfering with weblogs.
Setting Tomcat as the Application Container
To start Tomcat using Server Admin:
1 In Server Admin, click Application Server in the list for the server you want.
2 Click Settings in the button bar.
3 Click Tomcat Only.
4 Click Start Service.
To start Tomcat using Terminal:
1 Open the Terminal application.
2 Type the following commands:
cd /Library/Tomcat/bin
./startup.sh start
Kommentare zu diesen Handbüchern