"Inconsistent session ids when persisting XForms state store entry." when using 3.6 with a Java app

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

"Inconsistent session ids when persisting XForms state store entry." when using 3.6 with a Java app

Jean Luc-2
Hello,

I've been trying for a few days to get Orbeon integrated into an existing J2EE application - so far we are looking at using it as an XForms engine.

Initially I've tried 3.5.1 but to no luck (I took the ops-xforms-filter.jar from 3.6 but the forward to /xforms-renderer inside OPSXFormsFilter.doFilter() leads to a "resource not found").

So I've configured 3.6.0beta.200710302214 inside our EAR, as described further below , but receive the following when trying to render a simple predefined XForm through a servlet. This is the first request after deployment & server startup, there's no previous session id. The error is repeatable.


Help is really appreciated!

Thank you,
JL




Orbeon call stack:

oxf:/config/xforms-widgets.xsl 27 N/A converting XHTML+XForms document to XHTML 
oxf:/ops/pfc/xforms-epilogue.xpl 122 68 reading processor output (name → document, id → xhtml-data)  <p:output name="document" id="xhtml-data"/>
oxf:/ops/pfc/xforms-epilogue.xpl 128 67 reading processor output (name → data, ref → xformed-data)  <p:output name="data" ref="xformed-data"/>
oxf:/config/epilogue.xpl 44 58 reading processor output (name → xformed-data, id → xformed-data)  <p:output name="xformed-data" id="xformed-data"/>
oxf:/config/epilogue-servlet.xpl 31 48 reading processor output (name → xformed-data) <p:param type="input" name="xformed-data"/>
oxf:/config/epilogue.xpl 62 46 executing processor (name → {<a href="http://www.orbeon.com/oxf/processors}pipeline"> http://www.orbeon.com/oxf/processors}pipeline) <p:processor name="oxf:pipeline">...</p:processor>
oxf:/ops/xforms/xforms-renderer.xpl 67 46 executing processor (name → {<a href="http://www.orbeon.com/oxf/processors}pipeline">http://www.orbeon.com/oxf/processors}pipeline) <p:processor name="oxf:pipeline">...</p:processor>


Java stack trace:
org.orbeon.oxf.common.OXFException
Message Inconsistent session ids when persiting XForms state store entry.
Servlet Stack Trace (102 method calls) 

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore add XFormsPersistentApplicationStateStore.java 132
org.orbeon.oxf.xforms.state.XFormsStateManager getInitialEncodedClientState XFormsStateManager.java 119
org.orbeon.oxf.xforms.processor.handlers.XHTMLBodyHandler start XHTMLBodyHandler.java 100
org.orbeon.oxf.xml.ElementHandlerController startElement ElementHandlerController.java 161
org.orbeon.oxf.xml.ForwardingContentHandler startElement ForwardingContentHandler.java 87
org.orbeon.oxf.xml.ElementFilterContentHandler startElement ElementFilterContentHandler.java 41
org.orbeon.oxf.xforms.processor.XFormsToXHTML$4 startElement XFormsToXHTML.java 382
org.orbeon.oxf.xml.SAXStore replay SAXStore.java 193
org.orbeon.oxf.xforms.processor.XFormsToXHTML outputResponseDocument XFormsToXHTML.java 363
org.orbeon.oxf.xforms.processor.XFormsToXHTML 226
 
Integration setup:

ops.war has been deployed as a web module in an enterprise app into OC4J. the "acm" web application contains a servlet that returns XForms (via Spring MVC, but it's not relevant here). The servlet is hit, produces the XForms output (as application/xml) and its output is intercepted by Orbeon (otherwise I wouldn't see the above).



application.xml is defined as below:

    <module>
        <web>
            <web-uri>acmweb-uri>
            <context-root>acm</context-root>
        </web>
    </module>
    <module>
        <web>
            <web-uri>ops</web-uri>
            <context-root>ops</context-root>
        </web>
    </module>


In OC4J I've configured the ops module to use its own libraries first (otherwise the different versions of xml/xsl libraries create problems)

orion-web.xml:
    <web-app-class-loader search-local-classes-first="true"  include-war-manifest-class-path="true" />

web.xml of the "acm" web module contains the following:

  <filter>
        <filter-name>ops-xforms-filter</filter-name>
        <filter-class>
            org.orbeon.oxf.servlet.OPSXFormsFilter
        </filter-class>
        <init-param>
            <param-name>oxf.xforms.renderer.context</param-name>
            <param-value>/acm/ops</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>ops-xforms-filter</filter-name>
        <url-pattern>/xforms/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>ops-xforms-filter</filter-name>
        <url-pattern>/ops/*</url-pattern>
    </filter-mapping>

and the XForm is:

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xf="http://www.w3.org/2002/xforms"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
    <head>
        <xf:model><xf:instance>
            <pump>
                <physical-data>
                    <weight xsd:type="xsd:decimal" />
                </physical-data>
                <functional-data>
                      <volume xsd:type="xsd:decimal"/>
                </functional-data>
            </pump>
         </xf:instance>
         <xf:bind nodeset="pump/physical-data/weight" required="true()" relevant="true()" constraint=". > 70"/>
        </xf:model>
    </head>
    <body>
        <xf:input ref="/pump/physical-data/weight"><xf:label>Pump Weight</xf:label></xf:input>
        <xf:input ref="/pump/functional-data/volume"><xf:label>Pump volume</xf:label></xf:input>
    </body>
</html>

--
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
Reply | Threaded
Open this post in threaded view
|

Re: "Inconsistent session ids when persisting XForms state store entry." when using 3.6 with a Java app

Erik Bruchez
Administrator
Jean Luc,

> I've been trying for a few days to get Orbeon integrated into an
> existing J2EE application - so far we are looking at using it as an
> XForms engine.

Sounds good, that's how we like it :-)

> Initially I've tried 3.5.1 but to no luck (I took the
> ops-xforms-filter.jar from 3.6 but the forward to /xforms-renderer
> inside OPSXFormsFilter.doFilter() leads to a "resource not found").

Right, this was developed post-3.5.1.

> So I've configured 3.6.0beta.200710302214 inside our EAR, as
> described further below , but receive the following when trying to
> render a simple predefined XForm through a servlet. This is the
> first request after deployment & server startup, there's no previous
> session id. The error is repeatable.

Some changes were made (I think) after your build. I also just
committed a better error message which should display the session ids
involved. If you have a chance, could you try the latest build and
report back?  Please allow a little bit of time (say, an hour after
this email) for the build to make it online.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: "Inconsistent session ids when persisting XForms state store entry." when using 3.6 with a Java app

Jean Luc-2
Hi Erik,

Thanks for the response; I've tried 3.6.0beta.200711020815 and get the following exception every time I start the server or I hit a servlet whose output goes through Orbeon. I'm including a few log lines before the exception for a bit of context.

Please let me know if I can assist with anything else.

Thank you,
JL

2007-11-02 11:01:56,040 INFO  ProcessorService null - Servlet - About to run processor: [{<a href="http://www.orbeon.com/oxf/processors}pipeline"> http://www.orbeon.com/oxf/processors}pipeline, config -> oxf:/apps/context/servlet-initialized.xpl]
2007-11-02 11:01:56,040 DEBUG ProcessorImpl null - Creating validator for input name 'config' and schema-uri ' http://www.orbeon.com/oxf/pipeline'
2007-11-02 11:01:56,056 DEBUG URLGenerator null - OXF Protocol: Using ResourceManager for key /apps/context/servlet-initialized.xpl
2007-11-02 11:01:56,056 DEBUG URLGenerator null - OXF Protocol: Using ResourceManager for key /org/orbeon/oxf/xml/schemas/pipeline.rng
2007-11-02 11:01:56,056 DEBUG ProcessorImpl null - Cache [data, class org.orbeon.oxf.processor.validation.MSVValidationProcessor , config, class org.orbeon.oxf.processor.pipeline.PipelineProcessor]: READING.
2007-11-02 11:01:56,087 DEBUG ProcessorImpl null - Cache [data, class org.orbeon.oxf.processor.generator.DOMGenerator, config, class org.orbeon.oxf.processor.validation.MSVValidationProcessor ]: source cacheable and found for key 'InputCacheKey [class: org.orbeon.oxf.processor.validation.MSVValidationProcessor, inputName: config, DocKey [ SimpleOutputCacheKey [class: org.orbeon.oxf.processor.generator.DOMGenerator , outputName: data, key: no decorate cfg] ]]'. FOUND object: org.dom4j.tree.DefaultDocument@1ac9fff [Document: name null]
2007-11-02 11:01:56,087 DEBUG ProcessorImpl null - Cache [data, class org.orbeon.oxf.processor.generator.URLGenerator , schema, class org.orbeon.oxf.processor.validation.MSVValidationProcessor]: READING.
2007-11-02 11:01:56,087 DEBUG MSVValidationProcessor null - Reading Schema: http://www.orbeon.com/oxf/pipeline
2007-11-02 11:01:56,103 DEBUG WebAppResourceManagerImpl null - getContentAsStream(/org/orbeon/oxf/xml/schemas/pipeline.rng)
2007-11-02 11:01:56,103 DEBUG ClassLoaderResourceManagerImpl null - getContentAsStream(/org/orbeon/oxf/xml/schemas/pipeline.rng)
2007-11-02 11:01:56,401 ERROR ProcessorService null - Exception with no location data
com.sun.msv.verifier.jarv.FactoryImpl$WrapperException: more than one attribute accepts the same name "base"
        at com.sun.msv.verifier.jarv.FactoryImpl$ThrowController.error(FactoryImpl.java:145)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.Controller.error(Controller.java:49)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
        at com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:721)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateNameChecker.check (RestrictionChecker.java:517)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateAttributesChecker.check(RestrictionChecker.java:552)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateNameChecker.add (RestrictionChecker.java:460)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onAttribute(RestrictionChecker.java:131)
        at com.sun.msv.grammar.AttributeExp.visit(AttributeExp.java:47)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onChoice(RestrictionChecker.java:179)
        at com.sun.msv.grammar.ChoiceExp.visit(ChoiceExp.java:26)
        at com.sun.msv.grammar.util.ExpressionWalker.onBinExp (ExpressionWalker.java:74)
        at com.sun.msv.grammar.util.ExpressionWalker.onSequence(ExpressionWalker.java:69)
        at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
        at com.sun.msv.grammar.util.ExpressionWalker.onBinExp (ExpressionWalker.java:73)
        at com.sun.msv.grammar.util.ExpressionWalker.onSequence(ExpressionWalker.java:69)
        at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onElement (RestrictionChecker.java:122)
        at com.sun.msv.grammar.ElementExp.visit(ElementExp.java:63)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$2.onOneOrMore(RestrictionChecker.java:261)
        at com.sun.msv.grammar.OneOrMoreExp.visit (OneOrMoreExp.java:23)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onChoice(RestrictionChecker.java:179)
        at com.sun.msv.grammar.ChoiceExp.visit(ChoiceExp.java:26)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onInterleave (RestrictionChecker.java:190)
        at com.sun.msv.grammar.InterleaveExp.visit(InterleaveExp.java:22)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onInterleave(RestrictionChecker.java:190)
        at com.sun.msv.grammar.InterleaveExp.visit(InterleaveExp.java:22)
        at com.sun.msv.grammar.util.ExpressionWalker.onBinExp(ExpressionWalker.java:74)
        at com.sun.msv.grammar.util.ExpressionWalker.onSequence (ExpressionWalker.java:69)
        at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
        at com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onElement(RestrictionChecker.java:122)
        at com.sun.msv.grammar.ElementExp.visit(ElementExp.java:63)
        at com.sun.msv.grammar.util.ExpressionWalker.onRef(ExpressionWalker.java:39)
        at com.sun.msv.grammar.ReferenceExp.visit(ReferenceExp.java:84)
        at com.sun.msv.grammar.util.ExpressionWalker.onRef(ExpressionWalker.java:39)
        at com.sun.msv.grammar.ReferenceExp.visit(ReferenceExp.java:84)
        at com.sun.msv.reader.trex.ng.RestrictionChecker.check (RestrictionChecker.java:62)
        at com.sun.msv.reader.trex.ng.RELAXNGReader.wrapUp(RELAXNGReader.java:448)
        at com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.wrapUp(RELAXNGCompReader.java:147)
        at com.sun.msv.reader.trex.RootState.onEndChild(RootState.java:63)
        at com.sun.msv.reader.ExpressionState.endSelf(ExpressionState.java:38)
        at com.sun.msv.reader.trex.GrammarState.endSelf(GrammarState.java :66)
        at com.sun.msv.reader.SimpleState.endElement(SimpleState.java:101)
        at org.xml.sax.helpers.XMLFilterImpl.endElement(Unknown Source)
        at com.sun.msv.reader.trex.TREXBaseReader.endElement (TREXBaseReader.java:184)
        at com.sun.msv.reader.trex.ng.RELAXNGReader.endElement(RELAXNGReader.java:527)
        at com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.endElement(RELAXNGCompReader.java:237)
        at orbeon.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:597)
        at orbeon.apache.xerces.xinclude.XIncludeHandler.endElement(XIncludeHandler.java:1060)
        at orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement (XMLNSDocumentScannerImpl.java:676)
        at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1646)
        at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (XMLDocumentFragmentScannerImpl.java:324)
        at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
        at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java :768)
        at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
        at orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
        at com.sun.msv.reader.util.GrammarLoader._loadSchema (GrammarLoader.java:514)
        at com.sun.msv.reader.util.GrammarLoader.parse(GrammarLoader.java:325)
        at com.sun.msv.reader.util.GrammarLoader.loadSchema(GrammarLoader.java:189)
        at com.sun.msv.verifier.jarv.TheFactoryImpl.parse (TheFactoryImpl.java:42)
        at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:98)
        at org.orbeon.oxf.processor.validation.MSVValidationProcessor$6.read(MSVValidationProcessor.java:149)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
        at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
        at org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:120)
        at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read (ProcessorImpl.java:1213)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$900(PipelineProcessor.java:66)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.readImpl(PipelineProcessor.java:457)
        at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read (ProcessorImpl.java:1213)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:422)
        at org.orbeon.oxf.processor.pipeline.PipelineReader.start(PipelineReader.java:79)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.readPipelineConfig (PipelineProcessor.java:469)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$2200(PipelineProcessor.java:66)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$9.read(PipelineProcessor.java :626)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:622)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor (InitUtils.java:95)
        at org.orbeon.oxf.pipeline.InitUtils.run(InitUtils.java:268)
        at org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:126)
        at javax.servlet.GenericServlet.init (GenericServlet.java:256)
        at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at com.evermind.server.http.HttpApplication.loadServlet (HttpApplication.java:2371)
        at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
        at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
        at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
        at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
        at com.evermind.server.http.HttpApplication .<init>(HttpApplication.java:741)
        at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
        at com.evermind.server.Application.getHttpApplication(Application.java :570)
        at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
        at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>( HttpSite.java:1906)
        at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
        at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
        at com.evermind.server.http.HttpServer.setSites (HttpServer.java:270)
        at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
        at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
        at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:1042)
        at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
        at java.lang.Thread.run(Thread.java:534)

On 11/2/07, Erik Bruchez <[hidden email]> wrote:
Jean Luc,

> I've been trying for a few days to get Orbeon integrated into an
> existing J2EE application - so far we are looking at using it as an
> XForms engine.

Sounds good, that's how we like it :-)

> Initially I've tried 3.5.1 but to no luck (I took the
> ops-xforms-filter.jar from 3.6 but the forward to /xforms-renderer
> inside OPSXFormsFilter.doFilter() leads to a "resource not found").

Right, this was developed post-3.5.1.

> So I've configured 3.6.0beta.200710302214 inside our EAR, as
> described further below , but receive the following when trying to
> render a simple predefined XForm through a servlet. This is the
> first request after deployment & server startup, there's no previous
> session id. The error is repeatable.

Some changes were made (I think) after your build. I also just
committed a better error message which should display the session ids
involved. If you have a chance, could you try the latest build and
report back?  Please allow a little bit of time (say, an hour after
this email) for the build to make it online.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: "Inconsistent session ids when persisting XForms state store entry." when using 3.6 with a Java app

Erik Bruchez
Administrator
Mmmh, I really don't see how this could be related to recent changes.
This seems to tell us that a pipeline fails validation upon startup.

Did you make any change to servlet-initialized.xpl by any change?
Unlikely, but who knows.

Also, try commenting out the following lines in your web.xml:

<init-param>
     <param-name>oxf.servlet-initialized-processor.name</param-name>
 
<param-value>{http://www.orbeon.com/oxf/processors}pipeline</param-value>
</init-param>
<init-param>
     <param-name>oxf.servlet-initialized-processor.input.config</param-name>
     <param-value>oxf:/apps/context/servlet-initialized.xpl</param-value>
</init-param>

-Erik

Jean Luc wrote:

> Hi Erik,
>
> Thanks for the response; I've tried 3.6.0beta.200711020815 and get the
> following exception every time I start the server or I hit a servlet
> whose output goes through Orbeon. I'm including a few log lines before
> the exception for a bit of context.
>
> Please let me know if I can assist with anything else.
>
> Thank you,
> JL
>
> 2007-11-02 11:01:56,040 INFO  ProcessorService null - Servlet - About to
> run processor: [{ http://www.orbeon.com/oxf/processors}pipeline, config
> -> oxf:/apps/context/servlet-initialized.xpl]
> 2007-11-02 11:01:56,040 DEBUG ProcessorImpl null - Creating validator
> for input name 'config' and schema-uri ' http://www.orbeon.com/oxf/pipeline'
> 2007-11-02 11:01:56,056 DEBUG URLGenerator null - OXF Protocol: Using
> ResourceManager for key /apps/context/servlet-initialized.xpl
> 2007-11-02 11:01:56,056 DEBUG URLGenerator null - OXF Protocol: Using
> ResourceManager for key /org/orbeon/oxf/xml/schemas/pipeline.rng
> 2007-11-02 11:01:56,056 DEBUG ProcessorImpl null - Cache [data, class
> org.orbeon.oxf.processor.validation.MSVValidationProcessor , config,
> class org.orbeon.oxf.processor.pipeline.PipelineProcessor]: READING.
> 2007-11-02 11:01:56,087 DEBUG ProcessorImpl null - Cache [data, class
> org.orbeon.oxf.processor.generator.DOMGenerator, config, class
> org.orbeon.oxf.processor.validation.MSVValidationProcessor ]: source
> cacheable and found for key 'InputCacheKey [class:
> org.orbeon.oxf.processor.validation.MSVValidationProcessor, inputName:
> config, DocKey [ SimpleOutputCacheKey [class:
> org.orbeon.oxf.processor.generator.DOMGenerator , outputName: data, key:
> no decorate cfg] ]]'. FOUND object:
> org.dom4j.tree.DefaultDocument@1ac9fff [Document: name null]
> 2007-11-02 11:01:56,087 DEBUG ProcessorImpl null - Cache [data, class
> org.orbeon.oxf.processor.generator.URLGenerator , schema, class
> org.orbeon.oxf.processor.validation.MSVValidationProcessor]: READING.
> 2007-11-02 11:01:56,087 DEBUG MSVValidationProcessor null - Reading
> Schema: http://www.orbeon.com/oxf/pipeline 
> <http://www.orbeon.com/oxf/pipeline>
> 2007-11-02 11:01:56,103 DEBUG WebAppResourceManagerImpl null -
> getContentAsStream(/org/orbeon/oxf/xml/schemas/pipeline.rng)
> 2007-11-02 11:01:56,103 DEBUG ClassLoaderResourceManagerImpl null -
> getContentAsStream(/org/orbeon/oxf/xml/schemas/pipeline.rng)
> 2007-11-02 11:01:56,401 ERROR ProcessorService null - Exception with no
> location data
> com.sun.msv.verifier.jarv.FactoryImpl$WrapperException: more than one
> attribute accepts the same name "base"
>         at
> com.sun.msv.verifier.jarv.FactoryImpl$ThrowController.error(FactoryImpl.java:145)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at
> com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:753)
>         at
> com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:721)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateNameChecker.check
> (RestrictionChecker.java:517)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateAttributesChecker.check(RestrictionChecker.java:552)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateNameChecker.add
> (RestrictionChecker.java:460)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onAttribute(RestrictionChecker.java:131)
>         at com.sun.msv.grammar.AttributeExp.visit(AttributeExp.java:47)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onChoice(RestrictionChecker.java:179)
>         at com.sun.msv.grammar.ChoiceExp.visit(ChoiceExp.java:26)
>         at com.sun.msv.grammar.util.ExpressionWalker.onBinExp
> (ExpressionWalker.java:74)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onSequence(ExpressionWalker.java:69)
>         at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
>         at com.sun.msv.grammar.util.ExpressionWalker.onBinExp
> (ExpressionWalker.java:73)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onSequence(ExpressionWalker.java:69)
>         at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onElement
> (RestrictionChecker.java:122)
>         at com.sun.msv.grammar.ElementExp.visit(ElementExp.java:63)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$2.onOneOrMore(RestrictionChecker.java:261)
>         at com.sun.msv.grammar.OneOrMoreExp.visit (OneOrMoreExp.java:23)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onChoice(RestrictionChecker.java:179)
>         at com.sun.msv.grammar.ChoiceExp.visit(ChoiceExp.java:26)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onInterleave
> (RestrictionChecker.java:190)
>         at com.sun.msv.grammar.InterleaveExp.visit(InterleaveExp.java:22)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onInterleave(RestrictionChecker.java:190)
>
>         at com.sun.msv.grammar.InterleaveExp.visit(InterleaveExp.java:22)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onBinExp(ExpressionWalker.java:74)
>         at com.sun.msv.grammar.util.ExpressionWalker.onSequence
> (ExpressionWalker.java:69)
>         at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onElement(RestrictionChecker.java:122)
>         at com.sun.msv.grammar.ElementExp.visit(ElementExp.java:63)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onRef(ExpressionWalker.java:39)
>         at com.sun.msv.grammar.ReferenceExp.visit(ReferenceExp.java:84)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onRef(ExpressionWalker.java:39)
>         at com.sun.msv.grammar.ReferenceExp.visit(ReferenceExp.java:84)
>         at com.sun.msv.reader.trex.ng.RestrictionChecker.check
> (RestrictionChecker.java:62)
>         at
> com.sun.msv.reader.trex.ng.RELAXNGReader.wrapUp(RELAXNGReader.java:448)
>         at
> com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.wrapUp(RELAXNGCompReader.java:147)
>         at com.sun.msv.reader.trex.RootState.onEndChild(RootState.java:63)
>         at
> com.sun.msv.reader.ExpressionState.endSelf(ExpressionState.java:38)
>         at
> com.sun.msv.reader.trex.GrammarState.endSelf(GrammarState.java :66)
>         at com.sun.msv.reader.SimpleState.endElement(SimpleState.java:101)
>         at org.xml.sax.helpers.XMLFilterImpl.endElement(Unknown Source)
>         at com.sun.msv.reader.trex.TREXBaseReader.endElement
> (TREXBaseReader.java:184)
>         at
> com.sun.msv.reader.trex.ng.RELAXNGReader.endElement(RELAXNGReader.java:527)
>         at
> com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.endElement(RELAXNGCompReader.java:237)
>         at
> orbeon.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:597)
>         at
> orbeon.apache.xerces.xinclude.XIncludeHandler.endElement(XIncludeHandler.java:1060)
>         at
> orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
> (XMLNSDocumentScannerImpl.java:676)
>         at
> orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1646)
>         at
> orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (XMLDocumentFragmentScannerImpl.java:324)
>         at
> orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
>         at
> orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java
> :768)
>         at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
>         at
> orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
>         at com.sun.msv.reader.util.GrammarLoader._loadSchema
> (GrammarLoader.java:514)
>         at
> com.sun.msv.reader.util.GrammarLoader.parse(GrammarLoader.java:325)
>         at
> com.sun.msv.reader.util.GrammarLoader.loadSchema(GrammarLoader.java:189)
>         at com.sun.msv.verifier.jarv.TheFactoryImpl.parse
> (TheFactoryImpl.java:42)
>         at
> com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:98)
>         at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$6.read(MSVValidationProcessor.java:149)
>
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
>         at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
>         at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:120)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> (ProcessorImpl.java:1213)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$900(PipelineProcessor.java:66)
>
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.readImpl(PipelineProcessor.java:457)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> (ProcessorImpl.java:1213)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:422)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineReader.start(PipelineReader.java:79)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.readPipelineConfig
> (PipelineProcessor.java:469)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$2200(PipelineProcessor.java:66)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$9.read(PipelineProcessor.java
> :626)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:622)
>         at org.orbeon.oxf.pipeline.InitUtils.runProcessor
> (InitUtils.java:95)
>         at org.orbeon.oxf.pipeline.InitUtils.run(InitUtils.java:268)
>         at
> org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:126)
>         at javax.servlet.GenericServlet.init (GenericServlet.java:256)
>         at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>         at com.evermind.server.http.HttpApplication.loadServlet
> (HttpApplication.java:2371)
>         at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
>         at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
>         at
> com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
>         at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
>         at com.evermind.server.http.HttpApplication
> .<init>(HttpApplication.java:741)
>         at
> com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
>         at
> com.evermind.server.Application.getHttpApplication(Application.java :570)
>         at
> com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
>         at
> com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(
> HttpSite.java:1906)
>         at
> com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
>         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
>         at com.evermind.server.http.HttpServer.setSites
> (HttpServer.java:270)
>         at
> com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
>         at
> com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
>         at com.evermind.server.ApplicationServer.setConfig
> (ApplicationServer.java:1042)
>         at
> com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
>         at java.lang.Thread.run(Thread.java:534)
>
> On 11/2/07, *Erik Bruchez* <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Jean Luc,
>
>      > I've been trying for a few days to get Orbeon integrated into an
>      > existing J2EE application - so far we are looking at using it as an
>      > XForms engine.
>
>     Sounds good, that's how we like it :-)
>
>      > Initially I've tried 3.5.1 but to no luck (I took the
>      > ops-xforms-filter.jar from 3.6 but the forward to /xforms-renderer
>      > inside OPSXFormsFilter.doFilter() leads to a "resource not found").
>
>     Right, this was developed post-3.5.1.
>
>      > So I've configured 3.6.0beta.200710302214 inside our EAR, as
>      > described further below , but receive the following when trying to
>      > render a simple predefined XForm through a servlet. This is the
>      > first request after deployment & server startup, there's no previous
>      > session id. The error is repeatable.
>
>     Some changes were made (I think) after your build. I also just
>     committed a better error message which should display the session ids
>     involved. If you have a chance, could you try the latest build and
>     report back?  Please allow a little bit of time (say, an hour after
>     this email) for the build to make it online.
>
>     -Erik
>
>     --
>     Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>     http://www.orbeon.com/
>
>
>
>     --
>     You receive this message as a subscriber of the [hidden email]
>     <mailto:[hidden email]> mailing list.
>     To unsubscribe: mailto: [hidden email]
>     <mailto:[hidden email]>
>     For general help: mailto:[hidden email]
>     <mailto:[hidden email]>?subject=help
>     OW2 mailing lists service home page: http://www.ow2.org/wws
>
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/


--
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
Reply | Threaded
Open this post in threaded view
|

Re: "Inconsistent session ids when persisting XForms state store entry." when using 3.6 with a Java app

Jean Luc-2
Hi Erik,

I haven't touched servlet-initialized.xpl.

After commenting out the settings you indicated, I no longer see the exception at server startup, but I still see it when a form has to be rendered. The stack trace is the same, I won't include it again.

Possibly related, a closer look in the server logs Exist requires Xerces-J 2.8.1 and Xalan Java 2.7.0; the versions packaged in the war are older. I've added the following jars (taken from the required distributions and prefixed with my initials) in ops\web-inf\lib:

  jl-resolver.jar
  jl-saxon8.jar
  jl-xalan.jar
  jl-xercesImpl.jar
  jl-xml-apis.jar

BTW, the same (simple) xform renders fine in FormFaces, which I'm evaluating in parallel (I'd like Orbeon more, but I need something to develop with in the meantime).

Thanks again,
JL

On 11/2/07, Erik Bruchez <[hidden email]> wrote:
Mmmh, I really don't see how this could be related to recent changes.
This seems to tell us that a pipeline fails validation upon startup.

Did you make any change to servlet-initialized.xpl by any change?
Unlikely, but who knows.

Also, try commenting out the following lines in your web.xml:

<init-param>
     <param-name>oxf.servlet-initialized-processor.name </param-name>

<param-value>{<a href="http://www.orbeon.com/oxf/processors}pipeline">http://www.orbeon.com/oxf/processors}pipeline</param-value>
</init-param>
<init-param>
     <param-name>oxf.servlet-initialized-processor.input.config</param-name>
     <param-value>oxf:/apps/context/servlet-initialized.xpl</param-value>
</init-param>

-Erik

Jean Luc wrote:

> Hi Erik,
>
> Thanks for the response; I've tried 3.6.0beta.200711020815 and get the
> following exception every time I start the server or I hit a servlet
> whose output goes through Orbeon. I'm including a few log lines before
> the exception for a bit of context.
>
> Please let me know if I can assist with anything else.
>
> Thank you,
> JL
>
> 2007-11-02 11:01:56,040 INFO  ProcessorService null - Servlet - About to
> run processor: [{ <a href="http://www.orbeon.com/oxf/processors}pipeline">http://www.orbeon.com/oxf/processors}pipeline, config
> -> oxf:/apps/context/servlet-initialized.xpl]
> 2007-11-02 11:01:56,040 DEBUG ProcessorImpl null - Creating validator
> for input name 'config' and schema-uri ' http://www.orbeon.com/oxf/pipeline'
> 2007-11-02 11:01:56,056 DEBUG URLGenerator null - OXF Protocol: Using
> ResourceManager for key /apps/context/servlet-initialized.xpl
> 2007-11-02 11:01:56,056 DEBUG URLGenerator null - OXF Protocol: Using
> ResourceManager for key /org/orbeon/oxf/xml/schemas/pipeline.rng
> 2007-11-02 11:01:56,056 DEBUG ProcessorImpl null - Cache [data, class
> org.orbeon.oxf.processor.validation.MSVValidationProcessor , config,
> class org.orbeon.oxf.processor.pipeline.PipelineProcessor ]: READING.
> 2007-11-02 11:01:56,087 DEBUG ProcessorImpl null - Cache [data, class
> org.orbeon.oxf.processor.generator.DOMGenerator, config, class
> org.orbeon.oxf.processor.validation.MSVValidationProcessor ]: source
> cacheable and found for key 'InputCacheKey [class:
> org.orbeon.oxf.processor.validation.MSVValidationProcessor, inputName:
> config, DocKey [ SimpleOutputCacheKey [class:
> org.orbeon.oxf.processor.generator.DOMGenerator , outputName: data, key:
> no decorate cfg] ]]'. FOUND object:
> org.dom4j.tree.DefaultDocument@1ac9fff [Document: name null]
> 2007-11-02 11:01:56,087 DEBUG ProcessorImpl null - Cache [data, class
> org.orbeon.oxf.processor.generator.URLGenerator , schema, class

> org.orbeon.oxf.processor.validation.MSVValidationProcessor]: READING.
> 2007-11-02 11:01:56,087 DEBUG MSVValidationProcessor null - Reading
> Schema: http://www.orbeon.com/oxf/pipeline
> <http://www.orbeon.com/oxf/pipeline>
> 2007-11-02 11:01:56,103 DEBUG WebAppResourceManagerImpl null -
> getContentAsStream(/org/orbeon/oxf/xml/schemas/pipeline.rng)
> 2007-11-02 11:01:56,103 DEBUG ClassLoaderResourceManagerImpl null -
> getContentAsStream(/org/orbeon/oxf/xml/schemas/pipeline.rng)
> 2007-11-02 11:01:56,401 ERROR ProcessorService null - Exception with no
> location data
> com.sun.msv.verifier.jarv.FactoryImpl$WrapperException: more than one
> attribute accepts the same name "base"
>         at
> com.sun.msv.verifier.jarv.FactoryImpl$ThrowController.error (FactoryImpl.java:145)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at com.sun.msv.reader.Controller.error(Controller.java:49)
>         at
> com.sun.msv.reader.GrammarReader.reportError (GrammarReader.java:753)
>         at
> com.sun.msv.reader.GrammarReader.reportError(GrammarReader.java:721)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateNameChecker.check
> (RestrictionChecker.java:517)

>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateAttributesChecker.check(RestrictionChecker.java:552)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DuplicateNameChecker.add
> (RestrictionChecker.java:460)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onAttribute(RestrictionChecker.java:131)
>         at com.sun.msv.grammar.AttributeExp.visit (AttributeExp.java:47)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onChoice(RestrictionChecker.java:179)
>         at com.sun.msv.grammar.ChoiceExp.visit(ChoiceExp.java:26)
>         at com.sun.msv.grammar.util.ExpressionWalker.onBinExp
> (ExpressionWalker.java:74)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onSequence(ExpressionWalker.java:69)
>         at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
>         at com.sun.msv.grammar.util.ExpressionWalker.onBinExp
> (ExpressionWalker.java:73)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onSequence (ExpressionWalker.java:69)
>         at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onElement
> (RestrictionChecker.java :122)
>         at com.sun.msv.grammar.ElementExp.visit(ElementExp.java:63)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$2.onOneOrMore(RestrictionChecker.java:261)
>         at com.sun.msv.grammar.OneOrMoreExp.visit (OneOrMoreExp.java:23)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onChoice(RestrictionChecker.java:179)
>         at com.sun.msv.grammar.ChoiceExp.visit(ChoiceExp.java:26)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onInterleave
> (RestrictionChecker.java:190)
>         at com.sun.msv.grammar.InterleaveExp.visit(InterleaveExp.java:22)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onInterleave(RestrictionChecker.java:190)
>
>         at com.sun.msv.grammar.InterleaveExp.visit(InterleaveExp.java:22)
>         at

> com.sun.msv.grammar.util.ExpressionWalker.onBinExp(ExpressionWalker.java:74)
>         at com.sun.msv.grammar.util.ExpressionWalker.onSequence
> (ExpressionWalker.java:69)
>         at com.sun.msv.grammar.SequenceExp.visit(SequenceExp.java:24)
>         at
> com.sun.msv.reader.trex.ng.RestrictionChecker$DefaultChecker.onElement(RestrictionChecker.java:122)
>         at com.sun.msv.grammar.ElementExp.visit (ElementExp.java:63)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onRef(ExpressionWalker.java:39)
>         at com.sun.msv.grammar.ReferenceExp.visit(ReferenceExp.java:84)
>         at
> com.sun.msv.grammar.util.ExpressionWalker.onRef(ExpressionWalker.java:39)

>         at com.sun.msv.grammar.ReferenceExp.visit(ReferenceExp.java:84)
>         at com.sun.msv.reader.trex.ng.RestrictionChecker.check
> (RestrictionChecker.java:62)
>         at
> com.sun.msv.reader.trex.ng.RELAXNGReader.wrapUp(RELAXNGReader.java:448)
>         at
> com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.wrapUp( RELAXNGCompReader.java:147)
>         at com.sun.msv.reader.trex.RootState.onEndChild(RootState.java:63)
>         at
> com.sun.msv.reader.ExpressionState.endSelf(ExpressionState.java:38)
>         at
> com.sun.msv.reader.trex.GrammarState.endSelf(GrammarState.java :66)
>         at com.sun.msv.reader.SimpleState.endElement(SimpleState.java:101)
>         at org.xml.sax.helpers.XMLFilterImpl.endElement (Unknown Source)
>         at com.sun.msv.reader.trex.TREXBaseReader.endElement
> (TREXBaseReader.java:184)
>         at
> com.sun.msv.reader.trex.ng.RELAXNGReader.endElement(RELAXNGReader.java:527)
>         at
> com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.endElement(RELAXNGCompReader.java:237)
>         at
> orbeon.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java :597)
>         at
> orbeon.apache.xerces.xinclude.XIncludeHandler.endElement(XIncludeHandler.java:1060)
>         at
> orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
> (XMLNSDocumentScannerImpl.java :676)
>         at
> orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1646)
>         at
> orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (XMLDocumentFragmentScannerImpl.java:324)
>         at
> orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
>         at
> orbeon.apache.xerces.parsers.XML11Configuration.parse (XML11Configuration.java
> :768)
>         at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
>         at
> orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1201)
>         at com.sun.msv.reader.util.GrammarLoader._loadSchema
> (GrammarLoader.java:514)
>         at
> com.sun.msv.reader.util.GrammarLoader.parse(GrammarLoader.java:325)
>         at
> com.sun.msv.reader.util.GrammarLoader.loadSchema(GrammarLoader.java:189)
>         at com.sun.msv.verifier.jarv.TheFactoryImpl.parse
> (TheFactoryImpl.java:42)
>         at
> com.sun.msv.verifier.jarv.FactoryImpl.compileSchema (FactoryImpl.java:98)
>         at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$6.read(MSVValidationProcessor.java:149)
>
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject (ProcessorImpl.java:488)
>         at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
>         at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl (MSVValidationProcessor.java:120)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> (ProcessorImpl.java:1213)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$900 (PipelineProcessor.java:66)
>
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.readImpl(PipelineProcessor.java:457)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$7.read (ProcessorImpl.java:1030)
>         at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
> (ProcessorImpl.java:1213)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX (ProcessorImpl.java:348)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java :422)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineReader.start(PipelineReader.java:79)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.readPipelineConfig
> (PipelineProcessor.java :469)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$2200(PipelineProcessor.java:66)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$9.read(PipelineProcessor.java
> :626)
>         at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
>         at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java :622)
>         at org.orbeon.oxf.pipeline.InitUtils.runProcessor
> (InitUtils.java:95)
>         at org.orbeon.oxf.pipeline.InitUtils.run(InitUtils.java:268)
>         at
> org.orbeon.oxf.servlet.OPSServletDelegate.init (OPSServletDelegate.java:126)
>         at javax.servlet.GenericServlet.init (GenericServlet.java:256)
>         at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
>         at javax.servlet.GenericServlet.init (GenericServlet.java:256)
>         at com.evermind.server.http.HttpApplication.loadServlet
> (HttpApplication.java:2371)
>         at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java :4824)
>         at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
>         at
> com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java :4936)
>         at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
>         at com.evermind.server.http.HttpApplication
> .<init>(HttpApplication.java:741)
>         at
> com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
>         at
> com.evermind.server.Application.getHttpApplication(Application.java :570)
>         at
> com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
>         at
> com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference .<init>(
> HttpSite.java:1906)
>         at
> com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
>         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
>         at com.evermind.server.http.HttpServer.setSites
> (HttpServer.java:270)
>         at
> com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
>         at
> com.evermind.server.ApplicationServer.initializeHttp (ApplicationServer.java:2493)
>         at com.evermind.server.ApplicationServer.setConfig
> (ApplicationServer.java:1042)
>         at
> com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java :131)
>         at java.lang.Thread.run(Thread.java:534)
>
> On 11/2/07, *Erik Bruchez* <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Jean Luc,
>
>      > I've been trying for a few days to get Orbeon integrated into an
>      > existing J2EE application - so far we are looking at using it as an
>      > XForms engine.
>
>     Sounds good, that's how we like it :-)
>
>      > Initially I've tried 3.5.1 but to no luck (I took the
>      > ops-xforms-filter.jar from 3.6 but the forward to /xforms-renderer
>      > inside OPSXFormsFilter.doFilter() leads to a "resource not found").
>
>     Right, this was developed post-3.5.1.
>
>      > So I've configured 3.6.0beta.200710302214 inside our EAR, as
>      > described further below , but receive the following when trying to
>      > render a simple predefined XForm through a servlet. This is the
>      > first request after deployment & server startup, there's no previous
>      > session id. The error is repeatable.
>
>     Some changes were made (I think) after your build. I also just
>     committed a better error message which should display the session ids
>     involved. If you have a chance, could you try the latest build and
>     report back?  Please allow a little bit of time (say, an hour after
>     this email) for the build to make it online.
>
>     -Erik

>
>     --
>     Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>     http://www.orbeon.com/
>
>
>
>     --
>     You receive this message as a subscriber of the [hidden email]
>     <mailto:[hidden email]> mailing list.
>     To unsubscribe: mailto: [hidden email]
>     <mailto:[hidden email]>
>     For general help: mailto: [hidden email]
>     <mailto:[hidden email]>?subject=help
>     OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/


--
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