Macromedia live cycle 7.2 매뉴얼
Adobe LiveCycle
Manually Configuring JBoss
Installing and Configuring LiveCycle for JBoss
Configuring the DB2 data source 60
➤
To obtain and copy the JDBC driver for Oracle 9i or 10g:
1. Obtain the ojdbc14.jar file appropriate for your database from the Oracle website at
2. Copy the ojdbc14.jar file to the [appserver root]/server/all/lib directory.
➤
To create the Oracle data source file:
1. Open a text editor and create a new text file using the following code:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<datasources>
<local-tx-datasource>
<jndi-name>IDP_DS</jndi-name>
<connection-url>jdbc:oracle:thin:@host_name:port:service_name
</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>database_username</user-name>
<password>password</password>
<!-- Checks the Oracle error codes and messages for fatal errors -->
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
</exception-sorter-class-name>
<connection-url>jdbc:oracle:thin:@host_name:port:service_name
</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>database_username</user-name>
<password>password</password>
<!-- Checks the Oracle error codes and messages for fatal errors -->
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
</exception-sorter-class-name>
</local-tx-datasource>
</datasources>
For information about the Oracle connection URL, see
.
2. Replace the bold text with values
that are specific to your LiveCycle database:
●
host_name
: The name, IP address, or fully-qualified path of the computer that hosts the LiveCycle
database.
●
port
: The port used to access the LiveCycle database. The default port is 1521.
●
service_name
: The name of the Oracle database service.
●
database_username
and
password
: The user name and password that the application server
uses to access the LiveCycle database.
3. Save the file as adobe-ds.xml in the [appserver root]/server/all/deploy directory.
4. Restart JBoss.
Configuring the DB2 data source
To enable JBoss to connect to the DB2 database that stores LiveCycle data, you must complete the
following tasks:
following tasks:
●
Obtain and copy the DB2 JDBC driver to the instance of JBoss where you will deploy LiveCycle
products.
products.
●
Create a DB2 data source file and deploy it to the instance of JBoss where you will deploy LiveCycle
products.
products.
Before configuring the DB2 data source, you must have already created the LiveCycle database on DB2.
(See
(See
.)