Thanks Chris comments below....
On Fri, Jan 15, 2010 at 7:10 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----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. > > I don't have any Virutal Hosts... > > 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. > Yep.. I swithecd it to 127.0.0.1. I also tried localhost.... > > > 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. > > I tried it with and without... I get the same results. A co worker of mine got it working on CentOS by compiling Apache and mod_jk. I used his instructions, and now it works on my CentOS instance. I never did get it to work on Ubuntu, but now that I have it working somewhere, the priority to get it working on Ubunutu is low. Thanks for your help > - -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 > > -- Rick Hightower (415) 968-9037 http://www.google.com/profiles/RichardHightower