Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AuthType JASPIC #436

Open
jungm opened this issue Oct 25, 2021 · 0 comments · May be fixed by #437
Open

Support AuthType JASPIC #436

jungm opened this issue Oct 25, 2021 · 0 comments · May be fixed by #437

Comments

@jungm
Copy link

jungm commented Oct 25, 2021

Storing sessions with authType JASPIC is not supported because de.javakaffee.web.msm.TranscoderService$AuthType does not contain a mapping for JASPIC

Exception:

25-10-2021 13:14:42 -- bf99e3ed49f3 - [http-nio-8080-exec-1]  WARN  BackupSessionTask:176 - FAILED for session id 82C30EA323AEBBFDF3954A9F4E66DD7F
java.lang.IllegalArgumentException: No AuthType found for value JASPIC
        at de.javakaffee.web.msm.TranscoderService$AuthType.valueOfValue(TranscoderService.java:612) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.TranscoderService.serializeSessionFields(TranscoderService.java:238) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.TranscoderService.serializeSessionFields(TranscoderService.java:190) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.TranscoderService.serialize(TranscoderService.java:180) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:117) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:50) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionService$SynchronousExecutorService.submit(BackupSessionService.java:345) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionService.backupSession(BackupSessionService.java:204) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.MemcachedSessionService.backupSession(MemcachedSessionService.java:1098) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.RequestTrackingHostValve.backupSession(RequestTrackingHostValve.java:232) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:161) [memcached-session-manager-2.3.2.jar:?]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.52]
        at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97) [tomee-catalina-8.0.8.jar:8.0.8]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) [catalina.jar:9.0.52]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [catalina.jar:9.0.52]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [catalina.jar:9.0.52]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-coyote.jar:9.0.52]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:9.0.52]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893) [tomcat-coyote.jar:9.0.52]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726) [tomcat-coyote.jar:9.0.52]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.52]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.52]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.52]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.52]
        at java.lang.Thread.run(Unknown Source) [?:?]
25-10-2021 13:14:42 -- bf99e3ed49f3 - [http-nio-8080-exec-1]  INFO  BackupSessionService:176 - Could not store session 82C30EA323AEBBFDF3954A9F4E66DD7F in memcached.
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: No AuthType found for value JASPIC
        at de.javakaffee.web.msm.BackupSessionService$SynchronousExecutorService.submit(BackupSessionService.java:347) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionService.backupSession(BackupSessionService.java:204) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.MemcachedSessionService.backupSession(MemcachedSessionService.java:1098) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.RequestTrackingHostValve.backupSession(RequestTrackingHostValve.java:232) [memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:161) [memcached-session-manager-2.3.2.jar:?]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.52]
        at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97) [tomee-catalina-8.0.8.jar:8.0.8]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) [catalina.jar:9.0.52]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [catalina.jar:9.0.52]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [catalina.jar:9.0.52]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-coyote.jar:9.0.52]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:9.0.52]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893) [tomcat-coyote.jar:9.0.52]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726) [tomcat-coyote.jar:9.0.52]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.52]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.52]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.52]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.52]
        at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.IllegalArgumentException: No AuthType found for value JASPIC
        at de.javakaffee.web.msm.TranscoderService$AuthType.valueOfValue(TranscoderService.java:612) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.TranscoderService.serializeSessionFields(TranscoderService.java:238) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.TranscoderService.serializeSessionFields(TranscoderService.java:190) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.TranscoderService.serialize(TranscoderService.java:180) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:117) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:50) ~[memcached-session-manager-2.3.2.jar:?]
        at de.javakaffee.web.msm.BackupSessionService$SynchronousExecutorService.submit(BackupSessionService.java:345) ~[memcached-session-manager-2.3.2.jar:?]
        ... 18 more
@jungm jungm linked a pull request Oct 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant