JBoss Community

Re: JBoss 6 + Snowdrop 2: order of JPA & Spring deployers

created by James Fluckiger in Snowdrop - View the full discussion

Hello,

 

I am encountering the same problem now -- an application that uses JPA and Spring works in JBoss 5.1, but fails to load under JBoss 6.0.0.  Under 5.1, the first thing that happens when the app deploys is the loading of the Perssitence unit from persistence.xml

 

In JBoss 6.0, on the other hand, the application context loads first, and this fails because it depends on the persistence unit.

I tried the "relativeOrder" modification, as illustrated by Marcus in this thread, but that didn't seem to make any difference.

 

Is there any more information on this issue?

 

Thanks,

Jim

Reply to this message by going to Community

Start a new discussion in Snowdrop at Community