You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ohaya <oh...@cox.net> on 2004/08/18 02:16:52 UTC

How to enable mod_jk2 logging or trace problem

Hi,

I had posted a msg earlier today about a problem I'm having where in my
JSP, I don't seem to be able to retrieve the client certificate
information for my Apache+Tomcat+mod_jk2 server.

I'm starting to wonder if maybe the problem may be that Apache is not
passing the information on to Tomcat.

Is there a way to enable logging of what mod_jk2 is seeing, or some
other ideas about how to debug/trace this problem.  

Right now, in my Apache httpd.conf, I have:

<IfModule !mod_jk2.c>
LoadModule jk2_module modules/mod_jk2.so
#JkLogFile logs/mod_jk.log
#JkLogLevel debug
#JkRequestLogFormat "%w %V %T %q"
</IfModule>

I added the lines above that are commented out, but that didn't seem to
do anything (it didn't create a mod_jk.log)...

Thanks,
Jim

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


Re: How to enable mod_jk2 logging or trace problem

Posted by Eugene <j....@bk.ru>.
Hello ohaya,
try this:

LoadModule jk2_module "path/to/your/modules/mod_jk2.so"
<IfModule mod_jk2.c>
    JkSet config.file path/to/your/workers2.properties
</IfModule>

Regards

Tuesday, August 17, 2004, 9:16:52 PM, you wrote:

o> Hi,

o> I had posted a msg earlier today about a problem I'm having where in my
o> JSP, I don't seem to be able to retrieve the client certificate
o> information for my Apache+Tomcat+mod_jk2 server.

o> I'm starting to wonder if maybe the problem may be that Apache is not
o> passing the information on to Tomcat.

o> Is there a way to enable logging of what mod_jk2 is seeing, or some
o> other ideas about how to debug/trace this problem.  

o> Right now, in my Apache httpd.conf, I have:

o> <IfModule !mod_jk2.c>
o> LoadModule jk2_module modules/mod_jk2.so
o> #JkLogFile logs/mod_jk.log
o> #JkLogLevel debug
o> #JkRequestLogFormat "%w %V %T %q"
o> </IfModule>

o> I added the lines above that are commented out, but that didn't seem to
o> do anything (it didn't create a mod_jk.log)...

o> Thanks,
o> Jim

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




-- 
Best regards,
 Eugene                            mailto:j.subscribe@bk.ru


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