You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Dmitry Volkov (JIRA)" <ji...@apache.org> on 2012/12/07 14:09:20 UTC

[jira] [Commented] (TOMEE-609) Session replication is not working

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

Dmitry Volkov commented on TOMEE-609:
-------------------------------------

Just tested with the last Snapshot, with same result. 
To reproduce the Issue: 
1. Install two instances of TomEE Webprofile 
2. Uncomment "<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>" in server.xml in both instances
3. Change HTTP, AJP and shutdown ports in server.xml of one of the instances
4. Copy example.war into webapps folder of both TomEE instances
5. Start servers. 
6. Open /example application context path of the first TomEE instance
7. Check /manager/html/sessions?path=/example of the first TomEE instance - There is one session of type Primary. 
8. Check /manager/html/sessions?path=/example of the second TomEE instance - There is no session of type Backup. 
                
> 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