Stop and take a backup of your AEM instance.
Workaround and solutions for common issues related to AEM Forms Output service
It takes longer than expected time to generate a PDF document
Issue
AEM Forms take longer than expected time to generate PDF document and transaction times out. You can also experience the following exception:
javax.transaction.RollbackException: Unable to commit: transaction marked for rollback
Resolution
To resolve the issue, set timeout limit to a greater number:
-
-
Navigate to [AEM Installation]\crx_quickstart\install. If the install folder does not exist, create it.
-
Create and open a file named org.apache.aries.transaction.config for editing.
-
Add the following to the file:
aries.transaction.timeout="[seconds]"
Note:Replace [seconds] with a number. For example, 1200. Ensure that the number of seconds are mentioned in quotes. For example, aries.transaction.timeout="1200"
Save and close the file.
-
Start your AEM Forms instance.
You have to perform aforementioned steps only for the first time. After performing aforementioned steps, if required, you can modify the timeout value from AEM Configuration Manager:
-
Locate the org.apache.aries.transaction configuration and tap edit icon.
-
Set the timeout value to a greater number. Tap Save. A longer timeout period helps avoid transaction timeout error.