Hello to all,
I have been trying to access a persistence
unit from a
servlet in
JBoss 4.2.2, but I always get a "not bound" exception.
My directories are as follows:
.ear
-META-INF
--MANIFEST.MF
--application.xml
-.jar (persitence.xml)
-.war (web.xml, jboss-app.xml)
In my
web.xml I have:
and in my servlet (inside the .war file) I have:
However, by looking at JMX Console I don't see the persistence/context being created, and when I try to lookup the manager, I get "persistence not bound".
Am I missing something here?
Regards