[
https://issues.apache.org/jira/browse/CONNECTORS-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piergiorgio Lucidi updated CONNECTORS-1763:
-------------------------------------------
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:
{code:java}
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{code}
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|http://example.com/]
was:
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:
{code:java}
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{code}
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|http://example.com]
> Update the default PostgreSQL JDBC Driver
> -----------------------------------------
>
> Key: CONNECTORS-1763
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1763
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Framework core
> Affects Versions: ManifoldCF 2.26
> Reporter: Piergiorgio Lucidi
> Priority: Major
> Fix For: ManifoldCF next
>
>
> 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:
> {code:java}
> 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{code}
> 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|http://example.com/]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)