Transaction Timeouts
In some cases, either if you have a slow machine or very large data sets, some common operations can take a long time to complete. The default transaction timout of the application servers may then not be enough.
Normally CRL generation and other known long running operation already have larger transaction timout from configuration in
modules/cesecore-ejb/src/META-INF/jboss-ejb3.xml
modules/ejbca-ejb/resources/jboss-ejb3.xml
JBoss 7 / EAP 6
/subsystem=transactions/:write-attribute(name=default-timeout,value=600)