<div dir="ltr">Fixed - <a href="https://issues.jboss.org/browse/KEYCLOAK-2174">https://issues.jboss.org/browse/KEYCLOAK-2174</a></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 December 2015 at 05:42, <span dir="ltr"><<a href="mailto:keycloak-dev@lists.haus42.com" target="_blank">keycloak-dev@lists.haus42.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
hmmm, I have the same issue w/ version built directly from master yesterday. So I'm not sure if it is only WildFly 10. Sure, I could have done something wrong...<br>
<br>
Thanks,<br>
Dietmar<br>
<br>
Happend for registration email, using Java 1.7 on Linux...<br>
<br>
06:19:20,788 ERROR [io.undertow.request] (default task-19) UT005023: Exception handling request to /auth/realms/publicitas/login-actions/required-action: java.lang.RuntimeException: request path: /auth/realms/publicitas/login-actions/required-action<br>
at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:75)<br>
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)<br>
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br>
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br>
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br>
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br>
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br>
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br>
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br>
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)<br>
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)<br>
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<br>
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)<br>
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br>
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)<br>
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)<br>
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)<br>
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)<br>
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)<br>
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)<br>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
at java.lang.Thread.run(Thread.java:744)<br>
Caused by: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: javax/mail/Multipart<br>
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)<br>
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)<br>
at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:149)<br>
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:372)<br>
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)<br>
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)<br>
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)<br>
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br>
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)<br>
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)<br>
at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:61)<br>
... 29 more<br>
Caused by: java.lang.NoClassDefFoundError: javax/mail/Multipart<br>
at org.keycloak.email.DefaultEmailSenderProviderFactory.create(DefaultEmailSenderProviderFactory.java:14)<br>
at org.keycloak.email.DefaultEmailSenderProviderFactory.create(DefaultEmailSenderProviderFactory.java:10)<br>
at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)<br>
at org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.send(FreeMarkerEmailTemplateProvider.java:163)<br>
at org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.send(FreeMarkerEmailTemplateProvider.java:156)<br>
at org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.send(FreeMarkerEmailTemplateProvider.java:129)<br>
at org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.sendVerifyEmail(FreeMarkerEmailTemplateProvider.java:125)<br>
at org.keycloak.login.freemarker.FreeMarkerLoginFormsProvider.createResponse(FreeMarkerLoginFormsProvider.java:156)<br>
at org.keycloak.authentication.requiredactions.VerifyEmail.requiredActionChallenge(VerifyEmail.java:56)<br>
at org.keycloak.services.managers.AuthenticationManager.executionActions(AuthenticationManager.java:521)<br>
at org.keycloak.services.managers.AuthenticationManager.actionRequired(AuthenticationManager.java:453)<br>
at org.keycloak.services.managers.AuthenticationManager.nextActionAfterAuthentication(AuthenticationManager.java:421)<br>
at org.keycloak.services.resources.LoginActionsService.processRequireAction(LoginActionsService.java:781)<br>
at org.keycloak.services.resources.LoginActionsService.requiredActionGET(LoginActionsService.java:760)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:606)<br>
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)<br>
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)<br>
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)<br>
at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140)<br>
at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)<br>
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)<br>
... 37 more<br>
Caused by: java.lang.ClassNotFoundException: javax.mail.Multipart from [Module "org.keycloak.keycloak-services:main" from local module loader @5537c1f1 (finder: local module finder @3f9de0ec (roots: /home/keycloak/middleware/keycloak-1.7.0.Final-SNAPSHOT/modules,/home/keycloak/middleware/keycloak-1.7.0.Final-SNAPSHOT/modules/system/layers/base))]<br>
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)<br>
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)<br>
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)<br>
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)<br>
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)<br>
... 61 more<div class="HOEnZb"><div class="h5"><br>
<br>
On Mon, 30 Nov 2015, Stian Thorgersen wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We do not support deploying Keycloak server on WildFly 10 yet.<br>
<br>
On 30 November 2015 at 08:41, Michael Gerber <<a href="mailto:gerbermichi@me.com" target="_blank">gerbermichi@me.com</a>> wrote:<br>
Hi all,<br>
<br>
I had to add the javax.mail.api module to the keycloak-services today, otherwise the reset password mail could not be<br>
sent. (Because the class javax.mail.Multipart could not be found)<br>
<br>
I am using wildlfy 10 with the newest keycloak version. <br>
<br>
Is this a known issue?<br>
<br>
Michael<br>
<br>
_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
<br>
<br>
<br>
</blockquote>
</div></div><br>_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div>