JBoss Community

EJB3 failed to resolve persistence unit

created by senthil ramasamy in Beginner's Corner - View the full discussion

Hi all,

 

Here is the scenario,

 

EAR Project

  |

   |- SessionBean.Jar

   |

   |- Persistence.Jar

       |-Meta-Inf

          |-persistence.xml file.

 

   We have above architecture  which is working fine in weblogic. When we are trying to convert the project in JBoss 5.0.1 AS. we have a issue to find persistence unit from session bean jar.

 

  I found some work around in forum it seems to be mention the Jar name up front of unit name. I tried eventhough i have a same issue. If some body could help in this please help me to resolve this.

 

Which ever we follow its a standard EJB arch. So hope we will have a solution for this.

 

Thanks in advance.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community