3 Replies Latest reply on Jan 13, 2012 10:36 AM by pgmjsd

    Problem Seam 2.2.2 Websphere 7.0.0.19, load persistence-unit twice

    meneghette.meneghette.gmail.com

      Hi Everyone,


      Please, someone can help ?


      When deploy a seam application on webphere 7, the container automatic load de persistence unit,


      But when seam starts, seam load the persistence again, when I put for example hbm2dll with update, is made twice the update on database,


      In jboss I has the same problem, but there is a solution that is bind the entitymanagerfactory at JNDI and put on persistence.xml the property jboss.entity.manager.factory.jndi.name, but how can i solve this on websphere.


      If use the jpa seam example same thing happens.


      Please, if someone know anything, please share, has been 1 week, an i can not find any solution, and my client cannot wait anymore.