While migrating from Tomcat to Weblogic 12.1.3 I got this exception javax.naming.namenotfoundexception while trying to look up
then I have tried the following :
NameNotFoundException: While trying to lookup 'jdbc' only when publishing from Eclipse Kepler but not Indigo
and
How to access JNDI data source defined in weblogic 10.3.6
I got the in titled error now
My lookup code
ds = (DataSource) initContext.lookup("MyDB");
in weblogic JNDI Name
MyDB
Any help please?