[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
org.eclnt.jsfserver.util.SessionCheckError when running on Wildfly 21  XML
Forum Index -> Development
Author Message
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 238
Offline

Hi,

did someone started a Risc Client project with Wildfly 21 and OpenJDK Runtime?
I get org.eclnt.jsfserver.util.SessionCheckError. Below the whole strack trace.

Project built with setupRISC_6_0_20210906 and JRE11.0.9_Tomcat9.0.39

Regards,
Joachim


Code:
 2021-09-07 14:48:24,057 ERROR stderr:71 - org.eclnt.jsfserver.util.SessionCheckError
 2021-09-07 14:48:24,057 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//org.eclnt.jsfserver.util.SecurityFilter.doFilter(SecurityFilter.java:118)
 2021-09-07 14:48:24,059 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,060 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,061 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//org.eclnt.jsfserver.util.ResponseLoggerFilter.doFilter(ResponseLoggerFilter.java:276)
 2021-09-07 14:48:24,061 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,062 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,062 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:38)
 2021-09-07 14:48:24,063 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,064 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,064 ERROR stderr:71 -       at io.opentracing.contrib.opentracing-jaxrs2//io.opentracing.contrib.jaxrs2.server.SpanFinishingFilter.doFilter(SpanFinishingFilter.java:52)
 2021-09-07 14:48:24,065 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,065 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,066 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//com.schott.indit.simulation.utils.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:50)
 2021-09-07 14:48:24,067 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,070 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,071 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:391)
 2021-09-07 14:48:24,074 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:90)
 2021-09-07 14:48:24,074 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,076 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,077 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//org.eclnt.jsfserver.util.SecurityFilter.doFilter(SecurityFilter.java:154)
 2021-09-07 14:48:24,078 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,079 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,079 ERROR stderr:71 -       at deployment.simulation.ear.simulation.war//org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:38)
 2021-09-07 14:48:24,080 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
 2021-09-07 14:48:24,081 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 2021-09-07 14:48:24,081 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
 2021-09-07 14:48:24,082 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
 2021-09-07 14:48:24,082 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
 2021-09-07 14:48:24,083 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
 2021-09-07 14:48:24,086 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
 2021-09-07 14:48:24,087 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
 2021-09-07 14:48:24,087 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
 2021-09-07 14:48:24,088 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
 2021-09-07 14:48:24,089 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
 2021-09-07 14:48:24,089 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
 2021-09-07 14:48:24,090 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
 2021-09-07 14:48:24,091 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
 2021-09-07 14:48:24,091 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
 2021-09-07 14:48:24,092 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
 2021-09-07 14:48:24,093 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
 2021-09-07 14:48:24,093 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
 2021-09-07 14:48:24,094 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
 2021-09-07 14:48:24,094 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
 2021-09-07 14:48:24,095 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
 2021-09-07 14:48:24,095 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
 2021-09-07 14:48:24,096 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
 2021-09-07 14:48:24,097 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
 2021-09-07 14:48:24,097 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
 2021-09-07 14:48:24,098 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
 2021-09-07 14:48:24,101 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
 2021-09-07 14:48:24,102 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
 2021-09-07 14:48:24,102 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
 2021-09-07 14:48:24,104 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
 2021-09-07 14:48:24,105 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
 2021-09-07 14:48:24,106 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
 2021-09-07 14:48:24,107 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
 2021-09-07 14:48:24,108 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
 2021-09-07 14:48:24,109 ERROR stderr:71 -       at <a href="mailto:org.wildfly.extension.undertow@21.0.2.Final">org.wildfly.extension.undertow@21.0.2.Final</a>//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1530)
 2021-09-07 14:48:24,111 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
 2021-09-07 14:48:24,111 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
 2021-09-07 14:48:24,112 ERROR stderr:71 -       at <a href="mailto:io.undertow.servlet@2.2.2.Final">io.undertow.servlet@2.2.2.Final</a>//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
 2021-09-07 14:48:24,112 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
 2021-09-07 14:48:24,113 ERROR stderr:71 -       at <a href="mailto:io.undertow.core@2.2.2.Final">io.undertow.core@2.2.2.Final</a>//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841)
 2021-09-07 14:48:24,113 ERROR stderr:71 -       at <a href="mailto:org.jboss.threads@2.4.0.Final">org.jboss.threads@2.4.0.Final</a>//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
 2021-09-07 14:48:24,114 ERROR stderr:71 -       at <a href="mailto:org.jboss.threads@2.4.0.Final">org.jboss.threads@2.4.0.Final</a>//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
 2021-09-07 14:48:24,118 ERROR stderr:71 -       at <a href="mailto:org.jboss.threads@2.4.0.Final">org.jboss.threads@2.4.0.Final</a>//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
 2021-09-07 14:48:24,118 ERROR stderr:71 -       at <a href="mailto:org.jboss.threads@2.4.0.Final">org.jboss.threads@2.4.0.Final</a>//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
 2021-09-07 14:48:24,119 ERROR stderr:71 -       at <a href="mailto:org.jboss.xnio@3.8.2.Final">org.jboss.xnio@3.8.2.Final</a>//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280)
 2021-09-07 14:48:24,119 ERROR stderr:71 -       at java.base/java.lang.Thread.run(Thread.java:829)
 
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5082
Offline

Hi Joachim,

could you please attach your web.xml and your eclntjsfserver/config/system.xml?

Thanks! . Björn

Björn Müller, CaptainCasa GmbH
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 238
Offline

web.xml is attached. system.xml is missing.
 Filename web.xml [Disk] Download
 Description
 Filesize 13 Kbytes
 Downloaded:  18 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5082
Offline

Hi Joachim,

could you please try out the following:

1. use attached web.xml
2. copy attached javax.servlet.ServletContainerInitializer into webcontent/META-INF/services/javax.servlet.ServletContainerInitializer

@1. since 10/2020 CaptainCasa initializes all RISC filters by API and not be web.xml registration. In Tomcat both can co-exist, but we experienced problems with other application servers. - If you look into the modifed web.xml you will see that there are only few issues remaining: one listener, and some servltes required for non-RISC-starting.

@2. This file is required so that app servers start the initialization at the proper point of time. Even if this file might sound "very special": this is the officail JEE-way! ;-) (Again: Tomcat is more tolerant, but wildfly not.)

Hope, this is the magic you need...

Kind regards, Björn
 Filename javax.servlet.ServletContainerInitializer [Disk] Download
 Description
 Filesize 55 bytes
 Downloaded:  21 time(s)

 Filename web.xml_updated.txt [Disk] Download
 Description
 Filesize 4 Kbytes
 Downloaded:  27 time(s)


Björn Müller, CaptainCasa GmbH
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 238
Offline

Okay, I will check this.

But I must use my remaining private filters. Am I right I have to merge?

Regards,
Joachim
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 238
Offline

Ah, I see that You merged for me !

I will try it now.
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 238
Offline

Hi Björn,



Thank You!

Joachim

 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team