Remove the last 4 lines in workers2.properties. these URI mappings are duplicating the JkUriSet in httpd.conf. this would explain why it works, but still reports errors.
Charlie > -----Original Message----- > From: Paul D. Hester [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 11:27 AM > To: 'Tomcat Users List' > Subject: RE: JK2 2.0.4 > > OK...I've got it working but am getting errors in my Apache error log: > [error] uriEnv.init() map to invalid worker /* > apj13:localhost:8209 > [error] uriEnv.init() map to invalid worker /* > apj13:localhost:8209 > [error] uriEnv.init() map to invalid worker /* > apj13:localhost:8209 > [error] uriEnv.init() map to invalid worker /* > apj13:localhost:8209 > How is it possible for it to work. Here is my set up: > > Running two user accounts each running its own instance of > Tomcat 4.1.31 each with their own port designation. > Running Apache 2.0.50 and JK2 2.0.4. > > Each virtual host is being sent over by Apache successfully but I'm > getting the above errors and don't know why it still works. > > http://orbt.at.ufl.edu is using port 8409 and accesses the webapp ORB > successfully. > http://edist.at.ufl.edu is using port 8209 and accesses the webapp EDIS > successfully but why...the above errors are concerning port 8209. > > Below is my httpd.conf and workers2.properties files: > > > ****httpd.conf**** > > ServerName mmdbt.at.ufl.edu > Listen 80 > > AddHandler cgi-script .cgi > > <Directory "/home/*/public_html"> > Options FollowSymLinks ExecCGI Includes Indexes > AllowOverride AuthConfig Fileinfo Limit Indexes > </Directory> > > LoadModule jk2_module modules/mod_jk2.so > > <VirtualHost *> > ServerName mmdbt.at.ufl.edu > DocumentRoot /home/www/public_html > > Redirect permanent /tomcat http://mmdbt.at.ufl.edu/tomcat/ > Redirect permanent /tomcat/tomcat-docs > http://mmdbt.at.ufl.edu/tomcat/tomcat-docs/ > > </VirtualHost> > > <VirtualHost 128.227.8.67:8209> > ServerName edist.at.ufl.edu > <Location /*> > JkUriSet worker apj13:localhost:8209 > </Location> > </VirtualHost> > > <VirtualHost 128.227.8.67:8409> > ServerName orbt.at.ufl.edu > <Location /*> > JkUriSet worker ajp13:localhost:8409 > </Location> > </VirtualHost> > > > ****workers2.properties**** > #define the shared memory file > [shm:] > file=/usr/local/apache-2.0.50/logs/jk2.log > size=1000000 > debug=1 > > # Define the communication channel > [channel.socket:localhost:8409] > port=8409 > host=orbt.at.ufl.edu > type=ajp13 > > > [channel.socket:localhost:8209] > port=8209 > host=edist.at.ufl.edu > type=ajp13 > > # define the worker > [ajp13:localhost:8409] > channel=channel.socket:localhost:8409 > > [ajp13:localhost:8209] > channel=channel.socket:localhost:8209 > > [uri:orbt.at.ufl.edu/*] > group=ajp13:localhost:8409 > > [uri:edist.at.ufl.edu/*] > group=ajp13:localhost:8209 > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
