<div dir="ltr"><div><div><div>Hi, Stian. Thanks a lot again for answering<br>Well, maybe I didn't explain myself clearly:<br></div>What I was trying to say was that my starting point was this file: <a href="http://sourceforge.net/projects/keycloak/files/1.1.0.Final/keycloak-appliance-dist-all-1.1.0.Final.zip/download">http://sourceforge.net/projects/keycloak/files/1.1.0.Final/keycloak-appliance-dist-all-1.1.0.Final.zip/download</a><br></div><div>I unzipped, configured my mongo database and imported my realm from a json I had previously configured in another instance.<br></div><div>At some point I started getting the error from the first email.<br></div><div>That being said, it does make sense that at some point I might have replaced the deployments folder with the contents of <a href="http://sourceforge.net/projects/keycloak/files/1.1.0.Final/keycloak-war-dist-all-1.1.0.Final.zip/download/deployments">http://sourceforge.net/projects/keycloak/files/1.1.0.Final/keycloak-war-dist-all-1.1.0.Final.zip/download/deployments</a> so the mismatch of versions could be the issue. I will try then configuring from scratch starting from the appliance distribution and will come back and tell you how it went.<br></div><div>Thanks again for your time.<br></div><div><br></div><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-04 8:11 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">In the first email you said you're using a "wildfly install with keycloak from the appliance distribution". That doesn't make sense as the appliance distribution comes with WildFly.<br>
<br>
Also now you're saying you've upgraded $WILDFLY_HOME/standalone/deployments from the war distribution.<br>
<br>
It sounds like your problems may be caused by a miss-match between the admin console and the rest services.<br>
<br>
Please try the appliance distribution and see if you get the same issue there, if not then refer to the migration guides on how to upgrade correctly.<br>
<span class=""><br>
----- Original Message -----<br>
> From: "Hernan Dario Metaute Sarmiento" <<a href="mailto:hernan.metaute@ceiba.com.co">hernan.metaute@ceiba.com.co</a>><br>
</span><div><div class="h5">> To: "Stian Thorgersen" <<a href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> Cc: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> Sent: Wednesday, March 4, 2015 1:44:55 PM<br>
> Subject: Re: [keycloak-user] applications-by-id<br>
><br>
> Hi, Stian. Thanks for taking the time of answering:<br>
> Yes I have in fact cleared the browser's cache. Also I have replaced the<br>
> contents of $WILDFLY_HOME/standalone/deployments with a fresh install of<br>
> keycloak from the war distribution. As I said before, I am starting from<br>
> the appliance distribution.<br>
> The stacktrace I sent you comes from the server's logs so I doubt it might<br>
> be cache issues.<br>
> I understand that in the default configuration (which I'm not using since<br>
> I'm using a mongo database) keycloak uses a h2 database for storing<br>
> configuration data (what I can see in<br>
> $WILDFLY_HOME/standalone/deployments/keycloak-ds.xml). However, deleting<br>
> this file didn't make much difference<br>
><br>
> 2015-03-04 1:14 GMT-05:00 Stian Thorgersen <<a href="mailto:stian@redhat.com">stian@redhat.com</a>>:<br>
><br>
> > Have you tried to clear you browsers cache? It maybe be caused by cached<br>
> > resources from a previous release.<br>
> ><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<br>
> > distribution.<br>
> > > I also configured a fresh database (mongodb), configured the connection<br>
> > 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<br>
> > 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<br>
> > 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)<br>
> > 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>
> > ><br>
> > org.jboss.resteasy.core.LocatorRegistry.getResourceInvoker(LocatorRegistry.java:79)<br>
> > > 17:30:23,888 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:131)<br>
> > > 17:30:23,888 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:109)<br>
> > > 17:30:23,888 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:135)<br>
> > > 17:30:23,888 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)<br>
> > > 17:30:23,889 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)<br>
> > > 17:30:23,889 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)<br>
> > > 17:30:23,889 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)<br>
> > > 17:30:23,890 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)<br>
> > > 17:30:23,890 INFO [stdout] (default task-33) at<br>
> > ><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>
> > ><br>
> > io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)<br>
> > > 17:30:23,891 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)<br>
> > > 17:30:23,892 INFO [stdout] (default task-33) at<br>
> > ><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>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > 17:30:23,893 INFO [stdout] (default task-33) at<br>
> > ><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>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > 17:30:23,894 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)<br>
> > > 17:30:23,894 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)<br>
> > > 17:30:23,894 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br>
> > > 17:30:23,895 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br>
> > > 17:30:23,895 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > 17:30:23,895 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br>
> > > 17:30:23,896 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)<br>
> > > 17:30:23,896 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > 17:30:23,896 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)<br>
> > > 17:30:23,897 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63)<br>
> > > 17:30:23,899 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)<br>
> > > 17:30:23,899 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)<br>
> > > 17:30:23,900 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)<br>
> > > 17:30:23,900 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > 17:30:23,902 INFO [stdout] (default task-33) at<br>
> > ><br>
> > org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br>
> > > 17:30:23,902 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > 17:30:23,902 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > 17:30:23,903 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)<br>
> > > 17:30:23,903 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247)<br>
> > > 17:30:23,903 INFO [stdout] (default task-33) at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)<br>
> > > 17:30:23,904 INFO [stdout] (default task-33) at<br>
> > ><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>
> > ><br>
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
> > > 17:30:23,913 INFO [stdout] (default task-33) at<br>
> > ><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>
> > > Hernán Metaute<br>
> > > Arquitecto<br>
> > > Ceiba Software<br>
> > > (57 4) 444 5 111 Ext 110<br>
> > > Cl 8 B 65 - 191 Of 409, Centro Empresarial Puertoseco – Medellín,<br>
> > Colombia<br>
> > > Visite nuestro sitio <a href="http://www.ceiba.co" target="_blank">www.ceiba.co</a><br>
> > ________________________________________<br>
> > > BEste mensaje, incluido su adjunto, es confidencial y puede ser<br>
> > 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>
> > > _______________________________________________<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>
> ><br>
><br>
><br>
><br>
> --<br>
><br>
</div></div>> *Hernán Metaute*<br>
> Arquitecto<br>
><br>
> *Ceiba Software *<a href="tel:%2857%204%29%20444%205%20111%20Ext%20110" value="+15744445111">(57 4) 444 5 111 Ext 110</a><br>
<span class="">> Cl 8 B 65 - 191 Of 409, Centro Empresarial Puertoseco – Medellín, Colombia<br>
</span>> Visite nuestro sitio <a href="http://www.ceiba.co" target="_blank">www.ceiba.co</a> <<a href="http://www.ceiba.com.co/" target="_blank">http://www.ceiba.com.co/</a>><br>
<div class="HOEnZb"><div class="h5">> ________________________________________<br>
> BEste mensaje, incluido su adjunto, es confidencial y puede ser<br>
> privilegiado. Si usted no es su destinatario, por favor notifique al<br>
> emisor, luego destruya la comunicacion y todas las copias. Usted no debe<br>
> copiar, distribuir y/o revelar esta comunicacion parcial o totalmente sin<br>
> autorización del emisor.<br>
><br>
</div></div></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>