[JBoss JIRA] (AG-92) Implement recovery resources in Narayana transaction integration
by Luis Barreiro (JIRA)
[ https://issues.jboss.org/browse/AG-92?page=com.atlassian.jira.plugin.syst... ]
Luis Barreiro resolved AG-92.
-----------------------------
Resolution: Done
> Implement recovery resources in Narayana transaction integration
> ----------------------------------------------------------------
>
> Key: AG-92
> URL: https://issues.jboss.org/browse/AG-92
> Project: Agroal
> Issue Type: Bug
> Components: api, narayana, pool
> Affects Versions: 1.1
> Reporter: Luis Barreiro
> Assignee: Luis Barreiro
> Fix For: 1.2
>
>
> In order for transaction recovery to work, need to register into {{org.jboss.tm.XAResourceRecoveryRegistry}}.
> The preferred way to do that is for the conectionPool to register the ConnectionFactory into the TransactionIntegration implementation.
> Because of isolation of dependencies between Agroal modules, this required changes in the TransactionInterface implementation.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (AG-92) Implement recovery resources in Narayana transaction integration
by Luis Barreiro (JIRA)
Luis Barreiro created AG-92:
-------------------------------
Summary: Implement recovery resources in Narayana transaction integration
Key: AG-92
URL: https://issues.jboss.org/browse/AG-92
Project: Agroal
Issue Type: Bug
Components: api, narayana, pool
Affects Versions: 1.1
Reporter: Luis Barreiro
Assignee: Luis Barreiro
Fix For: 1.2
In order for transaction recovery to work, need to register into {{org.jboss.tm.XAResourceRecoveryRegistry}}.
The preferred way to do that is for the conectionPool to register the ConnectionFactory into the TransactionIntegration implementation.
Because of isolation of dependencies between Agroal modules, this required changes in the TransactionInterface implementation.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Rakesh K. Cherukuri (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Rakesh K. Cherukuri updated WFLY-10996:
---------------------------------------
Steps to Reproduce:
*Deploy the module*
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
*Add driver binary as module in wildfly*
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
*Configure datasource in standalone-full.xml*
# Navigate to <wildfly-dir>
# - Either run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
# - Or alternatively you can modify the standalone-full.xml manually to add/replace the datasource for postgres
*Reproduce the issue:*
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
was:
*Deploy the module*
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
*Add driver binary as module in wildfly*
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
*Configure datasource in standalone-full.xml*
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
*Reproduce the issue:*
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
> 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 K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Rakesh K. Cherukuri (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Rakesh K. Cherukuri updated WFLY-10996:
---------------------------------------
Steps to Reproduce:
- Deploy the module
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
- Add driver binary as module in wildfly
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
- Configure datasource in standalone-full.xml
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
- Reproduce the issue:
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
was:
- Deploy the module
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
- Add driver binary as module in wildfly
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
- Configure datasource in standalone-full.xml
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
> 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 K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Rakesh K. Cherukuri (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Rakesh K. Cherukuri updated WFLY-10996:
---------------------------------------
Steps to Reproduce:
*Deploy the module*
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
*Add driver binary as module in wildfly*
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
*Configure datasource in standalone-full.xml*
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
*Reproduce the issue:*
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
was:
- Deploy the module
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
- Add driver binary as module in wildfly
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
- Configure datasource in standalone-full.xml
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
- Reproduce the issue:
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
> 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 K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Rakesh K. Cherukuri (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Rakesh K. Cherukuri updated WFLY-10996:
---------------------------------------
Steps to Reproduce:
- Deploy the module
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
- Add driver binary as module in wildfly
# # Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
- Configure datasource in standalone-full.xml
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
was:
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
> 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 K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Rakesh K. Cherukuri (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Rakesh K. Cherukuri updated WFLY-10996:
---------------------------------------
Steps to Reproduce:
- Deploy the module
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
- Add driver binary as module in wildfly
# Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
- Configure datasource in standalone-full.xml
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
was:
- Deploy the module
# Unzip jpa-war.tar.gz. Its a maven module and it also contains the target directory that has the binaries
# Copy target/jpa-war-1.0-SNAPSHOT.war under <wildfly-dir>/standalone/deployments folder
- Add driver binary as module in wildfly
# # Unzip pgsql.module.tar.gz and place the contents under modules/system/layers/base/org/postgresql
- Configure datasource in standalone-full.xml
# Navigate to <wildfly-dir>
# Run {color:#d04437}git apply <tmp-folder>/standalone-full.diff{color}
# Start the server
# Run {color:#d04437}curl http://localhost:8080/jpa-war-1.0-SNAPSHOT/jpaServlet{color}
> 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 K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Rakesh K. Cherukuri (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Rakesh K. Cherukuri updated WFLY-10996:
---------------------------------------
Environment:
CentOS 7/Mac OS
WildFly 14.0.0 / WildFly 14.0.1
was:
CentOS 7
WildFly 14.0.0 / WildFly 14.0.1
> 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 K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10996) Database queries result in NoClassDefFound for org/wildfly/transaction/client/ContextTransactionManager
by Rakesh K. Cherukuri (JIRA)
[ https://issues.jboss.org/browse/WFLY-10996?page=com.atlassian.jira.plugin... ]
Rakesh K. Cherukuri updated WFLY-10996:
---------------------------------------
Description:
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.
was:
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
> 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
> WildFly 14.0.0 / WildFly 14.0.1
> Reporter: Rakesh K. Cherukuri
> Assignee: Scott Marlow
> Priority: Blocker
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months