hd0815 wrote:
I recompiled Parameters.java with my configuration. Replace the class file in the jar of your JBoss installation with the one I appended. This should be working.
Everytime the request has such an invalid parameter, a log entry with 'invalid chunk ignored' will be created. Be sure to make a copy of your jbossweb.jar before replacing the class file.
Nope didn't work... First I unzipped the jar file, overwrote Parameters.class and then zipped it again, but I got the same error as before...
I also tried the jar command from the command prompt but I got an Access is denied error
Hi!
svn diff https://anonsvn.jboss.org/repos/jbossweb/tags/JBOSSWEB_7_0_13_FINAL/java/org/apache/tomcat/util/http/Parameters.java https://anonsvn.jboss.org/repos/jbossweb/tags/JBOSSWEB_7_0_17_FINAL/java/org/apache/tomcat/util/http/Parameters.java
--- Parameters.java (.../JBOSSWEB_7_0_13_FINAL/java/org/apache/tomcat/util/http/Parameters.java) (revision 2103)
+++ Parameters.java (.../JBOSSWEB_7_0_17_FINAL/java/org/apache/tomcat/util/http/Parameters.java) (revision 2103)
@@ -404,7 +404,8 @@
Integer.valueOf(decodeFailCount)));
}
if (parseFailed) {
- throw new IllegalStateException(sm.getString("parameters.failed"));
+ //no need to throw an exception, let's just log a warning as previously done
+ log.warn(sm.getString("parameters.failed"));
}
}
I hope that it problem is will disappear at JBossAS next version
Message was edited by: Andrey Kotov
I had this same problem and after a long walk trying jboss 6 and patch the jbossweb 7.1.1, finally I just replaced the web module of jboss 7.1.1 with the jboss 7.1.0.
Till now, with no problems.
hope it helps and red hat releases a RTM version of jboss, probably 7.2?
José Cruz
Hi David,
Thanks for your answer... its really helped me lot...