0 Replies Latest reply on Sep 30, 2006 7:49 AM by michaelnorman

    EAR/HAR problem

    michaelnorman

      Dear all.

      I have the following problem. I have a HAR and a SAR file inside my EAR. With the jboss-service.xml inside the hibernate-archive I define the SessionFactoryName for use with jndi. My classes in the SAR rely on this when trying to lookup the SessionFactory via jndi. But the SAR is invoked first when deploying the EAR, thereafter comes the HAR. Thus the MBeans in the SAR can't access the SessionFactory, since it is not bound, yet.

      How can solve this problem? Thanks in advanced for your help,

      greetings

      Norman