Willa Zhu wrote:
> 
> 1) I added new classes or libraries under Servlet zone after web server and
> JServ started.  What should I do to let JServ know about these new classes or
> libraries?  Now what I did is to modify "wrapper.classpath" in jserv.properties
> to include these classes, then restart the web server.   I think there must be a
> better way to do it.

There is. If you include your servlets in your wrapper classpath they
will be cached as you mention in point 2 below. Use the 'repositories'
directive in your zone file. If you are packaging your servlets/classes
in a jar file, put this in the repository. If you aren't put the
directory in which your servlet hierarchy will live.

> 2) It seems that after the first time a servlet is loaded, it will be cached. I
> can not see the chances I made afterwards unless I re-started the server.  How
> can I force the Jserv to reload the servlet?

If you have autoreload.classes=true in your zone file, it will releoad
the classes when they change and if you use autoreload.file=true the
same will happen when the zone file is touched.

Damian


----------------------------------------------------------------
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]

Reply via email to