----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Greetings!

I am not sure if this is a GNUJSP issue or a JServ issue, although I believe
it's the latter. I am using GNUJSP 1.0 on SuSE Linux 6.3. I have created a
zone on a virtual host with a repositories statement similar to this in the
zone properties file:

repositories=/path/to/servlets

The statement appears to be useless, because neither the compiler statement
in servlet.gnujsp.initArgs recognizes it (even when specifying it using
%repositories% in the class path), nor does the zone class loader. I have to
directly specify the location of the repository directory in the compiler
statement above. Having done that, all my .jsp pages compile successfully.
However, if they attempt to load a class from my repository, they fail at
runtime (not compile time). FWIW, sample .jsp files, such as hello.jsp and
date.jsp work just swimmingly.

The class loader difficulty disappears if I specify the repository in the
wrapper.classpath statements in the engine properties file. However, I want
to use different versions of the same package in different zones (e.g.,
production, development, testing, ....). So specifying the repository in the
engine properties file is not an option for me.

My question - has anyone else run into this problem, and if so, have you
been able to resolve it short of switching ApacheJServ to manual mode and
running individual JVM's for each zone?

Thanks in advance. Any help will be greatly appreciated. I have the feeling
this is a JServ problem, not a GNUJSP problem.

Regards,

.... Bob Kimble




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to