Article:
  What's New in Tomcat 5
Subject:   BadInputFilterValve Compilation Failure In Tomcat 5
Date:   2004-07-15 19:14:51
From:   chuckygunn
Response to: BadInputFilterValve Compilation Failure In Tomcat 5

Just woke up from a straight 30hr programming run... Sorry that I forgot to put down some system information. I was experiencing the compile errors when using Tomcat 5.0.18, with J2SDK 1.4.2, and J2EE 1.3.1 (and tried J2EE 1.4 but were disgusted by it). Any help will be appreciated. Spent 10+ hrs on this...
Full Threads Newest First

Showing messages 1 through 2 of 2.

  • BadInputFilterValve Compilation Failure In Tomcat 5
    2004-07-15 22:58:10  chuckygunn [View]

    solution found. well, if u r using Tomcat5.0.18, you'll need to get the jmx from the $CATALINA_HOME/common/lib. if u r using the latest(as of now), i.e. 5.0.27, the classpath for compilation of the BadInputFilterValve.java should be:

    $CATALINA_HOME/server/lib/catalina.jar:$CATALINA_HOME/
    server/lib/jakarta-regexp-1.3.jar:$CATALINA_HOME/
    server/lib/catalina-optional.jar:$CATALINA_HOME/
    common/lib/servlet-api.jar:/jakarta-tomcat-5.0.27-
    embed/lib/mx4j-jmx.jar

    The last sub-path depends on where you uncompress the jakarta-tomcat-5.0.27-embed tar ball.

    • BadInputFilterValve Compilation Failure In Tomcat 5
      2004-07-16 08:04:38  chuckygunn [View]

      well, pardon me for writing so many lines here. it turns out that jmx.jar exists under $CATALINA_HOME/bin. it, in turn, has the required class for compilation.