Hi,
I'm compiling a little project deployable as a enterprise archive using Hibernate and glassfish. I have troubles getting JNDI to work.
Here's my hibernate.cfg.xml
Here's my session factory:
I did configure a connection pool and a jndi-Name at the server's admin console, but I do get the following exception:
javax.naming.NameNotFoundException: No object bound to name
java:comp/env/hibernate/SessionFactory
I'm confident that it's just a minor naming problem, but I can't figure it out. Any help is appreciated.