Hi all,
I have an ear in which there is a war and an
ejb jar. In my ejb jar under META-INF there is glassfish-resources.xml. I created a jdbc-connection-pool whose name is
java:app/mydb_pool. Then I created a resource which refers to this pool whose jndi name is "java:app/mydb".
In my ejb I created an InitialContext which lookups the jndi. I am getting error. Can anyone please explain me what is wrong. Here is the code and configuration.
Thank you all in advance.