[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Application Client JNDI lookup returns null for Hibernate Se

senthilid14 do-not-reply at jboss.com
Sun Aug 13 05:31:45 EDT 2006


Hi,

I am using JBoss 4.0.4, and Hibernate3. I used hibernate-service.xml and I put my mapping files and classes in a utility jar. 

>From a JSP page my JNDI lookup for hibernate SessionFactory is working perfectly.

But from a application client, my JNDI lookup returns null, so if i am trying to use SessionFactory, iam getting NullPointerException

am i missing somewhere?

thanks

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

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



More information about the jboss-user mailing list