1 Reply Latest reply on Oct 20, 2011 2:43 PM by senthilrmca

    EJB3 failed to resolve persistence unit

    senthilrmca

      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.