Sure thing, just use two different directories for the test and production webapp
and put the jar files in


 /path/to/webapp-test/WEB-INF/lib
and
 /path/to/webapp-prod/WEB-INF/lib

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:
Hello,

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?

Thanks,
Gil



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


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



Reply via email to