0 Replies Latest reply on Feb 11, 2010 12:27 PM by 753120

    How to connect to weblogic data source using jndi name?

      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?