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: Context cachingAllowed=false / 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

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

Re: FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
assign the classname attr inside the Resource element 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: Context cachingAllowed=false / Thanks

Re: FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
assign the classname attr inside the Resource element 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: Context cachingAllowed=false / Thanks