[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException hibernate service

jaikiran do-not-reply at jboss.com
Fri Jan 19 19:10:45 EST 2007


As mentioned in the log, the service is bound at :
java:/hibernate/MySqlSessionFactory

However you are looking up java:/hibernate/MySessionFactory. Change the lookup code to

this.factory = (SessionFactory) ctx.lookup("java:/hibernate/MySqlSessionFactory");

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

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



More information about the jboss-user mailing list