Ran into a wall:
I couldn't have an aggregate module. service imports didn't seem to
work so I had to create a dependency for everything within
jboss-deployment-structure.xml. I may revisit this as I had a lot of
errors in my module defintions.
I'm at a wall. I can't get the JPA connections to find the Hibernate
provider. I"m not sure if it can't find persistence.xml or hibernate or
what. Tried importing hibernate in various places to no avail. Error
Message isn't very helpful either:
javax.persistence.PersistenceException: No Persistence provider for
EntityManager named keycloak-default
Should we punt on this? I can't spend much more time on this.
On 1/22/2015 3:14 PM, Bill Burke wrote:
Hey,
I was thinking of having a few aggregate modules instead of having one
jboss-deployment-structure.xml that includes everything (50+ modules).
keycloak-server - includes base SPIs and keycloak-providers module
keycloak-adapter
keycloak-providers - includes JPA and infinispan providers by default
keycloak-mongo-providers - all stuff that uses mongo
keycloak-jpa-providers - all stuff that uses jpa
keycloak-infinispan-providers - all stuff that uses infinispan
keycloak-social-plugins - all social provider plugins
This way, if dependencies need to be added/removed/modified, you don't
have to edit the WAR.
Sorry I've taken so long... A lot of distractions this week.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com