To enable
Adobe pre-configured JBoss to connect to the MySQL database that stores
LiveCycle data, you must create a data source file and deploy it
to the instance of JBoss where you will deploy LiveCycle.
Replace the following text in the file with values that are
specific to your database:
localhost: The name,
IP address, or fully-qualified path of the computer that
hosts the database. The default is localhost.
3306: The port used to access the database. The default
port is 3306.
adobe: The name of the database that stores the data.
Replace the default value, adobe, with your database
name.
In the lines that follow the <connection-url> settings,
locate the user-name and password settings
and replace the default values with the user name and password that
the application server uses to access your database.
Ensure that the minimum and maximum values for the data source
connections are set as follows:
Note: If your LiveCycle 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 mysql-ds.xml file
If you are running LiveCycle with a MySQL database, you
must set MySQL as the default data source for JBoss. This procedure
assumes that the MySQL JDBC driver is installed in the [appserver root]/server/lc_mysql/lib
directory.
Open the [appserver root]/server/lc_mysql/deploy/mysql-ds.xml
file in a text editor and modify the <local-tx-datasource> element
with your MySQL connection settings:
Replace the following text in the file with values that are
specific to your database:
localhost: Replace
this value with the name of the server hosting the database.
3306:Replace this value with the port number
for your database server.
adobe: Replace this value with the database
that will connect with LiveCycle.
In the lines that follow the <connection-url> settings,
locate the user-name and password settings
and replace the default values with the user name and password that
the application server uses to access your database.
Save and close the file.
5.4.1.3 Edit login-config.xml file
Open the [appserver root]/server/lc_mysql/conf/login-config.xml
file in a text editor and modify the following code within the <policy> element: