Paul,

My virtualhost file is automatically generated by Tomcat on startup,
so IT is defining the worker (ajp13) by default.  The problem arose
because the sample workers.properties file doesn't use the same name,
by default, for illustrating how the file is used.  I'm sure there's a
way to change the Jkworker that is automatically generated by the
server on startup so that it will be any name I want, including that
found in the sample workers.properties file.  I just find it a bit
irritating that the default implementations of the two components
don't match up on something simple, yet key, as the worker name.

Seems to be a case of the left-hand developer not keeping up with
changes made by the right-hand developer.  What was really helpful was
the complete lack of any logging that indicated this was the problem. 
As I said I was simply documenting what fixed my problem for the sake
of posterity since after days of searching through archives and google
search results looking for information I ran across many threads that
would state a problem, get some responses, but then never report
whether the problem was ever fixed and if so how.


On Wed, 16 Mar 2005 16:29:47 +0100, Paul Puschmann <[EMAIL PROTECTED]> wrote:
> Tony Stocker wrote:
> > All,
> > 
> > I believe that I found my problem, and for the sake of posterity I'm
> > posting it for the next poor fool who is forced to chase around the
> > web and through books looking for decent documentation.
> > 
> > When I set up Tomcat I copied the sample workers.properties file from
> > the JK source.  However it turns out that the sample file uses the
> > wrong worker name (compared to the name that is automatically
> > generated.)  In my case, the sample file was this:
> > 
> > worker.list=ajp13w
> > 
> > worker.ajp13w.type=ajp13
> > worker.ajp13w.host=localhost
> > worker.ajp13w.port=8009
> > 
> > However, as can be seen in my original post, the conf/auto/mod_jk.conf
> > file wants to use "ajp13".
> > 
> > By changing the workers.properties file to 'ajp13' and NOT 'ajp13w'
> > everything started working.
> > 
> > 
> Since you adresss the worker to use in the JkMount-entry, you should use
> the name of the existing worker in your virtualhost-file. (ajp13w)
> 
> Paul
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to