LiveCycle – Sample JBoss run.bat Settings

If you are running LiveCycle ES on non-turnkey (manually configured) JBoss, the following settings might help you. Quite obviously, you have to change them to fit your environment.

The settings are appropriate for a dual-core two-CPU server (4 cores) running Windows Server 2003 with a 32-bit Sun HotSpot JDK. The -XX:+UseLargePages setting will not work unless the user whose credentials JBoss is using to run has the ‘Lock Pages in Memory’ privilege. You can add this using Windows Group Policy Editor (gpedit.msc).

If you do not plan to use BAM, do not deploy CAS_Adobe.ear If you do need to use it, deploy it to another JBoss instance, independent of the LiveCycle JBoss instance.

Do not apply this to your PRODUCTION servers unless you have run your entire test suite against these settings under load. You can use JConsole for monitoring the JVM.

The entries for adobe-pof.properties and adobe.idp.scheduler.properties are only required for clusters.

Ensure that the bind.address is set to one of your server’s IP addresses.

rem —————————————————————-
rem Configuration Changes for Adobe LiveCycle ES 8.0.1
rem —————————————————————-

set JAVA_OPTS=%JAVA_OPTS% -server
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseParallelOldGC -XX:ParallelGCThreads=4
set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m
set JAVA_OPTS=%JAVA_OPTS% -XX:PermSize=256m -XX:MaxPermSize=256m
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseLargePages
set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true
set JAVA_OPTS=%JAVA_OPTS% -Dadobeidp.serverName=lc_server1
set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=utf8
set JAVA_OPTS=%JAVA_OPTS% -Djava.io.tmpdir=D:\Adobe\LiveCycle8\lc_java_io_tmpdir
set JAVA_OPTS=%JAVA_OPTS% -Djboss.partition.name=partitionLIVECYCLE

rem —————————————————————————————————
rem Configuration Changes for Adobe LiveCycle PDF Generator’s ConvertPDF Service
rem —————————————————————————————————

set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.convertpdf.bmc.POOL_MAX=4
set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.convertpdf.bmc.MAXIMUM_REUSE_COUNT=500
set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.convertpdf.bmc.REPORT_TIMING_INFORMATION=false
set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.convertpdf.bmc.CT_ALLOW_SYSTEM_FONTS=true

rem ———————————————————-
rem Configuration Changes for XMLForm (Forms ES)
rem ———————————————————

set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.xmlform.bmc.POOL_MAX=4
set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.xmlform.bmc.MAXIMUM_REUSE_COUNT=10000
set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.xmlform.bmc.REPORT_TIMING_INFORMATION=false
set JAVA_OPTS=%JAVA_OPTS% -Dcom.adobe.xmlform.bmc.CT_ALLOW_SYSTEM_FONTS=true

For UNIX operating systems (Red Hat Enterprise Linux and SuSE Enterprise Linux, also Solaris in LiveCycle 8.2.1), the entries have to be changed slightly. For example:

# —————————————————————-
# Configuration Changes for Adobe LiveCycle ES 8.0.1
# —————————————————————-

JAVA_OPTS=”$JAVA_OPTS -server”
JAVA_OPTS=”$JAVA_OPTS -XX:+UseParallelOldGC -XX:ParallelGCThreads=4″

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)
This entry was posted in Adobe LiveCycle ES. Bookmark the permalink.

Comments are closed.