Flushing orbeon's cache

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

Flushing orbeon's cache

ihab
Hi everybody,
Is there a way to flush orbeon cache?
From this page http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-logging
I can see that we can disable it completely, but I only need to flush it from
time to time, without restarting the server of course.

Thanks


--
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: Flushing orbeon's cache

Erik Bruchez
Administrator
No, there is no way to do that currently, but there should also be no  
need ;-)

-Erik

On Apr 29, 2008, at 12:35 PM, <[hidden email]> <[hidden email]
 > wrote:

> Hi everybody,
> Is there a way to flush orbeon cache?
> From this page http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-logging
> I can see that we can disable it completely, but I only need to  
> flush it from
> time to time, without restarting the server of course.
>
> Thanks

--
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: Re: Flushing orbeon's cache

ihab

Well, i do not know if a lot of people would need it or not. But in our case,
we use a model with a schema that is stored on another server.Since Orbeon
caches it,when this schema is changed, Orbeon still uses the old schema, which
causes validation problems, and so we can not submit the forms ( unless we
disable validation , which is not an option unfortunately)...and the only way
to apply the changes for now is to restart the server.

How often does the cache gets refreshed ?


--
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: Flushing orbeon's cache

Erik Bruchez
Administrator
So do you mean that the schema is retrieved through HTTP?

The code seems to cache the schema based on its last modification date  
as returned through HTTP. If that date changes, the schema should be  
refreshed the next time a form using that schema is loaded. First  
thing to do would be to check whether your schema is served with the  
proper last-modified header.

-Erik

On Apr 29, 2008, at 5:33 PM, <[hidden email]> <[hidden email]
 > wrote:

>
> Well, i do not know if a lot of people would need it or not. But in  
> our case,
> we use a model with a schema that is stored on another server.Since  
> Orbeon
> caches it,when this schema is changed, Orbeon still uses the old  
> schema, which
> causes validation problems, and so we can not submit the forms  
> ( unless we
> disable validation , which is not an option unfortunately)...and the  
> only way
> to apply the changes for now is to restart the server.
>
> How often does the cache gets refreshed ?
--
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: Re: Re: Re: Flushing orbeon's cache

ihab

That's explains it!!Thanks 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