Out Of Memory (OOM) errors may occur on an AdobeLiveCycle ES Update 1 (Service Pack 2) JBoss turnkey installation or JBoss manual with MySQL installation. This issue is related to the MySQL JDBC driver version and the data source connection settings.
Caution: This update strongly recommends that you shut down the JBoss and MySQL services prior to running the Service Pack 2 installer (as indicated in the install instructions).
You must install version 5.1.6 of the JDBC driver to reduce the number of open result sets and resolve the out of memory issues. You must also change the data source and JVM settings.
This section describes the tasks required to obtain and install the appropriate MySQL JDBC driver.
To obtain and install the driver for non-turnkey JBoss:
Note: On JBoss turnkey, this task is performed by the LiveCycle ES installer and is not required.
The data source settings as defined in the adobe-ds.xml file are intended for a heavy load with many concurrent connections and a long idle connection timeout (10 minutes). This results in a large number of prepared statements being cached on the heap. Reducing the idle connection timeout, the number of maximum open connections, and the size of the prepared statement cache for IDP_DS and EDC_DS will result in a reduction of heap memory allocated to the JDBC connections.
The JBoss turnkey install sets a number of JVM arguments in the run.bat file and in the JBoss for Adobe LiveCycle ES service definition. After you have updated the JDBC driver, you can modify the run.bat file.
If Content Services is not installed, the PermSize value can be reduced to 128 MB.
To modify the JBoss for Adobe LiveCycle ES service definition you must uninstall and reinstall the service with new JVM arguments specified.
The JBoss server is configured using a batch file, InstallJBossService.bat that is created during system installation. During the turn-key setup of LiveCycle, LiveCycle PDF Generator ES support for native document conversion is an optional feature. The batch file will vary slightly, depending on whether you have enabled this feature.
If during the installation you chose to include this feature, then you will have entered a username and password into the LiveCycle setup. You will need to use this username and password to complete the reinstallation of the JBoss service.
If Content Services is not installed, the PermSize value can be reduced to 128 MB.
JBossService -status "Jboss for Adobe LiveCycle ES"
The resulting message will indicate that the service has been stopped.
InstallJBossService [domain\username][password]
Where [domain\username] and [password] are the credentials used during the original installation. If the ID is a local user, then it will be specified using the syntax MACHINENAME\USERNAME. A domain login ID must be specified as DOMAIN\USERNAME.
JBossService -status "Jboss for Adobe LiveCycle ES"
Prihláste sa do svojho účtu