Before continuing with HowToTutorial we must install and test the Axis web application within Geronimo.
Download the Axis binaries. We are using 1.2 beta
cd $AXIS_HOME/webapps/axis
Create a geronimo-jetty.xml, our's looks like this,
configId="org/apache/axis/webapp"
parentId="org/apache/geronimo/Server"
>
Modify the web.xml so that Jetty is happy. Working version below,
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
org.apache.axis.transport.http.AxisServlet
org.apache.axis.transport.http.AdminServlet
org.apache.axis.monitor.SOAPMonitorService
Add the additional jars required by Axis. Our axis/WEB-INF/lib looks like this,
activation.jar
axis-ant.jar
axis.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
log4j-1.2.8.jar
mail.jar
saaj.jar
wsdl4j.jar
xmlsec.jar
Note : See also the tag dependancy for an alternative way of using libraries.
Create a the axis.war
jar -cf ../axis.war *
Deploy the war
cd incubator-geronimo/target
java -jar bin/deployer.jar --install --module axis.war
Start the Geronimo server
java -jar bin/server.jar org/apache/axis/webapp
http://localhost:8080/axis/happyaxis.jsp should report total bliss.
More information is available at the root of the context, http://gisig.com:8080/axis/
No comments:
Post a Comment