my recent reads..

Atomic Accidents: A History of Nuclear Meltdowns and Disasters; From the Ozark Mountains to Fukushima
Power Sources and Supplies: World Class Designs
Red Storm Rising
Locked On
Analog Circuits Cookbook
The Teeth Of The Tiger
Sharpe's Gold
Without Remorse
Practical Oscillator Handbook
Red Rabbit

Tuesday, December 13, 2005

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!

3 comments:

Anonymous said...

Nice one, spent hours trawling through oracle documentation, found your article and it worked in seconds.

Unknown said...

Cool. Note I also posted an update on using Axis 2 with OC4J.

Looking now at using Axis 2 with the OC4J 11g preview ... unfortunately running into a few issues. If/when I have a solution, I'll post on that too.

website design New York City said...

nice post