Hello to all, We have a random problem in Appian 7.8 on jboss (and MS

Hello to all,

We have a random problem in Appian 7.8 on jboss (and MSSQL) that sometimes appears when we try to use the Query Database Smart Service
forum.appian.com/.../Query_Database_Smart_Service.html

In the vast majority of cases the update query we are running works. But sometimes we get this error
---
Problem: An error occurred in executing an Activity Class.
Details: There was a problem executing the SQL query. SQL Message : javax.resource.ResourceException: IJ000456: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@4c7409ee[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@56380f78 connection handles=0 lastUse=1444920886943 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject@35aaf147 pool internal context=SemaphoreArrayListManagedConnectionPool@5440a83f[pool=SqlServerDS] xaR...

OriginalPostID-173317

OriginalPostID-173317

  Discussion posts and replies are publicly visible

Parents
  • ...esource=XAResourceWrapperImpl@7a7fbb80[xaResource=org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@56380f78 pad=false overrideRmValue=null productName=Microsoft SQL Server productVersion=10.50.1600 jndiName=java:/AppianProcDS] txSync=null]
    Recommended Action: Examine the activity class to correct the error and then resume.
    Priority of this problem: High Priority
    ----

    The problem is
    a) If the administrator retries the activity it works
    b) that this particular error of not getting a managed connection is not reported by the activity in ErrorOccured, ErrorText. The activity fails and the flow stops. This means that we cannot rerun it

    The question is how do we resolve it. Can we catch these kind of errors in the flow and rerun them?

    Regards,

    Nikos
Reply
  • ...esource=XAResourceWrapperImpl@7a7fbb80[xaResource=org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@56380f78 pad=false overrideRmValue=null productName=Microsoft SQL Server productVersion=10.50.1600 jndiName=java:/AppianProcDS] txSync=null]
    Recommended Action: Examine the activity class to correct the error and then resume.
    Priority of this problem: High Priority
    ----

    The problem is
    a) If the administrator retries the activity it works
    b) that this particular error of not getting a managed connection is not reported by the activity in ErrorOccured, ErrorText. The activity fails and the flow stops. This means that we cannot rerun it

    The question is how do we resolve it. Can we catch these kind of errors in the flow and rerun them?

    Regards,

    Nikos
Children
No Data