tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 1world1love <>
Subject Re: apache/tomcat/modjk URL path question
Date Thu, 22 Oct 2009 20:53:31 GMT

Rainer Jung-3 wrote:
> Sorry I didn't read all of it very carefully, but is it possible you
> left out the "PT" flag (pass-through)? Without it, Apache doesn't run a
> request which was changed by mod_rewrite through mod_jk. 

I just added it in right before your post, and it did actually do the
redirect correctly. So the request: loads

Now, however, my authentication doesn't work. I have this app setup for form
based auth. My form page loads fine, but when I submit, I get this

The connection was reset....

In my mod_jk log, I can see that tomcat was trying to return a 408 status
page. In my app logs, I can see that the auth connection (ldap) is getting
reset and I get this in the log:

WARNING: Exception performing authentication
javax.naming.CommunicationException [Root exception is Connection reset]; remaining name......

Interestingly, if I access the page via IP:8080 (bypassing the rewrite), the
auth works fine. No errors.

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message