[jboss-user] [Installation, Configuration & Deployment] - EAR/HAR problem

michaelNorman do-not-reply at jboss.com
Sat Sep 30 07:49:19 EDT 2006

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,



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975279#3975279

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975279

More information about the jboss-user mailing list