Macromedia live cycle 7.2 매뉴얼
Adobe LiveCycle
Manually Configuring JBoss
Installing and Configuring LiveCycle for JBoss
Configuring the SQL Server data source 61
➤
To obtain and copy the JDBC driver for DB2:
1. Obtain the db2jcc.jar and db2jcc_license_cu.jar files from the DB2 installation directories.
2. Copy the files to the [appserver root]/server/all/lib directory.
➤
To create the DB2 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:db2://server_name:port/database_name
</connection-url>
<driver-class>com.ibm.db2.jcc.DB2Driver
</driver-class>
<user-name>database_username</user-name>
<password>password</password>
<SelectMethod>Cursor</SelectMethod>
<min-pool-size>1</min-pool-size>
<max-pool-size>100</max-pool-size>
<blocking-timeout-millis>20000</blocking-timeout-millis>
<idle-timeout-minutes>10</idle-timeout-minutes>
<connection-url>jdbc:db2://server_name:port/database_name
</connection-url>
<driver-class>com.ibm.db2.jcc.DB2Driver
</driver-class>
<user-name>database_username</user-name>
<password>password</password>
<SelectMethod>Cursor</SelectMethod>
<min-pool-size>1</min-pool-size>
<max-pool-size>100</max-pool-size>
<blocking-timeout-millis>20000</blocking-timeout-millis>
<idle-timeout-minutes>10</idle-timeout-minutes>
</local-tx-datasource>
</datasources>
2. Replace the bold text with values that are specific to your LiveCycle database:
●
server_name
: The name of the computer that runs DB2.
●
port
: The port used to access DB2. The default port is 50000.
●
database_name
: The name of the DB2 database that stores the LiveCycle data. (See
.)
●
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 SQL Server data source
To enable JBoss to connect to the SQL Server database that stores LiveCycle data, you must complete the
following tasks:
following tasks:
●
Obtain and copy the SQL Server JDBC driver files to the instance of JBoss where you will deploy
LiveCycle products.
LiveCycle products.
●
Create a SQL Server data source file and deploy it to the instance of JBoss where you will deploy
LiveCycle products.
LiveCycle products.
Before configuring the SQL Server data source, you must have already created the LiveCycle database on
SQL Server. (See
SQL Server. (See
.)