Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-23 Thread Johan Thorselius
ssion > ID value was readily recognisable, and quite different to Tomcat values. > > That may also explain the Linux/Windows difference if your development > boxes are on Windows and the production/test boxes are on Linux. > > Regards > > Ron > > - Origina

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-22 Thread Johan Thorselius
CookieJSESSIONID=BEED739340DDD4370C85A9D12917692A Johan 2009/12/22 Johan Thorselius > The issue now boils down to the following a bit strange thing. Any idea why > this happens ? > > > - request.getSession() returns an incorrect null on Linux, but on Windows > it's OK - under the followi

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-22 Thread Johan Thorselius
gt; In the "log incorrect event" code, do you return >> from the valve, or do you continue processing? The execution continues down to the bottom with 'getNext().invoke(req,resp)' Johan 2009/12/17 Christopher Schultz > -----BEGIN PGP SIGNED MESSAGE- > Hash:

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-21 Thread Johan Thorselius
Thanks, but the folder permissions where already like >> drwxr-xr-x Johan 2009/12/17 Martin Gainty > > sounds like a permissions error on the work folders > /tomcat/apache-tomcat-6.0.18/work > fu...@127.0.0.1 /tomcat/apache-tomcat-6.0.18/work > $ ls -al > total 0 > drwx--+ 3 ???

Http session lost b/w struts actions on Linux but not in Win

2009-12-17 Thread Johan Thorselius
request.getSession() returns an incorrect null on Linux, but on Windows it's OK. I have an ordinary Struts2 web app deployed on Tomcat 6.0.20, together with a JAAS-solution where I have my own Valve class. The Valve repeatedly executes invoke() with the following code-snippet (here very much simp

Re: valve.invoke() called twice in request

2009-11-02 Thread Johan Thorselius
f. After the authent. login user/pwd, obviously my valve is called once again. My bigger issue I described in another posting last friday. Thanks Johan 2009/11/2 Caldarale, Charles R > > From: Johan Thorselius [mailto:johan.thorsel...@gmail.com] > > Subject: valve.invoke

valve.invoke() called twice in request

2009-11-02 Thread Johan Thorselius
Why is my valve.invoke() called twice ? I have developed my own valve like in the code below. I see that the invoke() method is called twice in the same request - does anyone know why ? Note that my trace in listValves() shows that it is only one instance of my valve AuthValve and one of 'org.apa

Turn off login window in proxy-based authentication (JAAS)

2009-10-30 Thread Johan Thorselius
I wonder where the mechanism to invoke the login window with user/pwd for authentication is located, and how to turn it off ? I have a proxy-based authentication in a server in front of my Tomcat, so the user is already authenticated when the request reaches Tomcat. - I have a small valve class l

Implementing custom authentication on Tomcat 6.x

2009-10-20 Thread Johan Thorselius
I have an issue with finding a proper custom authentication mechanism with Tomcat (6.x). Currently I have a Tomcat 6.0.20 setup with the standard org.apache.catalina.realm.JAASRealm. The http-header is populated on an outside authentication server so the user is considered already authenticated wh