Since I've suffered a lot to make things working together, now that I've
succeeded I think that some simple tips will help those (maybe newbie, like
me ;-) ) who found problems in installing Axis by following the installation
instructions provided.
In the subject of this mail are the technologies I have on my machine.
First of all, with THIS releases of the technologies, there is no need to
modify the JAVA_ENDORSED_DIRS entry in the setclasspath.bat file located in
%catalina home%\bin (I don't really know if this is a matter of the early
releases of Tomcat 4.1.x or what else). I read about the need to modify it
(with java 1.4 and some version of Tomcat) but with Tomcat 4.1.12 all that I
got were problems with the server startup process.
Furthermore, there is no need to copy any xml parser into %catalina
home%\webapps\axis\WEB-INF\lib nor elsewhere since Tomcat 4.1.12 has its own
parser and AXIS is able to locate and use it correctly (as you can see in
the installation validation page).
So, all that is necessary to do is:
- to put the webapps/axis directory of the axis distribution into the
webapps directory of Tomcat;
- to provide a CLASSPATH environment variable including:
every .jar file present into %catalina home%\webapps\axis\WEB-INF\lib,
the directory of axis (to run the examples) and, last but not least,
the %catalina home%\common\lib\servlet.jar file
This was all I had to do to make Axis correctly running.
Another thing I noticed is that if you provide some incorrect path in the
CLASSPATH variable, even if you correct it by editing it it is likely that
the new path aren't correctly recognised.
So it is necessary to startup the machine again or to delete and provide the
CLASSPATH variable again. Ignoring this (like me in the past) can make
people waste a lot of time.