<div dir="ltr"><div>I am having some issues trying to install <b>keycloak-war-dist-all-1.0-beta-3</b> on <b>Wildfly 8.0</b> and <b>WildFly 8.1</b>. I am able to install <b>keycloak-war-dist-all-1.0-beta-1</b> to both <b>Wildfly 8.0</b> and <b>WildFly 8.1</b> using the same installation process.</div>
<div><br></div><div>I have tested the installation on two different machines:</div><div>- Windows 8 with Java JDK 1.8.0 (Also tested with JDK 1.7.51)</div><div>- Windows 7 with Java JDK 1.8.0</div><div><br></div><div>The steps I take to do the installation are as follows:</div>
<div>1)     Unzip <b>wildfly-8.1.0.Final.zip</b> to <b>C:\TEMP</b>.</div><div>2)<span class="" style="white-space:pre">        </span>Unzip <b>keycloak-war-dist-all-1.0-beta-3.zip</b> to <b>C:\TEMP</b>.</div><div>3)<span class="" style="white-space:pre">        </span>Copy the <b>configuration</b> and <b>deployments</b> folders from the <b>C:\TEMP\keycloak-war-dist-all-1.0-beta-3</b> to <b>C:\TEMP\wildfly-8.1.0.Final\standalone</b>.</div>
<div>4)<span class="" style="white-space:pre">        </span>On my Windows 7 machine I need to change the WildFly http port since I have Oracle XE installed that occupies port 8080.</div><div>5)<span class="" style="white-space:pre">        </span>Start the WildFly 8.1 by running <b>C:\TEMP\wildfly-8.1.0.Final\bin\standalone.bat</b>.</div>
<div><br></div><div>The content of the C:\TEMP\wildfly-8.1.0.Final\standalone\deployments\auth-server.war.failed is as follows:</div><div><br></div><div>&quot;{\&quot;JBAS014671: Failed services\&quot; =&gt; {\&quot;jboss.persistenceunit.\\\&quot;auth-server.war#jpa-keycloak-identity-store\\\&quot;\&quot; =&gt; \&quot;org.jboss.msc.service.StartException in service jboss.persistenceunit.\\\&quot;auth-server.war#jpa-keycloak-identity-store\\\&quot;: javax.persistence.PersistenceException: [PersistenceUnit: jpa-keycloak-identity-store] Unable to build Hibernate SessionFactory</div>
<div>    Caused by: javax.persistence.PersistenceException: [PersistenceUnit: jpa-keycloak-identity-store] Unable to build Hibernate SessionFactory</div><div>    Caused by: org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class: org.keycloak.models.jpa.entities.ApplicationEntity.roles[org.keycloak.models.jpa.entities.ApplicationRoleEntity]\&quot;}}&quot;</div>
<div><br></div><div>I am not sure if I am doing anything wrong or whether there is an issue with the <b>keycloak-war-dist-all-1.0-beta-3.zip</b> distribution.</div></div>