0 Replies Latest reply on Jul 27, 2018 4:34 AM by Alex Chan

    Wildfly 9 database transaction hold and cannot be returned

    Alex Chan Newbie

      We have encountered a problem that sometimes when we connected to oracle database to update/select through the wildfly datasouce, the transaction/ connection is on hold and there is no return from the transaction. The transaction is on hold more than 900s but the query only cosumed 1-2s to finish running. When we triggered the called again, the task can complete normally within 2s. We have checked the oracle database and there is no db lock during the transaction hold. Is there an unknown issue or anyone encountered the same problem?


      Here is the sampele datasource setting in standalone.xml (using JTA)


      <datasource jndi-name="java:jboss/datasources/caseman" pool-name="testds" enabled="true" use-java-context="true">