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

devrim baris acar wrote:
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> Hi,
> I am trying to make two zones on two seperate linux boxes with jserv.(linux1
> and linux2). On linux1 apache web server is installed. Both jserv engines
> are set to run manually. In fact I have read the documentation and have been
> trying without success for 2 workdays.
> What I do is this:
> On linux1:
> Jserv.conf:
> ApJServMount /servlets /servlets
> ApJServMount /servlets3 http://linux1.edu/servlets3/ 
> and jserv.properties shows only the servlet zone for /servlets, there
> is no info for the /servlets3 zone because it is hosted on another machine.
> 
> and on linux2:
> No explicit info that it will host servlets from linux2. Jserv runs
> manually. Another /servlets zone is defined for the jserv on linux1 route
> requests to this jserv.
> namely in jserv.conf
> ApJServMount /servlets ajpv12://linux2.edu/servlets
> 
> When I try to call my servlet on linux2 from apache web server on linux1

According to your config above, http://linux1.edu/servlets3/okuz will
call class okuz.class in zone servlet3 on linux1 :
ApJServMount /servlets3 http://linux1.edu/servlets3/
                                    ^               

so it won't be called on linux2.

> http://linux1.edu/servlets3/okuz I get a classnotfound error on linux1
> but the same class is found when I try on linux2 web server.
> exact error msg:
> [20/12/1999 18:38:58:911] (ERROR) ajp12: Servlet Error:
> ClassNotFoundException: okuz
> 
> All I want was to have two jservs on two machines. Any help/comment greatly
> welcome.
> 
> Devrim Baris Acar

Jean-Luc


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