5 Replies Latest reply on Mar 31, 2006 4:01 AM by James Plessinger

    PersistenceContext causing bean's jndi entry to disapear.

    James Plessinger Newbie

      Hi.

      I have a SessionBean which works fine until I place the PersistenceContext
      annotation. as below

      @PersistenceContext(unitName="korsesus")
       protected EntityManager entityManager;
      


      After this the SessionBean local or remote interfaces are s no longer visible from the jndi tree. (Clients can not access them, and the jmx console does not show them) I can comment out the annotation and it's visible again. For the life of me I can't see way, and I don't see any error messages in the log files

      I am using
      Release ID: JBoss [Zion] 4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)