Server Admin 10.4 Help

Using Apache Axis

You can use Apache Axis by writing web applications that use the Axis libraries and then deploy the applications in Tomcat or JBoss. Unlike JBoss and Tomcat, Axis is not usually used as an application server.

Mac OS X Server version 10.4 includes a preinstalled version of Apache Axis (1.1), which operates in conjunction with the preinstalled Tomcat 4.1.x. Apache Axis is an implementation of Simple Object Access Protocol (SOAP). More about SOAP can be found at http://www.w3.org/TR/SOAP/. More about Axis can be found at: http://ws.apache.org/axis/.

The Axis libraries can be found in /System/Library/Axis. By default, Apple installs a sample Axis web application into Tomcat. The web application known as axis can be found in /Library/Tomcat/webapps/axis.

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.

Keywords: khelp ksa