Re: cachingAllowed="false" kills tomcat-5.5 (works on tomcat-6)

2008-02-25 Thread Mick Semb Wever
> My application has in META-INF/context.xml: > > > > This works just beautifully in tomcat-6 but in tomcat-5.5 the > application warfile fails to unpack. > Not a single related log line is written in any of tomcat's logfiles! > > Any idea what's up with tomcat-5.5? > Any idea how to get some

cachingAllowed="false" kills tomcat-5.5 (works on tomcat-6)

2008-02-18 Thread Mick Semb Wever
-- follow up from "FileDirContext fails to immediately recognise new files" -- My application has in META-INF/context.xml: This works just beautifully in tomcat-6 but in tomcat-5.5 the application warfile fails to unpack. Not a single related log line is written in any of tomcat's logfiles!

Re: FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
> assign the classname attr inside the classname=org.apache.naming.resources.FileDirContext > > http://dspace.dsto.defence.gov.au/tomcat-docs/config/resources.html > Sorry for asking so hastily. Seems to work well with META-INF/context.xml: Thanks very much for pointing me in the right dire

Re: FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
> assign the classname attr inside the classname=org.apache.naming.resources.FileDirContext > > http://dspace.dsto.defence.gov.au/tomcat-docs/config/resources.html > Sorry for asking so hastily. Seems to work well with META-INF/context.xml: Thanks very much for pointing me in the right dire

FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
My application writes new files out into the container's webapps/ROOT/ directory. But servletContext.getResource(..) returns null if it is called too quickly after the file has been created. This can be debugged all the way down to FileDirContext simply not finding the file. Funny when "new F