Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
7.8.0.GA
-
None
-
Documentation (Ref Guide, User Guide, etc.), Release Notes
-
It must say that in order to use PostgresSQL Plus external database, we cannot use the service + host parameters, but the URL (or jdbcURL) parameter.
-
-
Description
When we create a custom database for postgresql:
make build postgresql
And push the image to be accessed by Openshift.
And using a Posgresql Enterprise instance:
db.primary_label=postgresplus116 db.port=5432 server_label_primary=postgresplus116 hibernate.dialect=org.hibernate.dialect.PostgresPlusDialect hibernate.connection.url=jdbc\:edb\://edb-as11.mwqe.upshift.rdu2.redhat.com\:5432/dballo06 hibernate.connection.schema=public datasource.class.xa=com.edb.xa.PGXADataSource
The kie server image is properly built but when running the instance is unable to start because:
Caused by: javax.resource.ResourceException: IJ031083: Wrong driver class [org.postgresql.Driver] for this connection URL [jdbc:edb://edb-as11.mwqe.upshift.rdu2.redhat.com:5432/dballo05] at org.jboss.ironjacamar.jdbcadapters@1.4.18.Final-redhat-00001//org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:323) ... 52 more
I've attached all the logs here.
The same using a non Enterprise Postgres database is working fine.