On Thu, 19 Sep 2002, Turner, John wrote:

>
> I would remove the load-balancing lines from workers.properties.  Here is a
> plain-vanilla, working workers.properties file:
>
> # Setup for apache system
> #
> workers.tomcat_home=/usr/local/jakarta-tomcat-4.1.10
> workers.java_home=/usr/java/j2sdk1.4.0_01
> ps=/

If you want to make it even more basic, you can get rid of the first
two lines above (and maybe even the third, I don't recall exactly).
Way back when I was first trying to figure out workers.properties, I
discovered that those are just macros/variables internal to the file.
They help make it easier to specify other settings (e.g. so you don't
have to repeat things so much, and it's easier to change if something
moves).  And since you're not using them in the rest of this
workers.properties, you don't need them.  I think in the default one
they're used in setting up the jni worker.


> worker.list=ajp12, ajp13
>
> # Definition for Ajp13 worker
> #
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
>
> John
>
> > -----Original Message-----
> > From: Marc Vila Pérez [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 18, 2002 8:22 PM
> > To: Tomcat Users List
> > Subject: Problems connecting Tomcat with Apache using ajp13
> >
> >
> > Hi everybody!
> > I'm trying to connect tomcat 4.1.10 with apache 1.3.22, on
> > Linux RH. In
> > the server I want to install several hosts (using virtual hosting).
> > I'm using org.apache.ajp.tomcat4.Ajp13Connector, I've
> > downloaded several
> > mod_jk.so (tried different versions), ...
> > On every virtual host in httpd.conf there is a directive
> > JkMount /*.jsp ajp13
> > Seems than apache finds the connector, but tomcat cannot create the
> > servlet to serve the jsp page.
> > This is the output of the mod_jk log file (JkLogFile):
> >
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to