Showing posts with label mod_jk. Show all posts
Showing posts with label mod_jk. Show all posts

Wednesday, February 27, 2008

UTF-8 Problem Between Apache and Tomcat via Mod_JK

If the UTF-8, GBK, Chinese or whatever character set it may be, is showing via Tomcat (i.e. accessing from port 8080) but not showing in Apache (via mod_jk) then one step might be to check that the AJP connector has the URIEncoding set too as mod_jk uses that connector rather than the one that might be set on port 8080.

For Example:

<connector port="9011" enablelookups="false" redirectport="8443" protocol="AJP/1.3" uriencoding="UTF-8"></connector>

Wednesday, April 25, 2007

Mod_JK Apache Stuff

If you're getting an error similar to this in your Event Viewer:

"Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so into server: The specified procedure could not be found."

Don't forget that the binary for mod_jk.so must match your apache version!