Virtuoso Jena Error MTXNA error

Hi,
I am getting this error when running JAR from AWS EC2 server
The component is querying the data using Jena and then processing it
I am getting this error.This error is not generated consistently
org.apache.jena.shared.JenaException: Can not create ResultSet.:virtuoso.jdbc4.VirtuosoException: MTXNA: Main transaction branch has aborted.
May I know why this error is caused and how to rectify it.

Caused by: org.apache.jena.shared.JenaException: Can not create ResultSet.:virtuoso.jdbc4.VirtuosoException: MTXNA: Main transaction branch has aborted.
at virtuoso.jena.driver.VirtuosoQueryExecution.execSelect(VirtuosoQueryExecution.java:93) ~[virt_jena_v4_4-1.42.jar!/:?]

What is the context in which the MTXNA: Main transaction branch has aborted is occurring, as I have never such an error before ?

Looks as if you have some for of Jena transactional app that is causing the error, and who advise the review of these Jena Sample applications we provide which transactional programs, to see how best to create such.