Hi Pedro!
Thanks a lot :) Will look to your hints right now!
I am just trying to have a specific cache for the permanent sessions
(associated to the permanent tokens) so to not mess up the other sessions :)
Federico
On Fri, 26 Jul 2019 at 14:08, Pedro Igor Silva <psilva(a)redhat.com> wrote:
Hi Federico,
Not sure what you are trying to achieve but you should be probably looking
at [1] and [2]. It seems you are missing the cache definition in the
infinispan subsystem. The first is for running in embedded mode like when
running the server from your IDE using KeycloakServer.
[1]
https://github.com/keycloak/keycloak/blob/7a96911a83095386a7017268191b6bf...
[2]
https://github.com/keycloak/keycloak/blob/3d4283fac9a809666c9ddd22f05d38a...
On Fri, Jul 26, 2019 at 5:56 AM Federico Michele Facca <
federico.facca(a)martel-innovate.com> wrote:
> Hi,
> I am doing experiments for the support of "permanent" tokens. (see
> previous
> thread on the matter).
>
> In doing so, I thought that the best solutions was to create a separate
> storage cache (as for offline sessions).
>
> Now this is configured in the code, but configuration for this new cache
> storage of course can't be found (since I haven't created it :) ) so i get
> this error:
>
> 10:46:16,257 ERROR XNIO-1 task-1
> [org.keycloak.services.error.KeycloakErrorHandler] Uncaught server error
>
> org.infinispan.commons.CacheConfigurationException: ISPN000436: Cache
> 'permanentSessions' has been requested, but no cache configuration exists
> with that name and no default cache has been set for this container
>
> I thought this guide:
>
>
https://github.com/keycloak/keycloak/blob/master/docs/updating-database-s...
> to be the solution, but 1) there is no existing db. 2) from keycloak
> repository root, i can't find the path: connections/jpa-liquibase/pom.xml
>
> Thanks for any hint!
> Cheers,
> Federico
>
>
> --
> *Dr. FEDERICO MICHELE FACCA*
> *CTO, Head of Martel Lab*
> +41 788075838
> *MARTEL INNOVATE* <
https://www.martel-innovate.com/> - INNOVATION, WE
> MAKE
> IT HAPPEN
> Click *HERE* to download Martel reports and white papers!
> <
https://www.martel-innovate.com/premium-content/>
> Follow us on *TWITTER* <
https://twitter.com/Martel_Innovate>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
--
*Dr. FEDERICO MICHELE FACCA*
*CTO, Head of Martel Lab*
+41 788075838
*MARTEL INNOVATE* <
- INNOVATION, WE MAKE
IT HAPPEN
Click *HERE* to download Martel reports and white papers!
<