为什么primefaces'申请系统在线2天左右后,分页器无法工作?

发布于 2024-11-17 07:54:30 字数 259 浏览 7 评论 0原文

系统的运行环境是Mojarra jsf 2.0+primefaces 3.0+websphere7.0(tomcat6.0也有问题)。 这2天并不是一个准确的时间。这实际上意味着系统运行了较长时间,分页器不起作用。如果分页器告诉我有2页数据表,第一页可以列出数据记录。单击分页器“2”后第二页显示没有记录,但它确实应该有几条记录。 而且我知道primefaces的分页器与会话持久性有关系。所以我检查了Web服务器的可用磁盘空间,它是完全足够的。 有人可以给我一些建议吗?我需要你的帮助。非常感谢你!

The system's runtime environment is Mojarra jsf 2.0+primefaces 3.0+websphere7.0(tomcat6.0 is also has the problem).
The 2 days is not a exactly time. It's really means that the system keep running for a relatively long time, the paginator doesn't work. If the paginator told me there are 2 pages with the datatable, the first page can list the records of data.The second page show no record after click the paginator "2",but it should have several records indeed.
And I know the primefaces' paginator has relationship with session persistence.So I had checked the web server's free disk space, and it's thoroughly enough.
Can anybody give me some suggestions? I need your help.Thank you very much!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦在深巷 2024-11-24 07:54:32

听起来好像您的 Web 应用程序上的会话超时了。当发生这种情况时,您的会话持久性和会话范围内的任何托管 bean 将结束。

如果您的要求是会话永不超时,那么我强烈建议您重新考虑。拥有永久会话可能存在安全风险。

It sounds as if the session timed out on your web application. Your session persistence and any managed beans in session scope will end when this happens.

If your requirement is that the session never times out then I urge you to reconsider. Having a permanent session can be a security risk.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文