You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vijayanand Sukumar <VS...@manage.com> on 2000/11/27 20:10:08 UTC

Problem With Deployment of Web Application in Tomcat

Hi Everyone,
   
   When i Tried to deploy a web application that uses xml.jar, tomcat
overrides my xml.jar withits own
parser.jar from its library. Is there a way i can override this behaviour.

Thanks

Vijay

Re: Problem With Deployment of Web Application in Tomcat

Posted by "Michael J. Suzio" <ms...@iss.net>.
The only way I know of to handle this is what the Cocoon install
documentation suggests -- renamed parser.jar to z_parser.jar so that it
comes *after* xml.jar in the automatically-generated classpath.

I am not sure if this introduces any possible errors, however... I also
haven't thought about it to any greater depth than that :-).

-- 
Michael J. Suzio
Lead Software Engineer -- ISS Southfield
msuzio@iss.net

Re: Problem With Deployment of Web Application in Tomcat

Posted by Dan Smith <da...@globalone.net>.
I posted the same question last week and the response was, in a
nutshell, not for version 3.1 since it relies on the version of the xml
parser that comes with it.  For 3.2, you can change the classpath in the
startup script and place your xml parser in front of theirs, but that is
not acceptable to me.  For v4.x, there will be a way, but I just
downloaded the latest milestone of Tomcat v4 (milestone 4), and I am
having a problem running my web app as-is.  Since it is a beta,
documentation is scarce, so I guess I we just need to hack around until
an answer is found :-(

Good luck,
Dan

--
"Sometimes I wish I could be you, just so I could be friends with me."
                -- Agelica Pickles