Macromedia live cycle 7.2 매뉴얼

다운로드
페이지 123
Adobe LiveCycle
Manually Configuring JBoss for BAM Server
Installing and Configuring LiveCycle for JBoss
 Connecting JBoss for BAM Server to the LiveCycle database     81
4. Replace 
<!--Insert dbPassword -->
 in the 
<password>
 element with the password for the user 
name specified for the 
<user-name>
 element.
5. Save the file as adobe-ds.xml in the [jboss bam root]/server/default/deploy/ directory.
Connecting to the LiveCycle database on MySQL
To enable BAM Server to connect to the LiveCycle database, you need to create a data source file and 
deploy it to the instance of JBoss that runs BAM Server.
To create a data source for the LiveCycle database on MySQL:
1. Open a text editor and create a new text file using the following code:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<no-tx-datasource>
<jndi-name>com.celequest.adobe</jndi-name>
<connection-url><![CDATA[<!--Insert jdbcURL -->]]>
</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<!-- The login and password -->
<user-name><!--Insert dbUsername --></user-name>
<password><!--Insert dbPassword --></password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>5</idle-timeout-minutes>
<track-statements>false</track-statements>
<application-managed-security/>
</no-tx-datasource>
</datasources>
2. Replace 
<!--Insert jdbcURL -->
 in the 
connection-url 
element with the following text:
jdbc:mysql://[host_name]/[db_name]?user=[dbUsername]&password=
[dbpassword]&autoReconnect=true&autoReconnectForPools=true
[host_name]
 is the name of the computer on which MySQL is running.
[db_name]
 is the name of the LiveCycle database.
[dbUsername]
 is the user name of the database user account that can access the LiveCycle 
database.
[dbpassword]
 is the password for the user name specified for the 
[dbUsername]
 parameter.
3. Replace 
<!--Insert dbUsername -->
 in the 
user-name
 element with the user name of the 
database user account that can access the LiveCycle database.
4. Replace 
<!--Insert dbPassword -->
 in the 
password
 element with the password for the user 
name specified for the 
<user-name>
 element.
5. Save the file as adobe-ds.xml in the [jboss bam root]/server/default/deploy directory.