Problem solved. I uninstalled jdk and tomcat and instaled jre1.5.0_16 and tomcat_5.5.27.
View entire thread