Macromedia live cycle 7.2 매뉴얼

다운로드
페이지 123
Adobe LiveCycle
Manually Configuring JBoss
Installing and Configuring LiveCycle for JBoss
 Configuring the Oracle data source     59
To create the MySQL 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>
<local-tx-datasource>
<jndi-name>IDP_DS</jndi-name> 
<connection-url>jdbc:mysql://host_name:port/database_name 
</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>database_username</user-name>
<password>password</password>
<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> 
<prepared-statement-cache-size>50</prepared-statement-cache-size>
<transaction-isolation>TRANSACTION_READ_COMMITTED
</transaction-isolation>
</local-tx-datasource>
</datasources>
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 3306.
database_name
: The name of the database that stores the LiveCycle data.
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 Oracle data source
To enable JBoss to connect to the Oracle 9i or 10g tablespace that stores LiveCycle data, you must 
complete the following tasks:
Obtain and copy the Oracle 9i JDBC driver to the instance of JBoss where you will deploy LiveCycle 
products.
Note:
For Oracle 10g, JDBC driver classes are available with Oracle Client or Database installation, and 
do not need be downloaded separately. The JDBC driver is available in the 
[dbserver root]/jdbc/lib directory. 
Create a data source file and deploy it to the instance of JBoss where you will deploy LiveCycle 
products. 
Before configuring the Oracle data source, you must have already created the LiveCycle database on 
Oracle. (See 
.)