User manual
Chapter 5 Working With WebObjects and Web-Related Open Source Applications 65
After you enable Tomcat using the Application Server section of Server Admin, you can
validate the preinstalled Apache Axis by browsing the following:
http://example.com:9006/axis/
Replace “example.com” in the URL above with your host name. Note the nonstandard
Tomcat port.
The first time you exercise the preinstalled Axis by browsing http://example.com:9006/
axis/ and selecting the link entitled “Validate the local installation’s configuration,” you
should expect to see the following error messages:
• Warning: could not find class javax.mail.internet.MimeMessage from file mail.jar
Attachments will not work.
See http://java.sun.com/products/javamail/
• Warning: could not find class org.apache.xml.security.Init from file xmlsec.jar XML
Security is not supported
See http://xml.apache.org/security/
Follow the instructions that accompany the warning messages if you require those
optional components.
Consult the Axis User’s Guide on the Apache Axis website to learn more about using
Axis in your own web applications.
Experimenting With Apache 2
Version 10.4 of Mac OS X Server includes Apache 2 for evaluation purposes in addition
to the operational version of Apache 1.3. By default, Apache 2 is disabled, and all Server
Admin operations work correctly with Apache 1.3.
If you want to experiment with Apache 2, note the following:
• It is installed in a separate location in the file system: /opt/apache2.
• It is not connected to Server Admin.
• It serves webpages from /opt/apache2/htdocs.
• Its configuration is in /opt/apache2/conf/httpd.conf. Apple modified this file by
configuring it to run the httpd processes as user and group www. If you enable
WebDAV with Apache 2, note that although your WebDAV clients using version 10.1
of Mac OS X or Mac OS X Server will be able to mount Apache2 WebDAV volumes,
they will not have write access; they will have read-only access. WebDAV clients using
version 10.2 or later will not have this problem.
• It is controlled by its own version of the apachectl script, so to start it, type
sudo /opt/apache2/bin/apachectl start
• Although it’s possible to run both versions of Apache, you should be cautious when
doing so. Make sure the two versions do not attempt to listen on the same port.
Apache 2 is configured by default to listen on port 8080, so it is possible have both
Apache 1.3 and Apache 2 running at the same time.