Installation help for Axis on Jetty
Jetty is a small, pure-Java, open source HTTP server and servlet container. Note: Jetty is included in some distributions of JBoss.
To install Axis under Jetty:
{{{ - copy/move $AXIS_HOME/webapps/axis to $JETTY_HOME/webapps/axis
- - modify $JETTY_HOME/etc/jetty.xml to reflect the new webapp. You need to add the following:
{{{ <Call name="addWebApplications">
<Arg>/axis/*</Arg> <Arg><SystemProperty name="jetty.home" default="."/>/webapps/axis</Arg>
</Call> }}}
- - copy xerces.jar to $JETTY_HOME/ext - copy activation.jar (from Sun's Javabeans Activation Framework) to $JETTY_HOME/ext - delete $JETTY_HOME/ext/crimson.jar (or rename to *.notused) - copy xml-apis.jar to $JETTY_HOME/ext - add $JAVA_HOME/lib/tools.jar from the JDK to the Jetty classpath (modify your startup script)
- }}}
My Jetty startup command under Windows is:
java -D"jetty.class.path=%JAVA_HOME%\lib\tools.jar" -D"jetty.home=%JETTY_HOME%" -jar "%JETTY_HOME%\start.jar" "%JETTY_HOME%\etc\jetty.xml"
Start Jetty and verify your happyaxis.jsp installation per the Axis documentation.
These instructions apply to Jetty 4.2.x, Axis 1.1rc2, and possibly later versions.