Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-16 Thread Martin B. Smith
On 12/16/2009 11:01 PM, Bill Barker wrote: > "André Warnier" wrote in message > news:4b294eb6.4090...@ice-sa.com... >> Martin B. Smith wrote: >>> Howdy! >>> >>> I'm trying to ensure that only specific instances of Apache are allowed

Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-16 Thread Martin B. Smith
e showing up as empty pages in Apache, instead of showing a default 403 page like Apache usually does. Thanks for any insight! -- Martin B. Smith smit...@ufl.edu - (352) 273-1374 CNS/Open Systems Group University of Florida -

Re: Tomcat 5.5.28 with simple valve causes startup errors

2009-12-16 Thread Martin B. Smith
On 12/16/2009 11:33 AM, Mark Thomas wrote: On 16/12/2009 17:28, Martin B. Smith wrote: Hi folks, I'm getting some exceptions with a vanilla Tomcat 5.5.28 and a simple logging valve. I'm using the following version of Java: java version "1.5.0_22" Java(TM) 2 Runtime E

Tomcat 5.5.28 with simple valve causes startup errors

2009-12-16 Thread Martin B. Smith
eceive, and below that, the full server.xml including the fragment above. Am I way off the path on configuring a logging valve? Thanks! Martin B. Smith smit...@ufl.edu - (352) 273-1374 CNS/Open Systems Group University of Florida -- 2009-12-16 11:25:23,071 WARN main org

Re: HttpServletRequest#getSession(false) says the session is good, but session is still invalid!

2008-12-12 Thread Martin B. Smith
t mind providing the code -- it's at http://java.pastebin.ca/1283742. Actually, looking at it in the pastebin -- could it be that I'm setting an attribute FOR the error about a missing session? Hmm did I just solve my own problem? Martin Christopher Schultz wrote: > Martin, &g

HttpServletRequest#getSession(false) says the session is good, but session is still invalid!

2008-12-12 Thread Martin B. Smith
Hi there, With Tomcat 5.5 , I'm using the (what I assume to be typical) pattern: -- if(!request.isRequestedSessionIdValid() || request.getSession(false) == null) { // some code to bail out and return an error } HttpSession session = request.getSession(); -- and yet, later on in my code, a cal