hibernate - Migration spring app from JBoss 7.1 to Wildfly -


i have application on production using spring 4 mvc, spring data , spring security running on jboss 7.1, everythink works fine.

now want migrate application running on wildfly java 8. when application deploying error appears:

jbas016069: error injecting persistence unit cdi managed bean. can't find persistence unit named sgn-core in deployment sgn-web.war 

i put jpa logs on trace , wildfly dysplaing this:

 6:38:41,835 trace [org.jboss.as.jpa.messages] (weld-worker-2) pu search name 'sgn-core' inside of sgn-web.war  16:38:41,841 trace [org.jboss.as.jpa.messages] (weld-worker-2) pu findwithindeployment searching sgn-core  16:38:41,842 trace [org.jboss.as.jpa.messages] (weld-worker-2) pu findwithindeployment skipping empty pu holder sgn-core  ...  16:38:41,912 trace [org.jboss.as.jpa.messages] (weld-worker-2) findwithinlibraryjar checking 'sgn-core' found no persistence units  ... 

but application same, , didn't change anythink.

here full server.log

sgn-core name of persistence-unit.

everythink works on jboss 7.1 on production on wildfly

please me?

i had similar problem. mine turned out had miss-spelled persistence.xml file.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -