Limit to size of instance

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

Limit to size of instance

Shaw, Richard A
Limit to size of instance

Is there a limit to the size of an instance ?

My service call is returning 975k of information which is return using a submission replace - the information appears on my page okay but when I press any of the buttons the server says it has no session state.

I've looked at the logs and I can see some session cachin going on but I'm not sure what it should be caching - the largest item that it has cached is 408954bytes

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems

Atkins Highways and Transportation
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: [hidden email]

www.atkinsglobal.com/its



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.

The ultimate parent company of the Atkins Group is WS Atkins plc. Registered in England No. 1885586. Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.

P Consider the environment. Please don't print this e-mail unless you really need to.



--
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: Limit to size of instance

Alessandro Vernet
Administrator
Richard,

On 10/17/07, Shaw, Richard A <[hidden email]> wrote:
> Is there a limit to the size of an instance ?
>
> My service call is returning 975k of information which is return using a
> submission replace - the information appears on my page okay but when I
> press any of the buttons the server says it has no session state.
>
> I've looked at the logs and I can see some session cachin going on but I'm
> not sure what it should be caching - the largest item that it has cached is
> 408954bytes

There is no limit, but if you are working with larger instances, you
might need to increase the size of the XForms session cache
(oxf.xforms.cache.session.size property). It is 500 KB by default, and
you might want to make it a few MB at least in your case.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
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: Limit to size of instance

Erik Bruchez
Administrator
Alessandro Vernet wrote:

> Richard,
>
> On 10/17/07, Shaw, Richard A <[hidden email]> wrote:
>> Is there a limit to the size of an instance ?
>>
>> My service call is returning 975k of information which is return using a
>> submission replace - the information appears on my page okay but when I
>> press any of the buttons the server says it has no session state.
>>
>> I've looked at the logs and I can see some session cachin going on but I'm
>> not sure what it should be caching - the largest item that it has cached is
>> 408954bytes
>
> There is no limit, but if you are working with larger instances, you
> might need to increase the size of the XForms session cache
> (oxf.xforms.cache.session.size property). It is 500 KB by default, and
> you might want to make it a few MB at least in your case.
And note that we now have a first implementation of a persistent state
store which should no longer produce the "session state" error.

-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: Limit to size of instance

Jurģis Lukss-2
Nice! Is this persistent state store available in latest build and is it
enabled by default? Or how can it be enabled?

Jurgis

Erik Bruchez wrote:

> Alessandro Vernet wrote:
>> Richard,
>>
>> On 10/17/07, Shaw, Richard A <[hidden email]> wrote:
>>> Is there a limit to the size of an instance ?
>>>
>>> My service call is returning 975k of information which is return
>>> using a
>>> submission replace - the information appears on my page okay but when I
>>> press any of the buttons the server says it has no session state.
>>>
>>> I've looked at the logs and I can see some session cachin going on
>>> but I'm
>>> not sure what it should be caching - the largest item that it has
>>> cached is
>>> 408954bytes
>>
>> There is no limit, but if you are working with larger instances, you
>> might need to increase the size of the XForms session cache
>> (oxf.xforms.cache.session.size property). It is 500 KB by default, and
>> you might want to make it a few MB at least in your case.
>
> And note that we now have a first implementation of a persistent state
> store which should no longer produce the "session state" error.
>
> -Erik
>


--
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: Limit to size of instance

Erik Bruchez
Administrator
Jurgis,

It is not yet enabled by default, but you can enable this with these
properties:

     <property as="xs:string"  name="oxf.xforms.state-handling"
value="server"/>
     <property as="xs:integer" name="oxf.xforms.store.application.size"
value="20000000"/>

-Erik

Jurģis Lukss wrote:

> Nice! Is this persistent state store available in latest build and is it
> enabled by default? Or how can it be enabled?
>
> Jurgis
>
> Erik Bruchez wrote:
>> Alessandro Vernet wrote:
>>> Richard,
>>>
>>> On 10/17/07, Shaw, Richard A <[hidden email]> wrote:
>>>> Is there a limit to the size of an instance ?
>>>>
>>>> My service call is returning 975k of information which is return
>>>> using a
>>>> submission replace - the information appears on my page okay but when I
>>>> press any of the buttons the server says it has no session state.
>>>>
>>>> I've looked at the logs and I can see some session cachin going on
>>>> but I'm
>>>> not sure what it should be caching - the largest item that it has
>>>> cached is
>>>> 408954bytes
>>>
>>> There is no limit, but if you are working with larger instances, you
>>> might need to increase the size of the XForms session cache
>>> (oxf.xforms.cache.session.size property). It is 500 KB by default, and
>>> you might want to make it a few MB at least in your case.
>>
>> And note that we now have a first implementation of a persistent state
>> store which should no longer produce the "session state" error.
>>
>> -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
|

XForms conversion Java Integration Question

Josh Okimi
In reply to this post by Jurģis Lukss-2
I've been doing some research/experimentation with XForms, and am
wondering if its possible to convert a partial document (Xforms model,
and controls) for inclusion in a page.  The background is, I'm looking
into integrating XForms into a java based CMS application.  The Xform
element would be a component in an overall page and ideally would only
be concerned with creating an HTML fragment that could be included into
the page.  From the reading I have done so far it isn't clear if or how
this could be done.  If someone could point me in the right direction,
that would be greatly appreciated.

Thanks in advance,
Josh

--
Josh Okimi
Software Engineer
i2rd (Interactive Information R&D)

E-mail: [hidden email]
Toll Free: 888.638.8123
Office: 402.420.5022
Fax: 402.420.5029

Address:
6345 S. 56th Street, Suite 300, Lincoln, NE 68516



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

XForms conversion Java Integration Question

Josh Okimi
Hi all,
I'm resending this as I think it would've gotten caught by spam filters
due to the subject line last time.  I apologize to everyone who gets and
reads this twice.

I've been doing some research/experimentation with XForms, and am
wondering if its possible to convert a partial document (Xforms model,
and controls) for inclusion in a page.  The background is, I'm looking
into integrating XForms into a java based CMS application.  The Xform
element would be a component in an overall page and ideally would only
be concerned with creating an HTML fragment that could be included into
the page.  From the reading I have done so far it isn't clear if or how
this could be done.  If someone could point me in the right direction,
that would be greatly appreciated.

Thanks in advance,
Josh

--
Josh Okimi
Software Engineer
i2rd (Interactive Information R&D)

E-mail: [hidden email]
Toll Free: 888.638.8123
Office: 402.420.5022
Fax: 402.420.5029

Address:
6345 S. 56th Street, Suite 300, Lincoln, NE 68516



--
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: XForms conversion Java Integration Question

Erik Bruchez
Administrator
Josh,

This would certainly be possible, although it is not supported out of
the box. In fact, I discussed exactly this possibility with a customer
just a few weeks ago.

Orbeon Forms already supports a mode whereby it produces an HTML or
XHTML fragment, when used within a portal. The same mechanims could be
used by your application to include such a fragment produced by Orbeon
Forms.

Now getting there will require some work. You will have to:

* Figure out how to do the inclusion: through issuing an HTTP request,
or using a servlet include (if your CMS is written in Java), for example.

* Make sure session information is passed through to Orbeon Forms during
the inclusion, as the XForms server (which handles the Ajax requests)
has to share a session with the code that produced the XForms page in
the first place.

* Make sure that Orbeon Forms produces an HTML fragment, not an entire
HTML page.

What is the CMS you plan to use?

-Erik

Josh Okimi wrote:

> Hi all,
> I'm resending this as I think it would've gotten caught by spam filters
> due to the subject line last time.  I apologize to everyone who gets and
> reads this twice.
>
> I've been doing some research/experimentation with XForms, and am
> wondering if its possible to convert a partial document (Xforms model,
> and controls) for inclusion in a page.  The background is, I'm looking
> into integrating XForms into a java based CMS application.  The Xform
> element would be a component in an overall page and ideally would only
> be concerned with creating an HTML fragment that could be included into
> the page.  From the reading I have done so far it isn't clear if or how
> this could be done.  If someone could point me in the right direction,
> that would be greatly appreciated.
>
> Thanks in advance,
> Josh
>
>

--
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: XForms conversion Java Integration Question

Josh Okimi
I'm using a proprietary CMS which is java based.  

I'll check into mechanisms/pipeline used to generate the fragment and
see where that takes me.  I didn't see anything readily available
documentation wise on the website when I looked, though I think I saw a
portlet pipeline in the code checkout.  

Passing the session information through to the xforms server shouldn't
be a problem.

Josh


On Mon, 2007-10-29 at 16:21 -0700, Erik Bruchez wrote:

> Josh,
>
> This would certainly be possible, although it is not supported out of
> the box. In fact, I discussed exactly this possibility with a customer
> just a few weeks ago.
>
> Orbeon Forms already supports a mode whereby it produces an HTML or
> XHTML fragment, when used within a portal. The same mechanims could be
> used by your application to include such a fragment produced by Orbeon
> Forms.
>
> Now getting there will require some work. You will have to:
>
> * Figure out how to do the inclusion: through issuing an HTTP request,
> or using a servlet include (if your CMS is written in Java), for example.
>
> * Make sure session information is passed through to Orbeon Forms during
> the inclusion, as the XForms server (which handles the Ajax requests)
> has to share a session with the code that produced the XForms page in
> the first place.
>
> * Make sure that Orbeon Forms produces an HTML fragment, not an entire
> HTML page.
>
> What is the CMS you plan to use?
>
> -Erik
>
> Josh Okimi wrote:
> > Hi all,
> > I'm resending this as I think it would've gotten caught by spam filters
> > due to the subject line last time.  I apologize to everyone who gets and
> > reads this twice.
> >
> > I've been doing some research/experimentation with XForms, and am
> > wondering if its possible to convert a partial document (Xforms model,
> > and controls) for inclusion in a page.  The background is, I'm looking
> > into integrating XForms into a java based CMS application.  The Xform
> > element would be a component in an overall page and ideally would only
> > be concerned with creating an HTML fragment that could be included into
> > the page.  From the reading I have done so far it isn't clear if or how
> > this could be done.  If someone could point me in the right direction,
> > that would be greatly appreciated.
> >
> > Thanks in advance,
> > Josh
> >
> >
>
>
> plain text document attachment (message-footer.txt)
> --
> 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
--
Josh Okimi
Software Engineer
i2rd (Interactive Information R&D)

E-mail: [hidden email]
Toll Free: 888.638.8123
Office: 402.420.5022
Fax: 402.420.5029

Address:
6345 S. 56th Street, Suite 300, Lincoln, NE 68516



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