I am trying to connect to database using data source look up from weblogic as below:
factory = "weblogic.jndi.WLInitialContextFactory"
conn = zxJDBC.lookup('ApplicationDB',INITIAL_CONTEXT_FACTORY=factory)
this is throwing DatabaseError:
however i can connect to the db using uname, pwd and url. its working fine using zxJDBC in jython.
any clue why the first one is failing?