<div dir="ltr">Oh, I see.<div><br></div><div>I am modifying the Keycloak code, the class works but it lacks a bit of the flexibility I had when I could maintain my own standalone.xml</div><div><br></div><div>I saw there is a way for me to run tests using a specific database, but is there a way for me to deploy it using a different database than the default H2? I couldn't see an option for it on the properties file you use to configure the server on startup.</div><div><br></div><div>I realize this is a very specific case, but maybe there's a solution.</div><div><br></div><div>Thanks again,</div><div>Rodrigo Sasaki</div></div><br><div class="gmail_quote"><div dir="ltr">Em qui, 23 de jul de 2015 às 04:55, Stian Thorgersen <<a href="mailto:stian@redhat.com">stian@redhat.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Keycloak is not deployed as a WAR anymore, so there's no concept of deploying Keycloak to a WildFly server.<br>
<br>
Are you forking/modifying Keycloak code? If so have a look at <a href="https://github.com/keycloak/keycloak/blob/master/misc/Testsuite.md#keycloak-server" rel="noreferrer" target="_blank">https://github.com/keycloak/keycloak/blob/master/misc/Testsuite.md#keycloak-server</a>. There's KeycloakServer which contains a main method and can be ran directly from the IDE.<br>
<br>
If you're not modifying Keycloak code and just developing your own apps I recommend either spinning up a standalone KC server, or to use the server-overlay download and add it to the WildFly server you deploy your apps to (this is only recommended for development btw).<br>
<br>
----- Original Message -----<br>
> From: "Rodrigo Sasaki" <<a href="mailto:rodrigopsasaki@gmail.com" target="_blank">rodrigopsasaki@gmail.com</a>><br>
> To: <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
> Sent: Wednesday, 22 July, 2015 7:24:42 PM<br>
> Subject: [keycloak-user] Deploy Keycloak from within IntelliJ IDEA<br>
><br>
> Hello everyone,<br>
><br>
> I haven't used Keycloak since version 1.0.2, which we have now in production.<br>
> But now Keycloak has so many new features that we decided to migrate to the<br>
> 1.3.1.Final<br>
><br>
> This is a very specific issue, maybe this has already been discussed before,<br>
> and if it has I'd like to ask you to direct me to that thread.<br>
><br>
> Anyways, I want to deploy Keycloak from within IntelliJ IDEA, on version<br>
> 1.0.2 all I had to do was add an artifact of keycloak-server on the<br>
> deployment and it was done, but that no longer exists and I don't seem to<br>
> find a replacement for it.<br>
><br>
> What I do now is add a step to execute a maven goal to package the war and I<br>
> created an artifact based on that war to deploy it, it works fine but I<br>
> believe there must be a simpler solution, and doing it like this I can't use<br>
> JRebel to hot deploy my alterations as well.<br>
><br>
> Is there a way to do what I'm trying to do? I'll be happy to provide you more<br>
> information if necessary.<br>
><br>
> Cheers,<br>
> Rodrigo Sasaki<br>
><br>
> _______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div>