Glassfish 3.1.1 集群会话复制

发布于 2024-12-31 22:44:18 字数 479 浏览 5 评论 0原文

我在 Glassfish 3.1.1 开源版本上遇到会话复制问题。 集群中有两台物理服务器。第一个物理服务器上有 DAS 和实例 1。第二个物理服务器上有实例 2。两台服务器都运行 Windows 7 x64。我正在关注本教程:

http://javadude.wordpress.com/2011/05/12/glassfish-3-1-%E2%80%93-clustering-tutorial-part2-sessions/

我知道当我访问两个物理实例的网络应用程序时,会话复制工作时应该有相同的会话。因此,当我登录实例 1 时,我也应该自动登录实例 2。这是对的吗?

有人知道如何解决这个问题吗?

提前致谢。

I've got problems with session replication on Glassfish 3.1.1 Open Source edition.
There are two physical servers included in on cluster. On the first one there is DAS and instance 1. On the second physical server there is instance 2. Both servers run Windows 7 x64. I am following this tutorial:

http://javadude.wordpress.com/2011/05/12/glassfish-3-1-%E2%80%93-clustering-tutorial-part2-sessions/

As far as I understand when session replication works there should the same session when I visit the web app one both physical instances. Thus, when I log in into instance 1, I should be automatically logged in on instance 2 as well. Is this right?

Does anybody know how to solve this problem?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文