different versions of libraries

2005-03-23 Thread Andreas Andersson
Hi!
I need to use a really new version of xalan/xerces in one of my 
applications. Where should I put the .jars to make application specific?

Is it even possible?
--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: different versions of libraries

2005-03-23 Thread Peter Crowther
 From: Andreas Andersson [mailto:[EMAIL PROTECTED] 
 I need to use a really new version of xalan/xerces in one of my 
 applications. Where should I put the .jars to make 
 application specific?

The only place where it can be application-specific is in the webapp's
WEB-INF/lib.

 Is it even possible?

Depends on your version of Tomcat - which version are you using?  I've
placed them in WEB-INF/lib (apparently successfully - certainly good
enough for the app) under Tomcat 5.0.28.  For Tomcat 4, I have a
separate installation with some new versions dropped in.  I use this
installation for one rather poorly-behaved app that insists on using its
own version of Xerces, but it's not application-specific as other
webapps on the same instance would see the same version.

- Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: different versions of libraries

2005-03-23 Thread Andreas Andersson
Peter Crowther wrote:
Depends on your version of Tomcat - which version are you using?  I've
placed them in WEB-INF/lib (apparently successfully - certainly good
enough for the app) under Tomcat 5.0.28.  For Tomcat 4, I have a
separate installation with some new versions dropped in.  I use this
installation for one rather poorly-behaved app that insists on using its
own version of Xerces, but it's not application-specific as other
webapps on the same instance would see the same version.
That sounds just like my problem. I just tomcat 4.1.31 and one of my 
apps needs an old (and poorly functioning) version av xerces/xalan. It 
seems to me that the files I place under WEB-INF/lib isn't really read 
at all, at least not overriding the other once.

I guess that a separat install is the only way to go :(
--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: different versions of libraries

2005-03-23 Thread David Smith
WEB-INF/lib of the app you need it in.  That's the simple answer.  For a 
complete answer, read:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
and the servlet spec
--David
Andreas Andersson wrote:
Hi!
I need to use a really new version of xalan/xerces in one of my 
applications. Where should I put the .jars to make application specific?

Is it even possible?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]