<div dir="ltr"><div><div><div>Hi, Stian. Thanks for taking the time of answering:<br></div>Yes I have in fact cleared the browser's cache. Also I have replaced the contents of $WILDFLY_HOME/standalone/deployments with a fresh install of keycloak from the war distribution. As I said before, I am starting from the appliance distribution.<br></div>The stacktrace I sent you comes from the server's logs so I doubt it might be cache issues.<br></div>I understand that in the default configuration (which I'm not using since I'm using a mongo database) keycloak uses a h2 database for storing configuration data (what I can see in $WILDFLY_HOME/standalone/deployments/keycloak-ds.xml). However, deleting this file didn't make much difference<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-04 1:14 GMT-05:00 Stian Thorgersen <span dir="ltr"><<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you tried to clear you browsers cache? It maybe be caused by cached resources from a previous release.<br>
<div><div class="h5"><br>
----- Original Message -----<br>
> From: "Hernan Dario Metaute Sarmiento" <<a href="mailto:hernan.metaute@ceiba.com.co">hernan.metaute@ceiba.com.co</a>><br>
> To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> Sent: Tuesday, March 3, 2015 11:36:21 PM<br>
> Subject: [keycloak-user] applications-by-id<br>
><br>
> Hi, I've been using keycloak for some time now and I'm having this weird<br>
> error all of a sudden<br>
> I have a fresh wildfly install with keycloak from the appliance distribution.<br>
> I also configured a fresh database (mongodb), configured the connection on<br>
> keycloak-server.json and fired up the server.<br>
> I log in the first time to the admin console, change the password, etc.<br>
> Then I create a realm called, let's say, myApp. Everything goes well and then<br>
> I use that realm (change it on the drop down) and click on applications.<br>
> I get an error on screen saying "Not Found" and when going to the console I<br>
> get<br>
><br>
> 17:30:23,885 INFO [stdout] (default task-33) 2015-03-03 17:30:23 WARN<br>
> ExceptionHandler:135 - failed to execute<br>
> 17:30:23,886 INFO [stdout] (default task-33) javax.ws.rs.NotFoundException:<br>
> Could not find resource for full path:<br>
> <a href="http://localhost:8080/auth/admin/realms/myApp/applications-by-id" target="_blank">http://localhost:8080/auth/admin/realms/myApp/applications-by-id</a><br>
> 17:30:23,886 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:112)<br>
> 17:30:23,887 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.registry.RootNode.match(RootNode.java:43)<br>
> 17:30:23,887 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.LocatorRegistry.getResourceInvoker(LocatorRegistry.java:79)<br>
> 17:30:23,888 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:131)<br>
> 17:30:23,888 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:109)<br>
> 17:30:23,888 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:135)<br>
> 17:30:23,888 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)<br>
> 17:30:23,889 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)<br>
> 17:30:23,889 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)<br>
> 17:30:23,889 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)<br>
> 17:30:23,890 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)<br>
> 17:30:23,890 INFO [stdout] (default task-33) at<br>
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)<br>
> 17:30:23,891 INFO [stdout] (default task-33) at<br>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br>
> 17:30:23,891 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)<br>
> 17:30:23,891 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)<br>
> 17:30:23,892 INFO [stdout] (default task-33) at<br>
> org.keycloak.services.filters.ClientConnectionFilter.doFilter(ClientConnectionFilter.java:41)<br>
> 17:30:23,892 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> 17:30:23,892 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> 17:30:23,893 INFO [stdout] (default task-33) at<br>
> org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:40)<br>
> 17:30:23,893 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> 17:30:23,893 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> 17:30:23,894 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)<br>
> 17:30:23,894 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)<br>
> 17:30:23,894 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br>
> 17:30:23,895 INFO [stdout] (default task-33) at<br>
> org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br>
> 17:30:23,895 INFO [stdout] (default task-33) at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> 17:30:23,895 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br>
> 17:30:23,896 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)<br>
> 17:30:23,896 INFO [stdout] (default task-33) at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> 17:30:23,896 INFO [stdout] (default task-33) at<br>
> io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)<br>
> 17:30:23,897 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63)<br>
> 17:30:23,899 INFO [stdout] (default task-33) at<br>
> io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)<br>
> 17:30:23,899 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)<br>
> 17:30:23,900 INFO [stdout] (default task-33) at<br>
> io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)<br>
> 17:30:23,900 INFO [stdout] (default task-33) at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> 17:30:23,902 INFO [stdout] (default task-33) at<br>
> org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br>
> 17:30:23,902 INFO [stdout] (default task-33) at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> 17:30:23,902 INFO [stdout] (default task-33) at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> 17:30:23,903 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)<br>
> 17:30:23,903 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247)<br>
> 17:30:23,903 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)<br>
> 17:30:23,904 INFO [stdout] (default task-33) at<br>
> io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166)<br>
> 17:30:23,910 INFO [stdout] (default task-33) at<br>
> io.undertow.server.Connectors.executeRootHandler(Connectors.java:197)<br>
> 17:30:23,912 INFO [stdout] (default task-33) at<br>
> io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759)<br>
> 17:30:23,912 INFO [stdout] (default task-33) at<br>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
> 17:30:23,913 INFO [stdout] (default task-33) at<br>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
> 17:30:23,913 INFO [stdout] (default task-33) at<br>
> java.lang.Thread.run(Thread.java:745)<br>
><br>
><br>
> Can anyone give me a hint as to where to look or what to look for?<br>
> I previously had a realm configured and started getting this error so I<br>
> started fresh and am still getting it.<br>
> Thanks in advance<br>
> --<br>
><br>
><br>
><br>
</div></div><span class="">> Hernán Metaute<br>
> Arquitecto<br>
> Ceiba Software<br>
> <a href="tel:%2857%204%29%20444%205%20111%20Ext%20110" value="+15744445111">(57 4) 444 5 111 Ext 110</a><br>
> Cl 8 B 65 - 191 Of 409, Centro Empresarial Puertoseco – Medellín, Colombia<br>
> Visite nuestro sitio <a href="http://www.ceiba.co" target="_blank">www.ceiba.co</a> ________________________________________<br>
> BEste mensaje, incluido su adjunto, es confidencial y puede ser privilegiado.<br>
> Si usted no es su destinatario, por favor notifique al emisor, luego<br>
> destruya la comunicacion y todas las copias. Usted no debe copiar,<br>
> distribuir y/o revelar esta comunicacion parcial o totalmente sin<br>
> autorización del emisor.<br>
><br>
</span>> _______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><img src="cid:image001.png@01CE6D85.91697A90"><br><p><span></span><span><b><span style="font-family:"Century Gothic","sans-serif";color:#003300" lang="ES">Hernán Metaute</span></b></span><span><span style="font-family:"Century Gothic","sans-serif";color:#1f497d" lang="ES"> </span></span><span><b><span lang="ES"><br> </span></b></span><span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#003300" lang="ES">Arquitecto</span></span><span><b><span lang="ES"><br> </span></b></span><span><b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#8e8c7d" lang="ES">Ceiba Software <br></span></b></span><span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#8e8c7d" lang="ES">(57 4) 444 5 111 Ext 110 <br> Cl 8 B 65 - 191 Of 409, Centro Empresarial Puertoseco – Medellín, Colombia</span></span><span><span lang="ES"><br> </span></span><span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#003300" lang="ES">Visite nuestro sitio </span></span><a href="http://www.ceiba.com.co/" target="_blank"><span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:blue" lang="ES">www.ceiba.co</span></span><span></span></a><span><span style="font-family:"Century Gothic","sans-serif";color:#1f497d" lang="ES"></span></span> <a name="SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter__MailAutoSig"><span style="color:#1f497d"> </span></a> </p><span><span lang="ES">________________________________________<br><span style="font-family:verdana,sans-serif"></span></span></span><span><span lang="ES"><span style="font-family:verdana,sans-serif"><font size="1"><span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#8e8c7d" lang="ES">BEste mensaje, incluido su adjunto, es confidencial y puede ser privilegiado. Si usted no es su destinatario, por favor notifique al emisor, luego destruya la comunicacion y todas las copias. Usted no debe copiar, distribuir y/o revelar esta comunicacion parcial o totalmente sin autorización del emisor.</span></span></font></span><br></span></span> <span></span> </div></div>
</div>