Orbeon 3.9 RC1: Problems with own persistence layer

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

Orbeon 3.9 RC1: Problems with own persistence layer

lacco
Hi,

I am using Orbeon forms with an own persistence layer written in Ruby on Rails. It is working well with Orbeon 3.8, but forms aren't loading with Orbeon 3.9 RC (from trunk): When navigating to http://localhost:8080/orbeon/fr/fb0e13130a22954f/13/new, I just get an empty page (no html included, no server error). Here is some probably relevant output from catalina.out:


2011-03-24 11:30:40,353 INFO  ProcessorService  - /fr/fb0e13130a22954f/13/new - Received request
2011-03-24 11:30:40,395 WARN  XFormsServer  - xxforms:instance() - instance not found {instance id: "fr-form-instance"}
2011-03-24 11:30:40,439 WARN  XFormsServer  - xxforms:instance() - instance not found {instance id: "fr-authentication-headers"}
2011-03-24 11:30:40,440 INFO  ProcessorService  - /fr/service/exist/crud/fb0e13130a22954f/13/form/form.xhtml - Received request
2011-03-24 11:30:40,486 INFO  ProcessorService  - /fr/service/exist/crud/fb0e13130a22954f/13/form/form.xhtml - Timing: 46 - Cache hits for cache.main: 238, fault: 1, adds: 0, expirations: 0, success rate: 99%
2011-03-24 11:30:40,495 INFO  ProcessorService  - /fr/fb0e13130a22954f/13/new - Timing: 142 - Cache hits for cache.main: 528, fault: 0, adds: 0, expirations: 0, success rate: 100%

I am wondering why orbeon tries to call the exist service, here are some relevant parts of my properties-local.xml

<property as="xs:anyURI"  name="oxf.url-rewriting.service.base-uri"              value="http://localhost:8080/orbeon"/>
<property as="xs:string"  name="oxf.http.forward-headers"                        value="true"/>
<property as="xs:anyURI"  name="oxf.fr.persistence.app.uri.*.*.*"                value="http://myapp.com/forms"/>
<property as="xs:anyURI"  name="oxf.fr.appserver.uri"                            value="http://localhost:8080/orbeon"/>

I am not sure whether it is a bug or some kind of misconfiguration... Any ideas?

Thx!
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon 3.9 RC1: Problems with own persistence layer

ncrofts
When you say no HTML code is displayed, is it really blank or is there actually code but it is being hidden by CSS styles in the generated HTML? View source on your browser to confirm what has actually been generated.

If there is actually code there but it is all hidden, then I wonder if you've hit the problem posted here:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-hidden-after-updating-to-orbeon-3-9-0-pre-201103180400-CE-td3388622.html



Regards,
Neil
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon 3.9 RC1: Problems with own persistence layer

lacco
The generated page is really empty, no HTML included. I think Orbeon
tries to connect to the exist service although it should request my
own service as configured... Other ideas?

On Thu, Mar 24, 2011 at 11:59 AM, ncrofts <[hidden email]> wrote:

> When you say no HTML code is displayed, is it really blank or is there
> actually code but it is being hidden by CSS styles in the generated HTML?
> View source on your browser to confirm what has actually been generated.
>
> If there is actually code there but it is all hidden, then I wonder if
> you've hit the problem posted here:
> http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-hidden-after-updating-to-orbeon-3-9-0-pre-201103180400-CE-td3388622.html
>
>
>
> Regards,
> Neil
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-3-9-RC1-Problems-with-own-persistence-layer-tp3402146p3402170.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Orbeon 3.9 RC1: Problems with own persistence layer

Erik Bruchez
Administrator
You did copy your old properties-local.xml file to 3.9 RC1, right?

-Erik

On Thu, Mar 24, 2011 at 4:03 AM,  <[hidden email]> wrote:

> The generated page is really empty, no HTML included. I think Orbeon
> tries to connect to the exist service although it should request my
> own service as configured... Other ideas?
>
> On Thu, Mar 24, 2011 at 11:59 AM, ncrofts <[hidden email]> wrote:
>> When you say no HTML code is displayed, is it really blank or is there
>> actually code but it is being hidden by CSS styles in the generated HTML?
>> View source on your browser to confirm what has actually been generated.
>>
>> If there is actually code there but it is all hidden, then I wonder if
>> you've hit the problem posted here:
>> http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-hidden-after-updating-to-orbeon-3-9-0-pre-201103180400-CE-td3388622.html
>>
>>
>>
>> Regards,
>> Neil
>>
>> --
>> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-3-9-RC1-Problems-with-own-persistence-layer-tp3402146p3402170.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
>
>


--
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: Re: Re: Orbeon 3.9 RC1: Problems with own persistence layer

lacco
Right, I am using my old properties-local.xml that worked fine with orbeon 3.8. Is my observation correct that Orbeon seems to ignore my configuration and queries the exist service instead of my persistence layer?
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Orbeon 3.9 RC1: Problems with own persistence layer

Erik Bruchez
Administrator
Good.

When you say "from trunk", you mean the github master branch?

If so that might explain things: we just have revamped the way you
configure the persistence layer and have started documenting this
here:

http://wiki.orbeon.com/forms/doc/developer-guide/release-notes/310

(With the actual 3.0 RC1, the settings are still unchanged from 3.8.)

-Erik

On Tue, Mar 29, 2011 at 1:23 AM, lacco <[hidden email]> wrote:

> Right, I am using my old properties-local.xml that worked fine with orbeon
> 3.8. Is my observation correct that Orbeon seems to ignore my configuration
> and queries the exist service instead of my persistence layer?
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-3-9-RC1-Problems-with-own-persistence-layer-tp3402146p3414052.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Orbeon 3.9 RC1: Problems with own persistence layer

lacco
Thank you very much! I just changed my configuration and everything is working fine again!

-    <property as="xs:anyURI"  name="oxf.fr.persistence.app.uri.*.*.*"                value="http://myapp.com/forms"/>
+    <property as="xs:string"  name="oxf.fr.persistence.provider.*.*.*"               value="myprovider"/>
+    <property as="xs:anyURI"  name="oxf.fr.persistence.myprovider.uri"                   value="http://myapp.com/forms"/>