Jboss EAP 7.0.9中的RichFaces 4.3.7:IllegalStateException

时间:2018-08-03 17:22:43

标签: java richfaces jboss-eap-7

在Jboss EAP 7.0.9中具有RichFaces 4.3.7的应用程序遇到问题。 该应用程序可以在Weblogic 12c中正常工作。

现在,当将此应用程序部署在jboss eap 7.0.9中时,我们将遇到以下问题。

我们看到了以下问题 2018-08-02 10:27:32,356错误[io.undertow.request](默认任务3)UT005023:对/ pcc / policysearch的异常处理请求:java.lang.IllegalStateException     在com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:712)     在com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:141)     在com.thehartford.pl.agency.pcc.controller.PlassController。(PlassController.java:45)     在com.thehartford.pl.agency.service.servlet.PCCLoginServlet.doPost(PCCLoginServlet.java:54)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:707)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     在io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)     在io.undertow.servlet.handlers.FilterHandler $ FilterChainImpl.doFilter(FilterHandler.java:129)     在com.thehartford.pl.agency.pcc.filter.CrossScriptingFilter.doFilter(CrossScriptingFilter.java:63)     在io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)     在io.undertow.servlet.handlers.FilterHandler $ FilterChainImpl.doFilter(FilterHandler.java:131)     在io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)     在io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)     在io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)     在org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)处     在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)     在io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)     在io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)     在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)     在io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)     在io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)     在io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)     在io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)     在io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)     在io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)     在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)     在org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)处     在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)     在org.wildfly.mod_cluster.undertow.metric.RunningRequestsHttpHandler.handleRequest(RunningRequestsHttpHandler.java:69)     在io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)     在io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)     在io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)     在io.undertow.servlet.handlers.ServletInitialHandler.access $ 000(ServletInitialHandler.java:81)     在io.undertow.servlet.handlers.ServletInitialHandler $ 1.handleRequest(ServletInitialHandler.java:175)     在io.undertow.server.Connectors.executeRootHandler(Connectors.java:324)     在io.undertow.server.HttpServerExchange $ 1.run(HttpServerExchange.java:803)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745)

从应用程序库中删除与richfaces相关的jar,有助于稳定应用程序。但是与richfaces相关的功能目前无法正常工作。

任何帮助都会很有帮助

1 个答案:

答案 0 :(得分:0)

当我使用RichFaces 4.5.9构建应用程序时,此问题已解决