openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grotzke <martin.grot...@googlemail.com>
Subject Re: How OWB stores @SessionScoped beans in Web app?
Date Fri, 18 Feb 2011 17:17:45 GMT
Hi Thomas,

can you clear cookies and try again? If you're still getting the exception,
can you post the stacktrace / log output?

Cheers,
Martin


On Fri, Feb 18, 2011 at 5:44 PM, Thomas Andraschko
<tommygrassman@yahoo.de>wrote:

> Hi,
>
> Thanks for your answers!
>
> I tried to activate the failover but now i get a ViewExpiredException from
> Myfaces.
> I use: MyFaces 2.0.4, OWB 1.0.0, Tomcat 7.0.8 with the memcached manager.
>
> There was no ViewExpiredException before i activated the failover.
>
> Any ideas?
>
> --- Gurkan Erdogdu *<gurkanerdogdu@yahoo.com>* schrieb am *Fr, 18.2.2011:
> *
>
> *
> Von: Gurkan Erdogdu <gurkanerdogdu@yahoo.com>
> Betreff: Re: How OWB stores @SessionScoped beans in Web app?
> An: user@openwebbeans.apache.org
> Datum: Freitag, 18. Februar, 2011 16:59 Uhr
>
> *
> *Hi
>
> FailOverService is disabled on default OWB configuration. You have to
> enable it.
>
> Create openwebbeans.properties in
> META-INF/openwebbeans/openwebbeans.properties and add it into classpath
>
> Write those contents into it
>
> configuration.ordinal=100
> org.apache.webbeans.web.failover.issupportfailover=true
> org.apache.webbeans.web.failover.issupportpassivation=true
> *
>  *Regards;
>
> --Gurkan
> *
> *
> *
> *
> ------------------------------
> From: Joseph Bergmark <bergmark@apache.org>
> To: user@openwebbeans.apache.org
> Sent: Wed, February 16, 2011 7:56:38 PM
> Subject: Re: How OWB stores @SessionScoped beans in Web app?
>
> OWB stores @SessionScoped beans in an in-memory map of SessionContext's
> that is keyed off the session id.*
> *
> *
> *I believe the FailOverService will later store those SessionContext's as
> a session attribute in the session as part of the FailOverBagWrapper at the
> end of each request.  It should then serialize/restore as appropriate when
> the session is serialized.*
> *
> *
> *Sincerely,*
> *
> *
> *Joe
>
> *
> *On Wed, Feb 16, 2011 at 11:03 AM, Thomas Andraschko <
> tommygrassman@yahoo.de <http://mc/compose?to=tommygrassman@yahoo.de>>wrote:
> *
>
> *Hi,
>
> I successfully use Tomcat + Memcached Session Manager to replicate my
> session and JSF @SessionScoped beans.
> Now i tried to use OWB + Memcached SessionManager and it does not working.
>
> So my questions are:
> How OWB stores CDI @SessionScoped beans in a Web/JSF app?
> Can a OWB application be clustered?
>
> Thanks!
>
>
> *
>
> *
> *
> * *
> *
> *
>
>
>


-- 
Martin Grotzke
http://www.javakaffee.de/blog/

Mime
View raw message