Reply To: Rewrite filter called twice, firing f:viewAction twice

Splash Forums Rewrite Users Rewrite filter called twice, firing f:viewAction twice Reply To: Rewrite filter called twice, firing f:viewAction twice

#26319

dobe
Participant

I migrated to Wildfly8 in the meanwhile, but the same problem still remains. Anyone has any ideas what I could try to fix it?

The new Wildfly8 stacktrace:

java.lang.Exception: Stack trace
16:08:49,374 ERROR [stderr] at java.lang.Thread.dumpStack(Thread.java:1364)
16:08:49,375 ERROR [stderr] at com.dobe.hobbyleague.backingbeans.SessionManagerBean.handleViewParams(SessionManagerBean.java:149)
16:08:49,375 ERROR [stderr] at com.dobe.hobbyleague.backingbeans.SessionManagerBean$Proxy$_$$_WeldClientProxy.handleViewParams(Unknown Source)
16:08:49,375 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:08:49,375 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
16:08:49,375 ERROR [stderr] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:08:49,375 ERROR [stderr] at java.lang.reflect.Method.invoke(Method.java:606)
16:08:49,375 ERROR [stderr] at javax.el.ELUtil.invokeMethod(ELUtil.java:308)
16:08:49,375 ERROR [stderr] at javax.el.BeanELResolver.invoke(BeanELResolver.java:537)
16:08:49,375 ERROR [stderr] at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:256)
16:08:49,376 ERROR [stderr] at com.sun.el.parser.AstValue.invoke(AstValue.java:269)
16:08:49,376 ERROR [stderr] at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
16:08:49,376 ERROR [stderr] at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
16:08:49,376 ERROR [stderr] at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
16:08:49,376 ERROR [stderr] at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
16:08:49,376 ERROR [stderr] at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
16:08:49,376 ERROR [stderr] at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
16:08:49,376 ERROR [stderr] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
16:08:49,376 ERROR [stderr] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
16:08:49,376 ERROR [stderr] at javax.faces.component.UIViewAction.broadcast(UIViewAction.java:562)
16:08:49,377 ERROR [stderr] at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
16:08:49,377 ERROR [stderr] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
16:08:49,377 ERROR [stderr] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
16:08:49,377 ERROR [stderr] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
16:08:49,377 ERROR [stderr] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
16:08:49,377 ERROR [stderr] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
16:08:49,377 ERROR [stderr] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
16:08:49,377 ERROR [stderr] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
16:08:49,377 ERROR [stderr] at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:70)
16:08:49,377 ERROR [stderr] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
16:08:49,378 ERROR [stderr] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
16:08:49,378 ERROR [stderr] at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:205)
16:08:49,378 ERROR [stderr] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
16:08:49,378 ERROR [stderr] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
16:08:49,378 ERROR [stderr] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
16:08:49,378 ERROR [stderr] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
16:08:49,378 ERROR [stderr] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
16:08:49,378 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,378 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,378 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,379 ERROR [stderr] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:229)
16:08:49,379 ERROR [stderr] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:172)
16:08:49,379 ERROR [stderr] at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:159)
16:08:49,379 ERROR [stderr] at org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler.handleResult(HttpRewriteResultHandler.java:41)
16:08:49,379 ERROR [stderr] at org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:268)
16:08:49,379 ERROR [stderr] at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:188)
16:08:49,379 ERROR [stderr] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
16:08:49,379 ERROR [stderr] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
16:08:49,379 ERROR [stderr] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
16:08:49,380 ERROR [stderr] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
16:08:49,380 ERROR [stderr] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
16:08:49,380 ERROR [stderr] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
16:08:49,380 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,380 ERROR [stderr] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
16:08:49,380 ERROR [stderr] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)
16:08:49,380 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,380 ERROR [stderr] at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
16:08:49,380 ERROR [stderr] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
16:08:49,380 ERROR [stderr] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)
16:08:49,381 ERROR [stderr] at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
16:08:49,381 ERROR [stderr] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
16:08:49,381 ERROR [stderr] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
16:08:49,381 ERROR [stderr] at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
16:08:49,381 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,381 ERROR [stderr] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
16:08:49,381 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,381 ERROR [stderr] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:08:49,381 ERROR [stderr] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)
16:08:49,381 ERROR [stderr] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)
16:08:49,382 ERROR [stderr] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)
16:08:49,382 ERROR [stderr] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)
16:08:49,382 ERROR [stderr] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)
16:08:49,382 ERROR [stderr] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)
16:08:49,382 ERROR [stderr] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
16:08:49,382 ERROR [stderr] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
16:08:49,382 ERROR [stderr] at java.lang.Thread.run(Thread.java:744)