Running AXIS with Oracle OC4J


AXIS 1.3 was released back in October, so I thought it was about time to test it out with Oracle Application Server Containers for J2EE 10g (10.1.2.0). Good news .. all went absolutely smoothly, no frigging about with jar files at all.
Since Axis is a simple web module, manually deploying to Standalone OC4J is straightforward. After putting the web application files in place, register the module in application.xml and the web app root in http-web-site.xml:

  1. copy the axis webapp directory into $ORACLE_HOME/j2ee/home/applications/axis
  2. edit $ORACLE_HOME/j2ee/config/application.xml to add <web-module id="axis" path="../applications/axis"/>
  3. edit $ORACLE_HOME/j2ee/config/http-web-site.xml
    to add <web-app application="default" name="axis" root="/axis"/>
At this point, I had the AXIS welcome page coming up nicely at http://localhost/axis/. For the next 5 minutes, I played around with some drop-in web services. Very cool and easy!