To enable
Adobe pre-configured JBoss to connect to the MySQL database that stores
AEM forms on JEE data, you must create a data source file and deploy
it to the instance of JBoss where you will deploy AEM forms on JEE.
Note:
Encrypt the password in the
lc_turnkey.xml
file
file using one of the methods described at
http://community.jboss.org/wiki/EncryptingDataSourcePasswords
.
The article contains a command to invoke secure identity login module.
In place of the command listed in the above article, use the following
command to invoke secure identity login module.
java -cp <jboss installer folder>\third_party\jboss\modules\system\layers\base\org\picketbox\main\picketbox-4.0.19.SP2-redhat-1.jar
org.picketbox.datasource.security.SecureIdentityLoginModule <password>You
can also use the instructions available on
http://blogs.adobe.com/livecycle/2009/10/livecycle_-_encrypting_clearte.html
.
5.4.1.1 Edit lc_turnkey file
Before configuring the MySQL data source, you must have
already created the database on MySQL as described in
4.6 Creating a MySQL database
.
Open the
[appserver root]
\standalone\configuration\lc_turnkey.xml
file in a text editor and locate this line for both IDP_DS and EDC_DS:
Note:
If your AEM forms on JEE server handles heavy
load, increase the maximum number of JDBC connections to ensure
that all jobs are processed. In such cases, increase
<max-pool-size>
to
50 or more for both IDP_DS and EDC_DS.
Save and close the file.
5.4.1.2 Edit lc_turnkey.xml file
Open the
[appserver root]
/standalone/configuration/lc_turnkey.xml
file in a text editor and modify the following code within the
<authentication>
element: