[JBoss-user] [Persistence & CMP/JBoss] - Null hibernate session factory in ejb3

2005-07-08 Thread milesif
I have the following configuration: I am using 4.0.2 with ejb3 installed. I deployed an ear with a .war, an .ejb3 (just a stateless session bean) and a .har. I can see my hibernate session factory in the jndi tree (java:/hb/factory), I can get a reference to the session bean, but when I look fo

[JBoss-user] [Persistence & CMP/JBoss] - Re: SessionFactory with name [java:/hibernate/SessionFactory

2004-09-13 Thread milesif
Hi everybody, I solved the problem looking at the sources of importXml(Element config) merthod of EjbInterceptor class. From that I found out that I had to add a parameter named bindName with value equal to the name of the hibernate session factory to be used in the jBoss.xml configuration file

[JBoss-user] [Persistence & CMP/JBoss] - SessionFactory with name [java:/hibernate/SessionFactory] no

2004-09-10 Thread milesif
I have followed indications in JBossHibernate wiki with JBoss4.0. The application and .har deployments have no problems, but when I call SessionContext.getSession("java:/hibernate/SessionFactory") in a stateless session bean method I get the following exception 20:44:39,418 ERROR [LogIntercepto