I'd take out the apr at the beginning of the handler list but can't see how that would 
cause the errors

-----Original Message-----
From: Paul D. Hester [mailto:[EMAIL PROTECTED]
Sent: 01 October 2004 16:42
To: 'Tomcat Users List'
Subject: RE: JK2 2.0.4


Below is a copy of the jk2.properties for the 8209 tomcat:

****jk2.properties****

# Set the desired handler list
handler.list=apr,channelSocket,request

# Set the default port for the channelSocket
channelSocket.port=8209

#shm.file=/usr/local/apache-2.0.50/logs/jk2.shm

apr.NativeSo=/usr/local/apache-2.0.50/modules/libjkjni.so


Thanks,
  Paul







-----Original Message-----
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

Reply via email to