On Mon, Apr 05, 1999 at 04:23:44PM -0700, Creative Digital Publishing Inc. wrote:
> >thanks, i updated the page to be more specific/correct about the filename.
> 
> Jon:
> 
> Since you seem to be close at hand, I thought I'd ask another question that
> I'm sure has a simple answer, but I can't find it documented anywhere.
> 
> If you use the default Windows installation, _where_ do you put the
> servlets. I've tried various folders named "servlet" and "servlets" in the
> root folder, in the site content folder, in the JServ folder, everywhere. I
> always get back a 400 error--empty servlet name.

I don't know, check the repository setting in your zone.properties
file.  Most likely the default setting will not work though as the
"jar" has to be included in the repository (or classpath for
cross-zone, not auto reloading stuff).

> Do I have to define a servlet zone? If so, the question still comes
> up--where do I put it? Thanks.

You define your zones in your jserv.properties (and mount them in
httpd.conf).  Then you crate/copy+modify each zone property file.

>From httpd:

ApJServMount /servlet ajpv11://localhost/servlet
ApJServMount /servlet2 ajpv11://localhost/servlet2

>From jserv.properties:

zones=servlet,servlet2

# non-standard paths
servlet.properties=/etc/apache/jserv/servlet/properties
servlet2.properties=/etc/apache/jserv/servlet2/properties

And then you have a zone property file for each of the above two
lines.  I use a directory per zone but it doesn't really matter how
you name things.  You most likely want to have two different
directories for your repository:

servlet/properties: repositories=/usr/local/share/java/servlet
servlet2/properties: repositories=/usr/local/share/java/servlet2


/Allan
-- 
Allan M. Wind                   mailto:[EMAIL PROTECTED]
Manager Information Systems     phone: 781.359.9791 (general)
Integration Associates, Inc.    phone: 781.273.0195 ext. 205 (direct)
55 Cambridge Street, Suite 301  fax:   781.359.9789
Burlington, MA  01803           http://www.sap-help.com


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