2 Replies Latest reply on Jan 28, 2004 1:58 PM by mshaikh

    Cannot Use DB Pool from JPivot

    mshaikh

       

      "mshaikh" wrote:
      I have set a datasource with the JNDI name:

      jdbc/PostgresDS in an xml file which I deploy by dropping into the deployment directory. The pool is created fine and I can access the connections programmatically from a jsp.

      However, I am using JPivot and one of the tags, "mondrianQuery", doesn't work like my hand coded jsp's do. The tag will take a dataSource as an attribute and underneath the covers make a call to "java:comp/env/jdbc/PostgresDS" which is not bound.

      How can I specify the connection pool XML file so that my tag will work properly? Is this a Initial Context issue?

      Thanks.