Greetings,
I've got strange behaviour using Orbeon forms server recently. Sometimes the forms are submitted correctly, sometimes not with no obvious reason. Moreover, the problem seems intermittent, unpredictable The errors are the following : 2012-02-24 10:29:52,551 INFO OrbeonSessionListener - Session Listener - Session created. 2012-02-24 10:29:52,730 INFO ProcessorService - /fr/service/custom/my-app/new - Received request 2012-02-24 10:29:52,864 ERROR ProcessorService - Exception at line 145, column 48 of oxf:/apps/fr/page-flow.xml (reading page view data output: view='/forms/${1}/service/${2}.xpl') org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load "/forms/my-app/service/new.xpl" with webapp loader at org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream (WebAppResourceManagerImpl.java:74) ... and 2012-02-24 10:32:01,649 INFO ProcessorService - /fr/service/exist/crud/ePoly/Eval_Epreuve_Initial_Orale/form/form.xhtml - Received request 2012-02-24 10:32:01,771 INFO ProcessorService - /fr/service/exist/crud/ePoly/Eval_Epreuve_Initial_Orale/form/form.xhtml - Timing: 122 - Cache hits for cache.main: 234, fault: 1, adds: 0, expirations: 0, success rate: 99% 2012-02-24 10:32:01,798 INFO ProcessorService - /search/ePoly/Eval_Epreuve_Initial_Orale - Received request 2012-02-24 10:32:01,812 ERROR ProcessorService - Exception at line 34, column 106 of oxf:/page-flow.xml (reading page model data output: page id='apps', model='apps/${1}/page-flow.xml') org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load "/apps/search/page-flow.xml" with webapp loader at org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream (WebAppResourceManagerImpl.java:74) at org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX (ResourceManagerBase.java:96) at org.orbeon.oxf.resources.PriorityResourceManagerImpl$5.run (PriorityResourceManagerImpl.java:123) ... What are the "/forms/my-app/service/new.xpl" and "/apps/search/page-flow.xml" files? (XPL stands for Xml Pipeline Language) What are their purposes? So I've checked, these files were not there (in the webapp folders), but the app was running well before without those files. Does anyone has encountered this kind of problem or has an idea or hint in order to debug that? Any help will be appreciated! Claude Coulombe Laboratoire MATI Université de Montréal |
Greetings,
Do I have to conclude that nobody has any idea about what is happening with ResourceNotFoundException: Cannot load "/forms/my-app/service/new.xpl and "/apps/search/page-flow.xml" errors? Or maybe post something on Friday afternoon was a very bad idea ;-) Any help, hint or pointer to documentation wil be appreciated! Claude |
Administrator
|
Claude,
That is definitely funny, because I have never seen these errors, at least not in such a random way! Is there, by any chance, a form whose app/form name includes "new" and/or "service" or maybe "custom"? Here is the page flow which matches on paths: https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/page-flow.xml More specifically, the entry that seems to hit: https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/page-flow.xml#L153 In order for this to match, the URL would have to be: /fr/service/custom/my-app/new But still, I don't know how that URL could occur randomly. -Erik On Tue, Feb 28, 2012 at 7:15 AM, Claude Coulombe <[hidden email]> wrote: > Greetings, > > Do I have to conclude that nobody has any idea about what is happening with > ResourceNotFoundException: Cannot load "/forms/my-app/service/new.xpl and > "/apps/search/page-flow.xml" errors? > > Or maybe post something on Friday afternoon was a very bad idea ;-) > > Any help, hint or pointer to documentation wil be appreciated! > > Claude > > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/ResourceNotFoundException-Cannot-load-forms-my-app-service-new-xpl-with-webapp-loader-tp4418735p4428463.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 |
Greetings Eric,
Thank you for the answer! I agree, it's pretty strange... ;-( So it's why I've decided to post my problem in order to get « expert's» advice on it. You give me some useful clues, I will look forward and keep you informed of my progress. Many thanks again! Claude |
In reply to this post by Erik Bruchez
Greetings Erik,
> Is there, by any chance, a form whose app/form name includes "new" > and/or "service" or maybe "custom"? No, I’ve checked > https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/page-flow.xml > >More specifically, the entry that seems to hit: > >https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/page-flow.xml#L153 > >In order for this to match, the URL would have to be: > >/fr/service/custom/my-app/new You definitely score a point here. After looking at the XML code of page-flow.xml, I’ve concluded that « my-app » should come from Orbeon which I guessed could be a « default value » from the matcher when it failed or something else. There is no « my-app » chain in our entire project. Maybe the error comes from the « redirection » mechanism we used to store a copy of the form in an outside repository. In order to do that we have just modify the properties-local.xml configuration file. <property as="xs:anyURI" name="oxf.fr.persistence.app.uri.*.*.data" value="http://localhost:8080/epm-client-test/OsylEditorEntryPoint/OrbeonRedirect" <property as="xs:anyURI" name="oxf.fr.persistence.app.uri.orbeon.*.data" value="/fr/service/exist" /> Does this mean something to you? Thanks again for your help! Claude |
Administrator
|
Claude,
> <property as="xs:anyURI" > name="oxf.fr.persistence.app.uri.*.*.data" > value="http://localhost:8080/epm-client-test/OsylEditorEntryPoint/OrbeonRedirect" > <property as="xs:anyURI" > name="oxf.fr.persistence.app.uri.orbeon.*.data" > value="/fr/service/exist" /> > > Does this mean something to you? Unfortunately I still don't see how or why this is happening :( -Erik > > Thanks again for your help! > > Claude > > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/ResourceNotFoundException-Cannot-load-forms-my-app-service-new-xpl-with-webapp-loader-tp4418735p4432965.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 |
Free forum by Nabble | Edit this page |