Value of javax.servlet.context.tempdir set by Tomcat 7 not respected by RichFaces 4.2.2Final
===

I'm providing a `<Parameter name="javax.servlet.context.tempdir" value="${catalina.base}/my_temp" override="false"/>` inside the `<Context>` node of Tomcat's `context.xml` file.

I know it's being seen on server start up because of this log message:
<pre>
INFO: Creating LRUMap cache instance using parameters: {javax.servlet.context.tempdir=D:\{omitted}\tmp0\my_temp, org.richfaces.resourceMapping.enabled=true, javax.faces.PROJECT_STAGE=Development, javax.faces.SKIP_COMMENTS=true}</pre>

However, when stepping over code in the RichFaces `FileUploadFacesContextFactory.getTempFilesDirectory()` method, a call to ` servletContext.getAttribute("javax.servlet.context.tempdir")` (where `servletContext` is an instance of `org.apache.catalina.core.ApplicationContextFacade`) gives the value `D:\{omitted}\tmp0\work\Catalina\localhost\_`.

I was under the impression (from the [Tomcat Docs on context parameters][1]) that setting `override="false"` should keep any application from providing an alternative value for this parameter.

Is this expected behaviour?  Configuration error on my part?


  [1]: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Context_Parameters