0 Replies Latest reply on May 14, 2007 3:15 PM by Ron Smits

    session and persistence unit catch 22

    Ron Smits Newbie

      Evening all

      I am greenfielding at a customer site with ejb3 and jboss 4.0.5GA. I found a strange problem with a stateless session bean that gets the persistencecontext injected by the @PersistenceContext annotation.

      The session bean does not get initialised because the persistence unit is not initialized. The session bean is not in the same jar file as the persistence unit. But they are all in the ear file.

      Is this a known problem?