tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul D. Hester" <phes...@ufl.edu>
Subject RE: JK2 2.0.4
Date Fri, 01 Oct 2004 16:06:17 GMT
Thanks Matt.  By deleting the <Virtual Host> and all directive within in
the httpd.conf remedied the errors I was getting in the Apache log file.
All is working now!  Thanks everybody for your help.

Have a great weekend.
Paul



-----Original Message-----
From: Dale, Matt [mailto:Matt.Dale@beCogent.com] 
Sent: Friday, October 01, 2004 11:36 AM
To: Tomcat Users List
Subject: RE: JK2 2.0.4


This is working because of your workers2.properties not the httpd.conf
as your port definitions will never match in there. You should be able
to remove those virtual hosts and it will still work.

Can you post your jk2.properties from the 8209 tomcat?

-----Original Message-----
From: Paul D. Hester [mailto:phester@ufl.edu]
Sent: 01 October 2004 16:27
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message