https://issues.apache.org/bugzilla/show_bug.cgi?id=46907
Olivier Lau <ola...@yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #6 from Olivier Lau <ola...@yahoo.fr> 2009-04-08 05:50:21 PST --- Attached .war file (test_log4j.war, sources included) demonstrating the problem. Please note the presence of commons-logging into /web-inf/lib, as without this Tomcat would not issue any log, and therefore the problem would not be reproduced. Usage: - run the provided webapp under tomcat 5.5.26 (problem may exist on more recent versions too) on a given host (ex: localhost) - perform an HTTP POST with body data on http://localhost/testlog4j/post.jsp (with curl: curl -d "name=value" http://localhost/testlog4j/post.jsp) - if things would work, the jsp would return the content of the POST body, but it doesn't, because Jasper consumes the request stream with its debug traces before the JSP is called. - to make it work, disable Jasper debug logging: edit /web-inf/classes/log4j.properties and uncomment the "log4j.category.org.apache.jasper.servlet.JspServlet=WARN" line : this way Jasper will not log anymore debug traces, therefore not consuming the stream the JSP is using. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org