NameNotFoundException « JBoss « JPA Q&A

1. javax.naming.NameNotFoundException: Name 'Manager1Factory' not found in context ''

I get the error

javax.naming.NameNotFoundException: Name 'Manager1Factory' not found in context ''
when I try to deploy my hibernate app in JBoss 7. The line of code that is throwing this exception ...

2. JBoss 5 javax.naming.NameNotFoundException: hibernate not bo

I am migrating a 4.0.2 JBOSS app which uses hibernate to JBOSS 5.0.1 GA but if i try to get a hibernate session i keep getting the following error in JBOSS: javax.naming.NameNotFoundException: hibernate not bound The deployment of my UserEjb works fine (see log below) but the org.hibernate.SessionFactory of my .har in the JBoss JMX-Management Console = null. On JBoss 4 ...