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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to