Orbeon session portability

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

Orbeon session portability

Andrey
Hello!
I have encountered a problem trying to integrate Orbeon forms to updated Tolven EHR v 2.1. Tolven uses Apache Shiro security framework with their custom implementation. Among other features, their implementation requires session to be portable to support multiple-server installation. And session attributes are serialized/deserialized on every request.
But attributes Orbeon stores in session not all serializable and it makes impossible to render forms now. In particular the problem is with attribute containing org.orbeon.oxf.xforms.state.XFormsStateManager$1.

I thought configuring XForms state to be stored on client may help, but specifying
 <property as="xs:string" name="oxf.xforms.state-handling" value="client"/>
gives no visible effect.

I use Orbeon Forms 3.9.0.201105152046 CE build.

Any advice is greatly appreciated.
Andrey
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon session portability

Erik Bruchez
Administrator
Andrey,

This is something to improve in the future, but there is no way around
it at this point: you need sticky sessions, and session data can't be
replicated.

-Erik

On Fri, Nov 18, 2011 at 5:20 AM, Andrey <[hidden email]> wrote:

> Hello!
> I have encountered a problem trying to integrate Orbeon forms to updated
> Tolven EHR v 2.1. Tolven uses Apache Shiro security framework with their
> custom implementation. Among other features, their implementation requires
> session to be portable to support multiple-server installation. And session
> attributes are serialized/deserialized on every request.
> But attributes Orbeon stores in session not all serializable and it makes
> impossible to render forms now. In particular the problem is with attribute
> containing org.orbeon.oxf.xforms.state.XFormsStateManager$1.
>
> I thought configuring XForms state to be stored on client may help, but
> specifying
>  <property as="xs:string" name="oxf.xforms.state-handling" value="client"/>
> gives no visible effect.
>
> I use Orbeon Forms 3.9.0.201105152046 CE build.
>
> Any advice is greatly appreciated.
> Andrey
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-session-portability-tp4083194p4083194.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: Orbeon session portability

Andrey
Thank you for the reply.
Anyway, I need to find a walkaround.

And is this improvement planned for future (nearest?) releases?

Andrey
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon session portability

Erik Bruchez
Administrator
Andrey,

At this point I can't say it's planned. If somebody sponsors this work
that can change though.

-Erik

On Thu, Dec 1, 2011 at 7:51 AM, Andrey <[hidden email]> wrote:

> Thank you for the reply.
> Anyway, I need to find a walkaround.
>
> And is this improvement planned for future (nearest?) releases?
>
> Andrey
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-session-portability-tp4083194p4129064.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