Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1763

Update the default PostgreSQL JDBC Driver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • ManifoldCF 2.26
    • ManifoldCF 2.28
    • Framework core
    • None

    Description

      Trying to deploy ManifoldCF using PostgreSQL using the default PostgreSQL JDBC Driver v. 42.1.3, the following warning message is returned during the bootstrap:

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils (file:/usr/share/manifoldcf/lib/postgresql-42.1.3.jar) to field java.util.TimeZone.defaultTimeZone
      WARNING: Please consider reporting this to the maintainers of org.postgresql.jdbc.TimestampUtils
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release

      The problem is related to the old PostgreSQL JDBC Driver implementation that is not compliant with the new Java Modules architecture introduced after Java 9.

      I think that we should update it to the latest version 42.7.3.

      Here the issue explained in the GitHub project:

      https://github.com/pgjdbc/pgjdbc/issues/986

      Attachments

        Activity

          People

            Unassigned Unassigned
            piergiorgiolucidi@gmail.com Piergiorgio Lucidi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: