You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by ge...@ws.apache.org on 2004/12/28 17:09:52 UTC
[Apache Web Services Wiki] New: FrontPage/Axis/Install/Jetty
Date: 2004-12-28T08:09:52
Editor: RickKellogg
Wiki: Apache Web Services Wiki
Page: FrontPage/Axis/Install/Jetty
URL: http://wiki.apache.org/ws/FrontPage/Axis/Install/Jetty
no comment
New Page:
##language:en
'''Installation help for Axis on [http://www.mortbay.com/jetty 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.