Jason Collins wrote:
> 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,
>
The zone repositories list is appended to the overall system classpath to
create the per-zone class path used for loading. Thus, if you want library
classes as well as servlets to be loaded per zone, make sure that those
library classes are NOT visible in the system class path, because that is
checked first.
Another approach to this issue is to start a separate Apache JServ JVM for
each developer (you will need to use manual mode for this). Configure the
zone for a developer to be mapped to the servlet engine instance for that
developer. Now, you can have separate system class paths per zone as well
as separate repositories per zone -- at the cost of extra memory for the
multiple JVMs that are running. But now, a developer can even crash their
own JVM without impacting anyone else.
Craig
-- --------------------------------------------------------------
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]