Hi,
I followed the procedure for overriding resources and added the following to the Tomcat server.xml: <Context path="/orbeon" docBase="orbeon.war" reloadable="false" override="true" crossContext="true"> <Parameter override="false" name="oxf.resources.priority.0" value="org.orbeon.oxf.resources.FilesystemResourceManagerFactory"/> <Parameter override="false" name="oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory" value="/resources"/> </Context> This works just fine. Now I would like to move this to the Orbeon web.xml, I tried several ways but I just can't get it to work. What do I need to put in the web.xml so that I can remove the above from server.xml? It's probably trivial, some slash that is missing or needs to be added. I tried this and several variations. <context-param> <param-name>oxf.resources.priority.0</param-name> <param-value>org.orbeon.oxf.resources.FilesystemResourceManagerFactory</param-value> </context-param> <context-param> <param-name>oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory</param-name> <param-value>/resources</param-value> </context-param> regards, Gerrit -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Gerrit,
Try placing instead <init-param>'s under the <servlet> element. -Erik On Fri, Nov 11, 2011 at 2:42 AM, Gerrit Boers <[hidden email]> wrote: > Hi, > I followed the procedure for overriding resources and added the following to > the Tomcat server.xml: > <Context path="/orbeon" docBase="orbeon.war" reloadable="false" > override="true" crossContext="true"> > <Parameter override="false" > name="oxf.resources.priority.0" > value="org.orbeon.oxf.resources.FilesystemResourceManagerFactory"/> > <Parameter override="false" > name="oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory" > value="/resources"/> > </Context> > This works just fine. > Now I would like to move this to the Orbeon web.xml, I tried several ways > but I just can't get it to work. > What do I need to put in the web.xml so that I can remove the above from > server.xml? > It's probably trivial, some slash that is missing or needs to be added. > I tried this and several variations. > <context-param> > <param-name>oxf.resources.priority.0</param-name> > <param-value>org.orbeon.oxf.resources.FilesystemResourceManagerFactory</param-value> > </context-param> > <context-param> > <param-name>oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory</param-name> > <param-value>/resources</param-value> > </context-param> > regards, > Gerrit > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |