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-tp932536.html

hi,

 I've tried the 11/25 and 12/01 builds and a simple xform (which works when dropped in orbeon.war/xforms-jsp) and is NOT working in a separate deployment. Note that it DOES work with an earlier build from back in september. There is no error in the console and it appears the request is being forwarded to orbeon as I am seeing the ProcessService spitting out some log entries. On the UI end, I can see a white page that at the top shows the "You may want to try one of the following" etc... message (though not in a popup as i have seen before), followed by my munbled form.

I am running on JBOSS 4.0.2 on top lof linux ubuntu.

 I am confident that my web.xml is correct (as I have not changed it). Here are  relevant snippets from web.xml file for reference. Any thoughts? Could it be related to the bug that was fixed by Eric in yesterday's build? That should have made in 12/01 build though....

.....
      <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>/xforms/*</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>
......

Here is the xforms (which again runs fine within orbeon.war/xforms-jsp)

<html
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:xforms="http://www.w3.org/2002/xforms"
    xmlns:ev="http://www.w3.org/2001/xml-events"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <head>
      <xforms:model id="fr-form-model">
            <xforms:instance id="data">
                <root xmlns="" required="">
                    <field10/>
                </root>
            </xforms:instance>
        </xforms:model>
    </head>
    <body>
         <xforms:input ref="instance('data')/field10">
            <xforms:label>field10 buddy</xforms:label>
            <xforms:alert>Required</xforms:alert>
        </xforms:input>
    </body>
</html>