GeoTools
  1. GeoTools
  2. GEOT-951

GeoTools Does not support DataSource from an application server

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-RC3
    • Fix Version/s: 2.7-M0
    • Component/s: jdbc
    • Labels:
      None
    • Environment:
      WebLogic 8.1 SP5
      PostgreSQL 8.1

      Description

      I have set up a connection pool / data source in WebLogic to PostgreSQL.
      How do I use that data source in Geotools ?
      All the APIs I can find need a javax.sql.ConnectionPoolDataSource or
      needs you to set user/password/connection info ... in a Map.
      That is already set up inside of WebLogic and I don't have access to that info.
      Is there a way to give geotools the connection to use or tell it to use a DataSource ?
      I don't want to have to have a hard coded properties file with the login info. (passwords need to be changed
      and I would rather have them use WebLogic's console than change a properties file by hand.)

        Activity

        Hide
        Andrea Aime added a comment -
        JDBC-NG accepts a data source, either as a straight parameter or by JNDI lookup
        Show
        Andrea Aime added a comment - JDBC-NG accepts a data source, either as a straight parameter or by JNDI lookup

          People

          • Assignee:
            Unassigned
            Reporter:
            Rob Rowan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: