Widlfy 22 WELD 警告与基于表单的编程登录

问题描述

我有一个 Web 应用程序,目前部署在 Wildfly 22 上,使用 JSF 2.3 和 OpenJDK 11。 我目前正在将登录页面从 j_security_check 迁移到以编程方式登录,遵循这篇文章中的 BalusC 示例:

Performing user authentication in Java EE / JSF using j_security_check

我没有发布登录代码,因为它与 BalusC 发布的完全一样。

登录过程运行良好,但是在此更改后,我在 Wildfly 上收到了两个警告。

WELD-000717: Unable to deactivate context org.jboss.weld.module.web.context.http.LazyHttpConversationContextImpl@14d2bf9d when destroying request HttpServletRequestImpl [ GET /app/login/login.xhtml ]
WELD-000335: Conversation context is already active,most likely it was not cleaned up properly during prevIoUs request processing: HttpServletRequestImpl [ GET /app/resources/bootstrap/css/bootstrap.min.css]

有关导致这些警告的原因的任何提示

感谢您的帮助!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)