> From: Brian Wawok [mailto:[EMAIL PROTECTED]
> Tomcat 5.0 Server.
>
> Program A is running on server, and needs axis 1.1 as a library.

Is "program A" packaged as a WAR, with the Axis 1.1 libraries in the WAR?  If 
not, it should be.

> Program B is running on the same server, and needs axis 1.4
> as a library.

Is "program B" packaged as a WAR, with the Axis 1.4 libraries in the WAR?  If 
not, it should be.

> Axis 1.1 and 1.4 are not backwards compatible... if I just
> put Axis 1.1 on
> it.. program B won't work.. If I just put Axis 1.4 on it,
> program A won't work.

What do you mean by "put axis 1.1 on it"?  Where are you putting these 
libraries, if not in a WAR?

> Tomcat doesn't seem to like having the same jar loaded in twice (some
> classes between the two obviously overlap).

Tomcat is explicitly *designed* to allow this.  Each webapp has its own 
classloader.  This relies on you creating your "programs" as webapps.  Have you 
done this?  If not, why not?

> How do I make this all work? I really don't want to have to
> try to manually
> convert a large application from using 1.1 to 1.4 or vice
> versa, want to try
> to make them both work...
>
>
> The only thing I have tried so far, is to bundle in axis 1.4
> with program by
> manually putting all the classes in the jar. This did not
> seem to accomplish
> anything..

Read up on webapps.  Package your "programs" as webapps.  Deploy each of them 
separately.  You may need to do a fair bit of reading if you're new to Tomcat 
and have never created one of these before, but it's reading you'll have to do 
if you want to use an application container such as Tomcat.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to