Could someone more familiar with the Jserv code be a nice person and address
this issue? A few have tried to help, but nobody seems to know for sure either what
the problem is or whether what I'm trying to do is doable.
The original post is below:
> > The first param to ApJServMount looks like it refers to a
> > location RELATIVE to the ServerRoot directory as specified in
> > httpd.conf. This provides the URI which will be "intercepted" by
> > the webserver and "translated" as a request for a servlet.
> > Therefore, if I put "ApJServMount /servdir /production" in
> > httpd.conf and my url is "www.mach.com/servdir/servprog" the
> > webserver will say hey this is a request for a servlet in servlet
> > zone "production". Is this correct?
> >
> > My problem is that I have 2 zones - "servlets" and "zone_b". In
> > my httpd.conf file I have:
> > ApJServMount /servlets /servlets
> > ApJServMount /servlets/zone_b /zone_b
> >
> > The /opt/apache/servlets/zone_b directory exists and has working
> > servlets in it. I also have the proper properties file for each
> > zone in /opt/apache/conf and properly referenced in
> > /opt/apache/conf/jserv.properties and indicating the correct
> > repositories for each zone.
> >
> > The first zone "ApJServMount /servlets /servlets" works fine. A
> > call to servlet Xserv in this zone works fine with:
> > http://mach.machmm.com/servlets/Xserv
> >
> > However, if I try to access that same servlet (Xserv) which is
> > also in the repository directory specified for zone_b using the
> > other zone "ApJServMount /servlets/zone_b /zone_b"
> > (http://mach.machmm.com/servlets/zone_b/Xserv) it does not work -
> > here is what the log says:
> >
> > [13/04/1999 13:05:04:917 EDT] Servlet-Error:
> > ClassNotFoundException: zone_b
> > [13/04/1999 13:05:04:918] (ERROR) ajp11: Servlet Error:
> > ClassNotFoundException:zone_b
> >
> > Any have any ideas? Setting up zones should be very easy and I
> > have spent almost two days now on this. I wish there was more
> > documentation regarding the ApJServMount command.
> >
> > I don't know if this has anything to do with anything, but all
> > the ApJServMount examples I have seen involve first params to
> > ApJServMount which are directories only one level deep off the
> > ServerRoot (i.e., /servlets /production, etc.). I have not seen
> > an example involving directories more than one level deep from
> > the ServerRoot (i.e., /servlets/myservlets/yourservlets).
> >
> > Thanks in advance,
> >
> > Mark
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]