[keycloak-user] I have tried everything
Stian Thorgersen
stian at redhat.com
Thu Aug 28 05:56:54 EDT 2014
I've tested this now and it seems to work fine.
To use a different datasource to KeycloakDS you just need to change it in:
standalone/configuration/keycloak-server.json
To remove the ExampleDS datasource you need to remove the datasource definition from standalone.xml, and also remove (or change) the datasource attribute of default-bindings:
<default-bindings context-service="java:jboss/ee/concurrency/context/default" datasource="java:jboss/datasources/ExampleDS" ...
----- Original Message -----
> From: "Stian Thorgersen" <stian at redhat.com>
> To: "Dean Peterson" <peterson.dean at gmail.com>
> Cc: keycloak-user at lists.jboss.org
> Sent: Tuesday, 26 August, 2014 11:36:16 AM
> Subject: Re: [keycloak-user] I have tried everything
>
> You should not need the ExampleDS and you should also be able to change the
> name of the datasource by editing keycloak-server.json.
>
> I'll look into this. Are you deploying to AS7 or WildFly? How are you
> deploying (war-dist, appliance-dist, or building your own war?).
>
> ----- Original Message -----
> > From: "Dean Peterson" <peterson.dean at gmail.com>
> > To: keycloak-user at lists.jboss.org
> > Sent: Sunday, 17 August, 2014 2:05:53 AM
> > Subject: Re: [keycloak-user] I have tried everything
> >
> > Ok, I figured it out. I just replaced java:jboss/datasources/KeycloakDS
> > with
> > my own settings rather than create a new jndi datasource with a different
> > name. In the past I was able to change the jndi name to
> > java:jboss/datasources/ui_users and make a few updates to persistence.xml.
> > The new way is arguably easier. Now that I know to just replace KeycloakDS
> > with my own settings I do not need to change anything else. Am I correct in
> > assuming this is how things work going forward? It seems I cannot delete
> > ExampleDS either without causing problems though. The current documentation
> > is also misleading.
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list