Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Ready for Test
    • Affects Version/s: Fedora 3.8.0
    • Fix Version/s: Fedora 3.8.0
    • Component/s: legacy - Fedora
    • Labels:
      None

      Description

      Just tried to upgrade a 3.7.2 installation with this snapshot on a Debian Wheezy/Java7/Tomcat6/Postgres9.1 combo, but I hit an error when trying to setup database access:

      Database
      --------
      Enter a value ==> postgresql

      Postgresql JDBC driver
      ----------------------
      Enter a value [default is included] ==>

      Database username
      -----------------
      Enter a value ==> myuser

      Database password
      -----------------
      Enter a value ==> secret

      JDBC URL
      --------
      Enter a value [default is jdbc:postgresql://localhost/fedora3] ==>

      JDBC DriverClass
      ----------------
      Enter a value [default is org.postgresql.Driver] ==>


      Validating database connection...FAILED

      java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.
              at org.postgresql.Driver.notImplemented(Driver.java:751)
              at org.postgresql.jdbc4.AbstractJdbc4Connection.isValid(AbstractJdbc4Connection.java:118)
              at org.postgresql.jdbc4.Jdbc4Connection.isValid(Jdbc4Connection.java:19)
              at org.fcrepo.utilities.install.Database.test(Database.java:126)
              at org.fcrepo.utilities.install.InstallOptions.validateDatabaseConnection(InstallOptions.java:496)
              at org.fcrepo.utilities.install.InstallOptions.<init>(InstallOptions.java:255)
              at org.fcrepo.utilities.install.Installer.main(Installer.java:158)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at com.simontuffs.onejar.Boot.run(Boot.java:306)
              at com.simontuffs.onejar.Boot.main(Boot.java:159)
      java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.

      ERROR validating database connection; see above.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barmintor Benjamin Armintor
                Reporter:
                chrohrer Chris Rohrer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: