Hi,
I am using Glassfish 2.1 app server. I set up a
JDBC Resource with the name 'jdbc/myDB'.
And I used @Resource annotation to inject the resource in my
ejb (ejb3) as below:
I didn't mention anything in deployment descriptor as I am using ejb3 with annotations.
Now, when I access this ejb from the client, I am getting the following error:
"com.sun.enterprise.InjectionException: Exception attempting to inject Res-Ref-Env-Property: jdbc/[email protected]@ resolved as: jndi: jdbc/myDB@res principal: null@mail: null
No Runtime properties
Database Vendor : null"
Can you please tell me where I am going wrong.
Thanks
Vinay