tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Pabst <>
Subject Re: per-context classpaths?
Date Sun, 20 Jul 2003 18:48:27 GMT
Sure thing, just use two different directories for the test and production 
and put the jar files in


and use two different Contexts:
<Context path="/test" docBase="/path/to/webapp-test" ...

<Context path="/prod" docBase="/path/to/webapp-prod" ...

At 14:33 20.07.2003 -0400, you wrote:
>Is it possible to have different classpaths based on context definitions
>in server.xml?
>I'm asking because I have an 3rd-party JAR file which comes in two
>versions: testing and production. Unfortunately the vendor has named
>both JAR files the same -- it's just the classes inside that are
>different. I'd like to install them in different directories for each
>virtual host (test and production) and use the classpath to
>differentiate them.
>Are there any better suggestions as to how to approach this?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message