[keycloak-dev] aggregate modules

Stian Thorgersen stian at redhat.com
Mon Jan 26 02:43:49 EST 2015



----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: keycloak-dev at lists.jboss.org
> Sent: Monday, January 26, 2015 3:03:40 AM
> Subject: Re: [keycloak-dev] aggregate modules
> 
> 
> 
> On 1/24/2015 7:00 AM, Stan Silvert wrote:
> > On 1/23/2015 5:53 PM, Bill Burke wrote:
> >> 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.
> > In Brno I can ask David about this.  Can you post your
> > jboss-deployment-structure.xml and your aggregate module.xml?
> >>
> >> 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
> > Can you give me a scaled down reproducer for this one?  I can ask around
> > and see if anyone knows a solution.
> 
> I think this is another service import problem.

Loading JPA in this way will work, but it's a bit of a PITA. META-INF/persistence.xml isn't exported/imported by default, see https://developer.jboss.org/message/828881#828881

If you're fed up and commit your stuff I can take a look. I've gone done this in the past so should be able to get it to work again.

> 
> 
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 


More information about the keycloak-dev mailing list