Wednesday, October 5, 2011

java.lang.NoClassDefFoundError: org/apache/tomcat/util/buf/B2CConverter in Tomcat Deployment

If you have the same problem in deploying your webapp with ant, in Tomcat 7. Then copy the following jars to your lib directory of ant:

catalina-ant.jar
tomcat-coyote.jar
tomcat-util.jar
tomcat-juli.jar

Friday, July 1, 2011

PIL Installation Error: Bad value Of libz, Recompile With "-fPIC"

Solution:
Recompile zlib with "-fPIC" option after configure. Modify as following:
CC=gcc
to
CC=gcc -fPIC

Then make install.

Thursday, June 30, 2011

Solution to mod_python 3.3.1 With Segmentation fault (11)

This is actually a bug in mod_python 3.3.1. What happens is that when some deprecated functions are invoked, it tries to throw out a deprecated warning. However, unfortunately, mod_python will crash at this right time.

The solution is simple, just use this patch:
Attachment