Exploded war folder becomes corrupt

2008-11-07 Thread Kenneth Westelinck
Dear list, I have an application (ApplicationA) running on Tomcat 6.0.16. Occasionally, when Tomcat is restarted, the contents of the folder where the exploded war resides becomes corrupt. I.e. jars that can be found underneath /webapps/ProjectA/WEB-INF/lib are removed, resulting in numerous Class

Re: Session timeout problem in tomcat

2008-10-31 Thread Kenneth Westelinck
I have noticed that tomcat does not honor the session timeout of your webapp. It does, however, honor the timeout in tomcathome/conf/web.xml. I have seen this behaviour in Tomcat 6.0.16. I am not sure if newer versions honor the settings of the webapp's web.xml. On Fri, Oct 31, 2008 at 8:38 AM, Th

Re: OT: a java question - static initialization

2008-02-20 Thread Kenneth Westelinck
Did a quick test on 1.6.0 update 2 and the static block does get called. I guess this is a bug. On Feb 20, 2008 4:47 PM, Dave <[EMAIL PROTECTED]> wrote: > class Foo { > > private static int; > > static { > a = 100; > } > > Foo() { > > } > > } > > Class.forName(

Re: Need help with authentication

2007-04-04 Thread Kenneth Westelinck
Yes! It is working! Thank you all for your help. Sorry for being such a nag.

Re: Need help with authentication

2007-04-04 Thread Kenneth Westelinck
Hi again, I did some further researching. I found this on the 304 returned by Tomcat when using firefox: -8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<-- You should never see this error in your Web browser. It

Re: Need help with authentication

2007-04-04 Thread Kenneth Westelinck
Ok, here is some headers I found with "fiddler": From firefox: - Request 1: GET /eai-admin/ HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9

Re: Need help with authentication

2007-04-03 Thread Kenneth Westelinck
Any ideas why I only get redirected in firefox after doing a refresh and why this is working as it should in internet explorer?

Re: Need help with authentication

2007-03-30 Thread Kenneth Westelinck
So, I upgraded to Tomcat 5.5.23 (I was running 5.5.15). Now at least the problem is consistent. For all users I get the login page again. If I refresh, I get redirected to http://localhost/somewhere/index.html. On 3/30/07, Kenneth Westelinck <[EMAIL PROTECTED]> wrote: Ok, thanks all fo

Re: Need help with authentication

2007-03-30 Thread Kenneth Westelinck
Ok, thanks all for your replies. Another problem is the following: - I logon to http://localhost/somewhere using X's credentials. Logon succeeds and I get redirected to http://localhost/somewhere/index.html - I logon to http://localhost/somewhere using Y's credentials. I get the login page again.

Need help with authentication

2007-03-30 Thread Kenneth Westelinck
Hi all, I have the following setup: - Tomcat 5.5 install on win32, webapps reside underneath webapps/ROOT. http://localhost/ shows me index.jsp - Next I have enabled JDBC realm authentication (webapps/ROOT/WEB-INF/web.xml). / pages which require login