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     80
Connecting JBoss for BAM Server to the LiveCycle database
You must configure a connection to the LiveCycle database on the instance of JBoss that runs BAM Server 
so that it can retrieve information about the process run-time data.
The procedure to configure the connection that you use depends on the type of database that you are 
using to store LiveCycle data:
 
Connecting to the LiveCycle database on SQL Server
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 SQL Server 2000:
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><!--Insert jdbcURL --></connection-url>
<driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver
</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:microsoft:sqlserver://[host name]:[port];SelectMethod=cursor;
databaseName=[dbname];user=[dbuser];password=[dbpassword]
[host name]
 is the name of the computer where SQL Server 2000 is running.
[port]
 is the port used to access the LiveCycle database. The default port for SQL Server 2000 is 
1433.
[dbname]
 is the name of the LiveCycle database.
[dbuser]
 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 
[dbuser]
 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.