<div dir="ltr">Ok, great!  I tried the appliance and I built my own.  I did remove it as a datasource definition and I modified the keycloak-server.json file but I must have missed removing the &lt;default-bindings.....      That must not get removed when removing ExampleDS using the admin console.  I am surprised I didn&#39;t do a search for ExampleDS past datasources in standalone.xml to find the default-bindings section; that was silly.  Anyway, thanks for looking into it.  </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 28, 2014 at 4:56 AM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;ve tested this now and it seems to work fine.<br>
<br>
To use a different datasource to KeycloakDS you just need to change it in:<br>
<br>
  standalone/configuration/keycloak-server.json<br>
<br>
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:<br>
<br>
  &lt;default-bindings context-service=&quot;java:jboss/ee/concurrency/context/default&quot; datasource=&quot;java:jboss/datasources/ExampleDS&quot; ...<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Stian Thorgersen&quot; &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;<br>
&gt; To: &quot;Dean Peterson&quot; &lt;<a href="mailto:peterson.dean@gmail.com">peterson.dean@gmail.com</a>&gt;<br>
&gt; Cc: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; Sent: Tuesday, 26 August, 2014 11:36:16 AM<br>
&gt; Subject: Re: [keycloak-user] I have tried everything<br>
&gt;<br>
&gt; You should not need the ExampleDS and you should also be able to change the<br>
&gt; name of the datasource by editing keycloak-server.json.<br>
&gt;<br>
&gt; I&#39;ll look into this. Are you deploying to AS7 or WildFly? How are you<br>
&gt; deploying (war-dist, appliance-dist, or building your own war?).<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;Dean Peterson&quot; &lt;<a href="mailto:peterson.dean@gmail.com">peterson.dean@gmail.com</a>&gt;<br>
&gt; &gt; To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; &gt; Sent: Sunday, 17 August, 2014 2:05:53 AM<br>
&gt; &gt; Subject: Re: [keycloak-user] I have tried everything<br>
&gt; &gt;<br>
&gt; &gt; Ok, I figured it out. I just replaced java:jboss/datasources/KeycloakDS<br>
&gt; &gt; with<br>
&gt; &gt; my own settings rather than create a new jndi datasource with a different<br>
&gt; &gt; name. In the past I was able to change the jndi name to<br>
&gt; &gt; java:jboss/datasources/ui_users and make a few updates to persistence.xml.<br>
&gt; &gt; The new way is arguably easier. Now that I know to just replace KeycloakDS<br>
&gt; &gt; with my own settings I do not need to change anything else. Am I correct in<br>
&gt; &gt; assuming this is how things work going forward? It seems I cannot delete<br>
&gt; &gt; ExampleDS either without causing problems though. The current documentation<br>
&gt; &gt; is also misleading.<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; keycloak-user mailing list<br>
&gt; &gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>