tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dmitry.vol...@eiskonzept.com>
Subject AW: AW: Passivation capable CDI beans replication across cluster does not work
Date Fri, 04 Jan 2013 12:52:19 GMT
But Apache CODI uses session to save its Conversation and Window Scopes (and I can see relevant
attributes in session of first node which are not replicated to second node). 
Furthermore CODI scopes are replicated in another application servers which uses same technology
stack(like IBM Websphere 8). 

-----Ursprüngliche Nachricht-----
Von: Romain Manni-Bucau [mailto:rmannibucau@gmail.com] 
Gesendet: Donnerstag, 3. Januar 2013 21:41
An: users@openejb.apache.org
Betreff: Re: AW: Passivation capable CDI beans replication across cluster does not work

Only the sessionscoped beans are replicated through tomcat session...other scoped are not
(depend on the impl which probably doesnt use the session to store instances) Le 3 janv. 2013
19:49, <dmitry.volkov@eiskonzept.com> a écrit :

> Hi,
>
> I have just uploaded test project reproducing the problem:
> https://github.com/eiskonzept/tomee/
> I have not reproduced exception, but WindowScoped beans are not 
> replicated(without exception)
>
> To reproduce the problem:
> 1. Start two tomee instances:
>         mvn clean package tomee:start -P node1
>         mvn clean package tomee:start -P node2 2. Open index.xhtml in 
> test application context:
>         http://localhost:8080/tomee_replication-1.0/index.xhtml
> 3. Check created session in manager application of first node:
>         http://localhost:8080/manager/html/sessions
>
>         There is parameter with something like this in its name:
> "org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.EditableWindowContextManagerProxy"
> 4. Check replicated session in manager application of second node:
>         http://localhost:8081/manager/html/sessions
>
>         There is no such parameter.
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
> Gesendet: Donnerstag, 3. Januar 2013 15:38
> An: users@openejb.apache.org
> Betreff: Re: Passivation capable CDI beans replication across cluster 
> does not work
>
> Hi,
>
> is it possible for you to share a project reproducing it?
>
> the best would be a maven project with the tomee maven plugin 
> configured
>
> about failoverservice it is off by default and can be configured on 
> trunk (
> https://issues.apache.org/jira/browse/TOMEE-698)
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2013/1/2  <dmitry.volkov@eiskonzept.com>:
> > cannot load the class
>

Mime
View raw message