Sahoo,
Thank you so much for your quick reply. It helped me.
Yes I followed your suggestion and its working.
I have one more related question.
Cant I inject the @Resource with ENC name like
@Resource(name="java:comp/env/Some_Portable_ENC_JNDI_Name").
?
I thought container would anyway translate "Some_Portable_ENC_JNDI_Name" in
@Resource(name="Some_Portable_ENC_JNDI_Name").
to "java:comp/env/Some_Portable_ENC_JNDI_Name". Why cant I directly mention ENC name while injection ? Any idea ?
[Message sent by forum member 'arunkumark007' (arunkumark007)]
http://forums.java.net/jive/thread.jspa?messageID=353096