Here are my experiences with installing Axis on Jrun.
I used a simple setup with a jws-file.

1. Use Jrun 3.1. I didn't succeed to make it work on 3.0 SP1. The latter
couldn't compile the jws-file, and when I did the compile the SOAP-output
didn't come back to my Axis client. No traces in log files about what went
wrong.

2. Define an application (using the Jrun Appl. Manag. Console) called
"axis" on the Jrun default server.

3. Copy the Apache axis application (in webapps/axis) to the new Jrun axis
directory.

4. Add xerces.jar to axis/web-inf/lib.

5. Add tools.jar to axis/web-inf/lib. (tools.jar from the jdk contains the
java compiler used to compile jws-files).

6. Add xerces.jar to jrun/lib and define it in global.properties
jrun.classpath={jrun.rootdir}/lib/xerces.jar;
{jrun.rootdir}/lib/ext;{jrun.rootdir}/lib/jrun.jar;{jrun.rootdir}/lib/install.jar;
If you omit this you may get this error
     [java] null
     [java] java.lang.NoSuchMethodError
     [java]     at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(Unknown Source)
     [java]     at
org.apache.axis.configuration.FileProvider.configureEngine(Unknown Source)
     [java]     at org.apache.axis.AxisEngine.init(Unknown Source)
     [java]     at org.apache.axis.AxisEngine.<init>(Unknown Source)
     [java]     at org.apache.axis.server.AxisServer.<init>(Unknown
Source)
. . .

7. Don't forget to restart Jrun!


If you run into problems be sure to check the Jrun log-files. Axis also
writes debug information to log4j-files, but I'm not too sure about how to
make this work. Can anybody say what's needed to make the log4j-output
appear somewhere?

Reply via email to