java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.

Sakai JIRA | Christian Rohrer | 2 years ago
  1. 0

    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.

    Sakai JIRA | 2 years ago | Christian Rohrer
    java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.
  2. 0

    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.

    Sakai JIRA | 2 years ago | Christian Rohrer
    java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.
  3. 0

    HA-JDBC / Discussion / Help:JBoss7.1.3/HAJDBC

    sourceforge.net | 11 months ago
    java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JBoss7.1.3/HAJDBC

    ha-jdbc | 4 years ago | yasdnil-eniarb
    java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.
  6. 0

    Re: setBlob(InputStream) not supported?

    postgresql.org | 1 year ago
    java.sql.SQLFeatureNotSupportedException: Method > org.postgresql.jdbc4.Jdbc4PreparedStatement.setBlob(int, InputStream) > is not yet implemented.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLFeatureNotSupportedException

      Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.

      at org.postgresql.Driver.notImplemented()
    2. PostgreSQL JDBC Driver
      Jdbc4Connection.isValid
      1. org.postgresql.Driver.notImplemented(Driver.java:751)
      2. org.postgresql.jdbc4.AbstractJdbc4Connection.isValid(AbstractJdbc4Connection.java:118)
      3. org.postgresql.jdbc4.Jdbc4Connection.isValid(Jdbc4Connection.java:19)
      3 frames
    3. org.fcrepo.utilities
      Installer.main
      1. org.fcrepo.utilities.install.Database.test(Database.java:126)
      2. org.fcrepo.utilities.install.InstallOptions.validateDatabaseConnection(InstallOptions.java:496)
      3. org.fcrepo.utilities.install.InstallOptions.<init>(InstallOptions.java:255)
      4. org.fcrepo.utilities.install.Installer.main(Installer.java:158)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. com.simontuffs.onejar
      Boot.main
      1. com.simontuffs.onejar.Boot.run(Boot.java:306)
      2. com.simontuffs.onejar.Boot.main(Boot.java:159)
      2 frames