[Postgres] Database queries result in NoClassDefFound for
org/wildfly/transaction/client/ContextTransactionManager
------------------------------------------------------------------------------------------------------------------
Key: WFLY-10996
URL:
https://issues.jboss.org/browse/WFLY-10996
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 14.0.1.Final, 14.0.0.Final
Environment: CentOS 7/Mac OS
WildFly 14.0.0 / WildFly 14.0.1
Reporter: Rakesh Cherukuri
Assignee: Scott Marlow
Priority: Blocker
Fix For: 15.0.0.Final
Attachments: error.log, jpa-war.tar.gz, pgsql.driver.tar.gz,
standalone-full.diff
Basically WildFly is unable to either build the persistence context or it fails to query
postgres db.
The changes are so minimal that it should basically work.
Attached:
# error.log - exception in the server log
# jpa-war.tar.gz - maven module that can be used to reproduce the issue
# pgsql.module.tar.gz - postgres driver module that can be unpacked under
modules/system/layers/base/org/postgresql
# standalone-full.diff - diff that can be applied to standalone-full.xml to define
required datasource
Note:
- Tested same steps with wildfly 13 and there its woking fine.
- Tested with latest postgres driver and issue exists with v14.0.0 (and v14.0.1).
Postgres driver is thus ruled out.