May be easy way to make things work, without copying is change your
server.xml in conf directory of
tomcat with a new context, where docBase= where you have installed axix

  <Context path="/axis" docBase="F:/OpsSw/Apache
Group/xml-axis-10/webapps/axis" debug="0"/>

I found this some what cleaner than copying the jar files.

Haneef 

-----Original Message-----
From: Steve Loughran [mailto:steve_l@;iseran.com]
Sent: Monday, October 28, 2002 9:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Axis 1.0 Tomcat 4.1.12 Java 1.4.0_02 Installation tips



----- Original Message -----
From: "Paolo Paganotto" <[EMAIL PROTECTED]>
To: "AXIS" <[EMAIL PROTECTED]>
Sent: Monday, October 28, 2002 6:58 AM
Subject: Axis 1.0 Tomcat 4.1.12 Java 1.4.0_02 Installation tips


> 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.


agreed.

>
> 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).

tomcat may use crimson rather than xerces; sometimes apps need the bigger
but better parser.

>
> 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

which is one way of getting everything to work, but not the way I like as it
makes versioning hard -you cant run different versions of axis on the same
box

> 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.

That's why I dont recommend messing with classpaths. I run java with an
empty CLASSPATH variable, and my life is better for it.

I recommend you put the jars containing javax.*  code (jax-rpc, saaj,
xerces) in the CATALINA_HOME/common/lib, where they all get picked up
properly. The happyaxis.jsp page says exactly the same thing.

Reply via email to