[ 
https://issues.apache.org/jira/browse/TOMEE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526752#comment-13526752
 ] 

Romain Manni-Bucau commented on TOMEE-609:
------------------------------------------

that's because tomee adds by default a cluster listener (will work on it soon)

a workaround if to configure manually the following:

addClusterListener(new JvmRouteSessionIDBinderListener()); 
addClusterListener(new ClusterSessionListener());
addValve(new JvmRouteBinderValve());
addValve(new ReplicationValve());

(gave the code since i think it is easy enough to understand but can be done by 
conf IIRC)
                
> Session replication is not working
> ----------------------------------
>
>                 Key: TOMEE-609
>                 URL: https://issues.apache.org/jira/browse/TOMEE-609
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: Windows 7, Windows Server 2008, java version "1.6.0_21"
>            Reporter: Dmitry Volkov
>         Attachments: effective-web.xml, example.war
>
>
> Session is not replicated with standart Cluster configuration: 
> <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
> The application has <distributable/> tag in web.xml, but it is absent in 
> effective web.xml. (logEffectiveWebXml="true")
> Cluster members can find eachother, session is created, but there is no 
> session backup on another member. I have checked it with "manager" 
> application.
> Replication in the same application with same configuration deployed under 
> tomcat 7.0.29 works as expected. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to