Re: Re: Static XForm in separate deployment not working with recent builds

Posted by npujol73 on
URL: https://discuss.orbeon.com/Static-XForm-in-separate-deployment-not-working-with-recent-builds-tp932536p1575404.html

I am posting this again but i still have an issue of the same nature.

I am in a separate deployment and I get the error below in the browser when using "*.xhtml" as a filter url pattern. It works fine if I use a url pattern like this "/somepath/*". I am using orbeon version dev-post-3.7.1.201002261123.

Cannot load "/apps/orbeon/page-flow.xml" with webapp loader

I can tell that my xform is being processed since it renders but the error shows up right after. Here is my separate deployment setup.


....
        <filter>
                <filter-name>orbeon-xforms-filter</filter-name>
                <filter-class>org.orbeon.oxf.servlet.OrbeonXFormsFilter</filter-class>
                <init-param>
                        <param-name>oxf.xforms.renderer.context</param-name>
                        <param-value>/orbeon</param-value>
                </init-param>
        </filter>
.....
<filter-mapping>
                <filter-name>orbeon-xforms-filter</filter-name>
                <url-pattern>*.xhtml</url-pattern>
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
       
        <filter-mapping>
                <filter-name>orbeon-xforms-filter</filter-name>
                <url-pattern>/orbeon/*</url-pattern>
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>FORWARD</dispatcher>
        </filter-mapping>

Any ideas?