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

2007-01-19 Thread GBlack
"jaikiran" wrote : 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");

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

2007-01-19 Thread jaikiran
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.