Title: RE: JK + client authentication: getRemoteUser() returns null

I've built jk2 2.0.2 against Apache 2.0.44, run it with Tomcat 4.1.18, and still get exactly the same results: everything seems to work except for getRemoteUser() still returning null.

There is an entry "[error] mod_jk child init 1 0" in the Apache log when it starts. I have no idea what this means, even after looking at the source.

#### workers2.properties (chmeee is the hostname):

[shm]
file=${serverRoot}/logs/shm.file
size=1048576

[channel.socket:chmeee:8009]
port=8009
host=chmeee
#info=Ajp13 forwarding over socket
tomcatId=chmeee:8009

[ajp13:chmeee:8009]
channel=channel.socket:chmeee:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
worker=ajp13:chmeee:8009
#info=Map the whole webapp

# define the worker
[status:status]

# Uri mapping
[uri:/jkstatus/*]
worker=status:status

#### jk2.properties:

shm.file=/oss/Apache-2.0.44/logs/shm.file

request.tomcatAuthentication=false
#request.tomcatAuthentication=true

(I've tried it with both true and false. I expected the correct setting to be "false", but http://marc.theaimsgroup.com/?l=tomcat-user&m=104322962412519&w=2 says "true".

#### Tomcat connector:

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" tomcatAuthentication="false" acceptCount="10" bufferSize="2048" connectionTimeout="0" debug="9" disableUploadTimeout="false" enableLookups="true" maxProcessors="75" minProcessors="5" port="8009" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" proxyPort="0" redirectPort="8443" scheme="http" secure="false" tcpNoDelay="true" useURIValidationHack="false">

      <Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/>
    </Connector>

What do I try next?

Thanks.

PJDM
--
Peter Mayne
Technology Consultant
Spherion Technology Solutions
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602
T: 61 2 62689727  F: 61 2 62689777

The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.


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

Reply via email to