My problem is that I need a different CLASSPATH for
each servlet zone. I.e., developer 1 works in zone 1
and needs to have a different CLASSPATH than developer 2
working in zone 2.
If I set the CLASSPATH for the servlet engine, all zones
get that CLASSPATH. While this is fine for common packages,
I need each developer to only have their development packages
accessed.
Thanks,
j
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Craig R.
> McClanahan
> Sent: Monday, May 17, 1999 4.19
> To: Java Apache Users
> Subject: Re: CLASSPATH for servlet zones
>
>
> 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]
>
>
-- --------------------------------------------------------------
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]