Jason Collins wrote:
> Can I set a different CLASSPATH for each servlet zone?
>
> I have an environment where 5 developers are each working on
> their own packages in their own development sandbox. I have
> a servlet zone for each developer and want to point to a
> unique CLASSPATH for each zone.
>
> Currently, I am using the repositories attribute in the
> zone.properties file, but I am running into caching problems
> (i.e., our servlet class is made to be cached, but our library
> packages are not).
>
> Any (other) ideas?
>
> I am using Apache Jserv 1.0b3, Apache 1.3.4, Linux 2.0.31.
>
> Thanks,
> j
You are using the zone repositories configuration correctly for your
servlets.
If you have library packages that are not designed to be cached, you
should make sure that these packages are NOT visible on the zone
repositories lists -- instead, they should be on the system class path
for the servlet engine, which you configure with "wrapper.classpath" in
the jserv.properties file. In this scenario, the library packages will
be loaded by the system class loader, and shared across all zones. The
library classes will also be left in memory when you recompile and
reload servlets, instead of being reloaded as well.
Craig McClanahan
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]