Configuring LiveCycle With the Command Line Interface (CLI) of LCM

LiveCycle Configuration Manager (LCM) offers a Command Line Interface (CLI) for configuring the appserver instance.

Using this CLI, you can automate the deployment of LiveCycle, including building the EAR files, configuring the appserver, deploying the EAR files to the appserver, bootstrapping the database, deploying DSCs, and validating these operations. You cannot deploy Samples using the CLI.

You need to create/edit a properties file with configuration settings that fit your environment and requirements which serves as input to the CLI commands. Please download a working (Windows) sample CLI_properties.txt.

Copy this file to the \bin folder of LCM ($LC_INSTALL_ROOT/configurationManager/bin/).

Appendix B (“Appendix – LCM Command Line Interface”) of the ‘Installing and Deploying LiveCycle ES” Guides provide detailed information regarding the use of the LCM CLI version.

Run the following commands (sequence matters):

1) Build the EAR files
ConfigurationManagerCLI.bat configureLiveCycle -f CLI_properties.txt

2) Configure the appserver (JDBC data source is configured manually)
ConfigurationManagerCLI.bat configureApplicationServer -f CLI_properties.txt -skip Datasource
Please note that you should manually deploy and start \configurationManager\deploy\adobe-lcm-lcvalidator.ear first. Also, make sure that all cluster members are running, otherwise this will fail

3) Deploy the EAR files to the appserver. Manual deployment is recommended although CLI can be used.

4) Re-start the appserver instance or cluster

5) Bootstrap (Initialize the database)
ConfigurationManagerCLI.bat initializeLiveCycle -f CLI_properties.txt
Please note: If the Gemfire distributed cache is not properly configured, bootstrapping will fail with the following exception:
com.adobe.livecycle.lcm.core.LCMException[ALC-LCM-000-000]: Failed on step ‘Invoking component bootstrapper’ for task ‘Bootstrapping DocumentServiceContainer’
java.lang.Exception: java.lang.NoClassDefFoundError: com.adobe.livecycle.cache.adapter.GemfireCacheAdapter (initialization failure)

6) Deploy DSCs (Components)
ConfigurationManagerCLI.bat deployLiveCycleComponents -f CLI_properties.txt

This entry was posted in Adobe LiveCycle ES and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>