getting a rollback exception when trying to add attachments

1
0
-1

Hi

I am using Bonita 7. I have live process . There when some users try to attach documents and submit the form , process works fine . But In certain cases, the user while trying to attach Documents gets an error. The submit button does not work for them . When they remove the attachments , then it works fine.
I have checked the size of the Attachments, its less than 1 MB .

The exception is as follows.
<org.bonitasoft.web.rest.server.api.resource.CommonResource> <USERNAME=water.bates@acme.com | org.bonitasoft.engine.transaction.STransactionCommitException: weblogic.transaction.RollbackException: setRollbackOnly called on transaction
org.bonitasoft.engine.bpm.flownode.FlowNodeExecutionException: USERNAME=water.bates@acme.com | org.bonitasoft.engine.transaction.STransactionCommitException: weblogic.transaction.RollbackException: setRollbackOnly called on transaction
at org.bonitasoft.engine.api.impl.ProcessAPIImpl.executeUserTask(ProcessAPIImpl.java:5823)
at org.bonitasoft.engine.api.impl.ProcessAPIImpl.executeUserTask(ProcessAPIImpl.java:5811)
at sun.reflect.GeneratedMethodAccessor476.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
Truncated. see log file for complete stacktrace
Caused By: org.bonitasoft.engine.transaction.STransactionCommitException: weblogic.transaction.RollbackException: setRollbackOnly called on transaction
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.commit(JTATransactionServiceImpl.java:229)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.complete(JTATransactionServiceImpl.java:197)
at com.bonitasoft.engine.transaction.JTATransactionServiceExt.executeInTransaction(JTATransactionServiceExt.java:68)
at org.bonitasoft.engine.execution.TransactionExecutorImpl.execute(TransactionExecutorImpl.java:50)
at org.bonitasoft.engine.api.impl.ProcessAPIImpl.executeTransactionContent(ProcessAPIImpl.java:873)
Truncated. see log file for complete stacktrace
Caused By: weblogic.transaction.RollbackException: setRollbackOnly called on transaction
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1985)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:369)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:260)
at org.glassfish.transaction.TransactionManagerImplCommon.commit(TransactionManagerImplCommon.java:571)
at org.glassfish.transaction.TransactionManagerImplCommon.commit(TransactionManagerImplCommon.java:565)
Truncated. see log file for complete stacktrace
Caused By: weblogic.transaction.internal.AppSetRollbackOnlyException: setRollbackOnly called on transaction
at weblogic.transaction.internal.TransactionImpl.setRollbackOnly(TransactionImpl.java:592)
at org.glassfish.transaction.TransactionManagerImplCommon.setRollbackOnly(TransactionManagerImplCommon.java:604)
at org.glassfish.transaction.TransactionManagerImplCommon.setRollbackOnly(TransactionManagerImplCommon.java:597)
at org.hibernate.engine.transaction.internal.jta.CMTTransaction.markRollbackOnly(CMTTransaction.java:131)
at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.setRollbackOnly(TransactionCoordinatorImpl.java:321)
Truncated. see log file for complete stacktrace

Comments

Submitted by Sean McP on Thu, 09/22/2016 - 00:23

I am using Bonita 7.

Which version? 7.0.x, 7.1.x, 7.2.x or 7.3.x? There are lots of differences between them all.

Have you checked the file names? Are there invalid characters in the names which is causing this to happen?

regards

Submitted by Dibyajit.Roy on Thu, 09/22/2016 - 09:09

Hi Sean

Thanks for your prompt reply .
I think you have a valid point.
The version of Bonita is 7.1.2
This is happening in live production.
I have already adviced the user to rename the document as Doc1 and try to upload again.
I was entirely focused on file size and hence missed the special characters point.

Is there any specific characters that is not allowed ?
Is there a specific naming policy that we should follow for Bonita ?

Thanks

Submitted by Dibyajit.Roy on Thu, 09/22/2016 - 10:57

Hi

I did check with user. I had the user rename the document as Doc1, Doc2 and Doc 3.
User replied that he is still not able to submit the request.
Any other issue causing this ..

Submitted by Sean McP on Thu, 09/22/2016 - 12:19

I would take a copy of the process and ask the user to send you a copy of the files, and then try to replicate the issue. See what happens - if it still fails then it is probably a problem with the file.

If not then...sorry no real idea

regards

No answers yet.
Notifications