To enable JBoss to
connect to the Oracle 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.
Replace the following text from the above line 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
.
1521:
The port used to access the database. The default
port is
1521
.
adobe:
The SID of the database that stores the AEM
forms on JEE data. Replace the default value,
adobe
,
with your database SID.
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.
(Only for Oracle RAC)
Replace the connection URL mentioned
in step 1 with the following connection URL:
Note:
If your AEM forms on JEE server handles heavy
load, increase the number of maximum 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.2.2 Edit lc_turnkey.xml file
If you are running AEM forms on JEE with an Oracle database,
you must set Oracle as the default data source for JBoss. This procedure
assumes that the Oracle JDBC driver is installed in the
[appserver root]
/standalone/configuration
directory.
Open the
[appserver root]
/standalone/configuration/lc_turnkey.xml
file in a text editor and modify the
<datasource>
element
with your Oracle connection settings:
Replace the bold text in the above lines with values that
are specific to your database:
localhost:
Replace this
value with the host name of your Oracle server.
1521:
If
Oracle is not using the default port, replace this value with the
appropriate port number.
adobe
: Replace this value
with your database SID.
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.
(Only for Oracle RAC)
Replace the connection settings
mentioned in the first step with the following connection URL:
Note:
Ensure that this entry appears as a single line
in the oracle-ds.xml file.
(Only for Oracle RAC)
Replace the following text from
the connection URL in the previous step with values that are specific
to your database:
yourhost1:
The name, IP address,
or fully-qualified domain name of the first node in the cluster
that hosts the database.
yourhost2:
The name, IP address, or fully-qualified
domain name of the second node in the cluster that hosts the database.
Note:
The cluster hosting the database could have
n
nodes.
yourhost1
and
yourhost2
are examples in the case of a two-node cluster.
service.yourcompany.com:
The service name for the
Oracle RAC database.
Save and close the file.
5.4.2.3 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: