-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rick,

On 1/14/2010 5:52 PM, Rick Hightower wrote:
> LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
> JkWorkersFile /etc/apache2/workers.properties
> JkShmFile     /var/log/apache2/mod_jk.shm
> JkLogFile     /var/log/apache2/mod_jk.log
> JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
> JkMountFile /etc/apache2/uriworkermap.properties
> JkLogLevel    trace
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> JkMount  /hello/* worker1
> 
> # Send servlet for context /examples to worker named worker1
> JkMount  /examples/servlet/* worker1
> # Send JSPs  for context /examples to worker named worker1
> JkMount  /examples/*.jsp worker1

Are these JkMount directives within any VirtualHost? I've had problems
where JkMounts were specified at the top-level of httpd.conf and they
are /not/ automatically copied into each VirtualHost.

> Here is the workers.properties file.
> 
> /etc/apache2/workers.properties
> 
> csmad...@csm-dev:/etc/apache2$ cat workers.properties
> # Define 1 real worker using ajp13
> worker.list=worker1
> # Set properties for worker1 (ajp13)
> worker.worker1.type=ajp13
> worker.worker1.host=127.0.0.0
> worker.worker1.port=8009

This looks fine.

> The above is fairly vanilla, pretty much cut & paste out of the how-to guide
> for the impatient. I tried with worker.worker1.host=localhost. This did not
> work either.

The default host is 'localhost', and you've already seen that 127.0.0.0
should be 127.0.0.1, but that isn't your (current) problem.

> Here is the /etc/apache2/uriworkermap.properties
> 
> csmad...@csm-dev:/etc/apache2$ cat uriworkermap.properties
> /hello=worker1
> /hello/*=worker1

If you have JkMount directives, you shouldn't need
uriworkermap.properties nor the JkMountFile directive. Try removing both
and seeing if that improves things.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktQhWwACgkQ9CaO5/Lv0PB/UQCguFJNpold81bQNK4oPANop/K0
xKoAn0rIbK9QjhLB8avP3Cf8QB4uI5pK
=JOC0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to