[keycloak-user] applications-by-id

Hernan Dario Metaute Sarmiento hernan.metaute at ceiba.com.co
Wed Mar 4 07:44:55 EST 2015


Hi, Stian. Thanks for taking the time of answering:
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.
The stacktrace I sent you comes from the server's logs so I doubt it might
be cache issues.
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

2015-03-04 1:14 GMT-05:00 Stian Thorgersen <stian at redhat.com>:

> Have you tried to clear you browsers cache? It maybe be caused by cached
> resources from a previous release.
>
> ----- Original Message -----
> > From: "Hernan Dario Metaute Sarmiento" <hernan.metaute at ceiba.com.co>
> > To: keycloak-user at lists.jboss.org
> > Sent: Tuesday, March 3, 2015 11:36:21 PM
> > Subject: [keycloak-user] applications-by-id
> >
> > Hi, I've been using keycloak for some time now and I'm having this weird
> > error all of a sudden
> > I have a fresh wildfly install with keycloak from the appliance
> distribution.
> > I also configured a fresh database (mongodb), configured the connection
> on
> > keycloak-server.json and fired up the server.
> > I log in the first time to the admin console, change the password, etc.
> > Then I create a realm called, let's say, myApp. Everything goes well and
> then
> > I use that realm (change it on the drop down) and click on applications.
> > I get an error on screen saying "Not Found" and when going to the
> console I
> > get
> >
> > 17:30:23,885 INFO [stdout] (default task-33) 2015-03-03 17:30:23 WARN
> > ExceptionHandler:135 - failed to execute
> > 17:30:23,886 INFO [stdout] (default task-33)
> javax.ws.rs.NotFoundException:
> > Could not find resource for full path:
> > http://localhost:8080/auth/admin/realms/myApp/applications-by-id
> > 17:30:23,886 INFO [stdout] (default task-33) at
> > org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:112)
> > 17:30:23,887 INFO [stdout] (default task-33) at
> > org.jboss.resteasy.core.registry.RootNode.match(RootNode.java:43)
> > 17:30:23,887 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.core.LocatorRegistry.getResourceInvoker(LocatorRegistry.java:79)
> > 17:30:23,888 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:131)
> > 17:30:23,888 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:109)
> > 17:30:23,888 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:135)
> > 17:30:23,888 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)
> > 17:30:23,889 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
> > 17:30:23,889 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
> > 17:30:23,889 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
> > 17:30:23,890 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> > 17:30:23,890 INFO [stdout] (default task-33) at
> >
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> > 17:30:23,891 INFO [stdout] (default task-33) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> > 17:30:23,891 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
> > 17:30:23,891 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
> > 17:30:23,892 INFO [stdout] (default task-33) at
> >
> org.keycloak.services.filters.ClientConnectionFilter.doFilter(ClientConnectionFilter.java:41)
> > 17:30:23,892 INFO [stdout] (default task-33) at
> > io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> > 17:30:23,892 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> > 17:30:23,893 INFO [stdout] (default task-33) at
> >
> org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:40)
> > 17:30:23,893 INFO [stdout] (default task-33) at
> > io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> > 17:30:23,893 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> > 17:30:23,894 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
> > 17:30:23,894 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
> > 17:30:23,894 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> > 17:30:23,895 INFO [stdout] (default task-33) at
> >
> org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> > 17:30:23,895 INFO [stdout] (default task-33) at
> >
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> > 17:30:23,895 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> > 17:30:23,896 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)
> > 17:30:23,896 INFO [stdout] (default task-33) at
> >
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> > 17:30:23,896 INFO [stdout] (default task-33) at
> >
> io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
> > 17:30:23,897 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63)
> > 17:30:23,899 INFO [stdout] (default task-33) at
> >
> io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> > 17:30:23,899 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
> > 17:30:23,900 INFO [stdout] (default task-33) at
> >
> io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> > 17:30:23,900 INFO [stdout] (default task-33) at
> >
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> > 17:30:23,902 INFO [stdout] (default task-33) at
> >
> org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> > 17:30:23,902 INFO [stdout] (default task-33) at
> >
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> > 17:30:23,902 INFO [stdout] (default task-33) at
> >
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> > 17:30:23,903 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
> > 17:30:23,903 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247)
> > 17:30:23,903 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)
> > 17:30:23,904 INFO [stdout] (default task-33) at
> >
> io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166)
> > 17:30:23,910 INFO [stdout] (default task-33) at
> > io.undertow.server.Connectors.executeRootHandler(Connectors.java:197)
> > 17:30:23,912 INFO [stdout] (default task-33) at
> > io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759)
> > 17:30:23,912 INFO [stdout] (default task-33) at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > 17:30:23,913 INFO [stdout] (default task-33) at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > 17:30:23,913 INFO [stdout] (default task-33) at
> > java.lang.Thread.run(Thread.java:745)
> >
> >
> > Can anyone give me a hint as to where to look or what to look for?
> > I previously had a realm configured and started getting this error so I
> > started fresh and am still getting it.
> > Thanks in advance
> > --
> >
> >
> >
> > Hernán Metaute
> > Arquitecto
> > Ceiba Software
> > (57 4) 444 5 111 Ext 110
> > Cl 8 B 65 - 191 Of 409, Centro Empresarial Puertoseco – Medellín,
> Colombia
> > Visite nuestro sitio www.ceiba.co
> ________________________________________
> > 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.
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>



-- 

*Hernán Metaute*
Arquitecto

*Ceiba Software *(57 4) 444 5 111 Ext 110
Cl 8 B  65 - 191 Of 409, Centro Empresarial Puertoseco – Medellín, Colombia
Visite nuestro sitio www.ceiba.co <http://www.ceiba.com.co/>
________________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150304/dd2f933c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8377 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20150304/dd2f933c/attachment-0001.png 


More information about the keycloak-user mailing list