Re: log4j

2008-12-27 Thread Mohit Anchlia
This is a very good article. I just have one question. I don't have root logger and I use some other logger name. What should I pass in the ObjectName? Below is my log4j config: http://jakarta.apache.org/log4j/"; debug="false">

Re: Filter and ServletResponseWrapper obligations

2008-12-27 Thread Michael Ludwig
Christopher Schultz schrieb am 01.12.2008 um 14:15:31 (-0500): > Michael Ludwig wrote: Hi Chris, thanks for your reply. Sorry for not getting back earlier. > Is this the filter you wrote in your other thread? Yes. > Maybe you are not printing your output at the right time. Or maybe you > aren'

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-12-27 Thread Michael Ludwig
Christopher Schultz schrieb am 01.12.2008 um 13:15:24 (-0500): > Michael Ludwig wrote: [Better late than never.] > > public HttpResponseCatcher( HttpServletResponse res) { > > super( res); > > this.buffer = new ByteArrayOutputStream(); > > this.stream = new CapturedServletOutputStream( thi

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-27 Thread André Warnier
Rainer, about the patch below : Is there any chance that this patch would not work if the request being redirected to Tomcat through mod_jk is a sub-request, and/or being made from within an authentication handler ? The reason I am asking : I know that the patch works when the request is a ma

HTTP Status 404

2008-12-27 Thread satya mahapatra
Hi, I have created sample web application using MyEclipse6.5. There is just one welcome page is there. When I am giving the Context path I am expecting the welcome page should be displayed. The entry in the web.xml file is as follows. index.jsp The web.xml file is inside \WebRoot\WEB-INF\web

org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to org.apache.AnnotationProcessor

2008-12-27 Thread adilturbo
Hi, I have a web application that was running on tomcat5.5. Now i want to deploy it on tomcat 6. when runing it, i got an error saying: org.apache.jasper.JasperException: java.lang.ClassCastException:org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to org.apache.AnnotationProce