Performance/Timeouts

I keep getting 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 timeout of the application servers may not be enough.

Session Bean Timeouts

Normally CRL generation and other known long running operation already have larger transaction timeout configured in modules/cesecore-ejb/src/META-INF/jboss-ejb3.xml and modules/ejbca-ejb/resources/jboss-ejb3.xml

Application Server Timeouts (JBoss EAP7/Wildfly 10)

In the JBoss CLI, run

/subsystem=transactions/:write-attribute(name=default-timeout,value=600)

to modify the transaction timeout