Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Jerry Malcolm
Thanks. That was the way I was doing it in the filter (getting the dispatcher from the various contexts). I changed it. The good news is that the routing now works as expected. The bad news is that it is still bypassing the security stuff. I wasn't logged in, and it went straight to the protec

Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Konstantin Kolinko
2011/12/26 Jerry Malcolm <2ndgenfi...@gmail.com>: > Konstantin, > > Thanks for the info.  I think I'm getting close.  As a test, I have created > a valve that just forces a redirect.  It compiled fine.  I registered it > under the 'host' tag next to the other valves in server.xml.  When I send a >

Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Jerry Malcolm
Konstantin, Thanks for the info. I think I'm getting close. As a test, I have created a valve that just forces a redirect. It compiled fine. I registered it under the 'host' tag next to the other valves in server.xml. When I send a request in, my print statements write to System.out just as e

Re: response.isCommited() returns false after sendRedirect is called?

2011-12-25 Thread Polina Genova
Thanks for the answer, Konstantin, Actually I was referring to the HttpServletResponse interface simply because org.apache.catalina.connector. Response implements it and I would expect that its isCommited() implementation complies with it just like ResponseFacade's one does. Thanks! Best Regards

Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Konstantin Kolinko
2011/12/26 Jerry Malcolm <2ndgenfi...@gmail.com>: > Thanks for the input.  This has turned into something really ugly.  Let me > go back and summarize the situation: > > I have an established large application made up of about 10 separate > webapps (contexts) to keep it modular.  Within each contex

Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Jerry Malcolm
Thanks for the input. This has turned into something really ugly. Let me go back and summarize the situation: I have an established large application made up of about 10 separate webapps (contexts) to keep it modular. Within each context there are 3-5 user roles with varying authority. I organ

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2011-12-25 Thread Konstantin Kolinko
2011/12/17 Frank Zhang : > Hi All: >                Our code is using apache dbcp library and mysql-connector as > JDBC driver other than tomcat own tomcat-dbcp.jar. we always put > mysql-connector at CATALINA_HOME/lib while put commons-dbcp-1.4.jar > at CATALINA_HOME/webapps/client/WEB-INF/lib/.

Re: Odd NIO connector behavior

2011-12-25 Thread Konstantin Kolinko
2011/12/25 Matthew Tyson : > On Sat, Dec 24, 2011 at 10:33 AM, Matthew Tyson > wrote: > >> On Sat, Dec 24, 2011 at 1:06 AM, Mark Thomas wrote: >> >>> On 23/12/2011 23:39, Matthew Tyson wrote: >>> > Hello, >>> > >>> > We have been having quite a few problems with using long-polling >>> > connection