Bug 40938

Summary: IIS Tomcat Connector URL Rewrite only works in "debug" mode
Product: Tomcat Connectors Reporter: Chris Adams <chris.adams>
Component: CommonAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED FIXED    
Severity: major    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Windows Server 2003   

Description Chris Adams 2006-11-09 09:09:47 UTC
The URL Rewriting capability of the IIS Tomcat Connector (1.2.19) only works in 
debug mode. 

In init_jk(char *serverName) method in jk_isapi_plugin.c the "else" statement 
on line 1227 is calling jk_map_free, which frees the rewrite_map.  If debug is 
enabled the code enters the if on line 1222 and works as expected.  It seems 
like the "else" statement which frees the map should be moved to after line 
1230.

Turning on debug is not an acceptable workaround, since the log file will grow 
extremely large, we've had 8GB+ in a day.
Comment 1 Mladen Turk 2006-11-09 09:25:57 UTC
Fixed in the SVN.
Thanks for spotting that Chris.
Comment 2 Rainer Jung 2008-01-01 16:51:30 UTC
Move a couple of fixed JK issues from resolved to closed.