Hi,
I'm facing following problem with hibernate and
jboss. I have postgresql-ds.xml in ${JBOSS}/server/default/deploy:
Then, I have jboss-service.xml in META-INF dir of the har:
In my
EJB I try to get access to database via:
The har is deployed in jboss-app.xml:
Application deploys with no errors.
Unfortunately jboss throws an Exception when trying to lookup:
What am I doing wrong? I see that the session factory is not bound to JNDI. How to fix it? Anyone can help to fix it?