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 <[email protected]>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 *<[email protected]>* schrieb am *Fr, 18.2.2011: > * > > * > Von: Gurkan Erdogdu <[email protected]> > Betreff: Re: How OWB stores @SessionScoped beans in Web app? > An: [email protected] > 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 <[email protected]> > To: [email protected] > 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 < > [email protected] <http://mc/[email protected]>>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/
