To enable WebLogic Server and your LiveCycle
deployment to connect to the SQL Server database, you must create
a database connection for WebLogic Server by setting up a connection
pool and a data source.
To create a new data source for SQL Server on WebLogic 11g:Under Change Center, click Lock & Edit.
Under Domain Structure, click Services > JDBC >
click Data Sources and, in the right pane, click New.
On the next screen, set the following properties:
In the Name box, type IDP_DS.
In the JNDI name box, type IDP_DS.
In
the Database Type list, select MS SQL Server.
In the Database Driver list, select Microsoft’s MS SQL Server Driver (Type 4) Versions:2005, 2008
Click Next and select Supports Global Transactions and Emulate Two-Phase Commit.
Click Next and define the following properties
that apply to the SQL Server database you created during your LiveCycle
install preparations:
Database Name: The name of the
database you have created
Host Name: The name or IP
address of the computer on which SQL Server is running
Port: The
database port. The default is 1433
Database User Name: The
name of the user you created on the SQL Server database
Password and Confirm Password: The
password associated with the user
Click Next and then click Test Configuration to
verify the configuration settings.
Note: If the
test is successful, a “Connection test succeeded” message appears. Click Next.
Otherwise, review the error message that appears and modify the settings
as required until the test succeeds.
On the next screen, select the server that the data source
will connect to (in this case, the managed server.)
Click Finish and then click Activate Changes.
Configure the connection pool settingsUnder Domain Structure, click Services > JDBC > Data Sources and,
in the right pane, click IDP_DS.
On the next screen, click the Configuration tab > Connection Pool tab.
In the Maximum Capacity box, type 30.
In the Statement Cache Size box, type 80.
Click Save and then click Activate Changes.
Restart WebLogic managed server.
Create a new data source for SQL Server for Rights Management on WebLogic 11gNote: This procedure
applies only if you have Rights Management installed.
Under Change Center, click Lock & Edit.
Under Domain Structure, click Services > JDBC > Data Sources and,
in the right pane, click New.
On the next screen, set the following properties:
In the Name box, type RM_DS.
In the JNDI Name box, type EDC_DS.
In the Database Type list, select MS SQL Server.
In the Database Driver box, select Microsoft’s MS SQL Server Driver (Type 4) Versions:2005, 2008
Click Next and select Supports Global Transactions and One-Phase Commit.
Click Next and define the following properties that
apply to the SQL Server database you created during your LiveCycle
install preparations:
Database Name: The name of the
database you have created
Host Name: The name or IP
address of the computer on which SQL Server is running
Port: The
database port. The default is 1433
Database User Name: The
name of the user you created on the SQL Server database
Password and Confirm Password: The
password associated with the user
Click Test Configuration to verify the configuration
settings.
Note: If the test is successful, a “Connection
test succeeded” message appears. Click Next.Otherwise review
the error message that appears and modify the settings as required
until the test succeeds.
On the next screen, select the server that the data source
will connect to (in this case, the managed server) and then click Finish.
Configure the connection pool settingsUnder Change Center, click Lock & Edit.
Under Domain Structure, click Services > JDBC > Data Sources and,
in the right pane, click RM_DS.
On the next screen, click the Configuration and the Connection Pool tab,
and set the following properties:
In the Initial Capacity box,
type 1.
In the Maximum Capacity box, type 20.
In the Capacity Increment box, type 5.
In the Statement Cache Size box, type 80.
Click Save and then click Activate Changes.
Restart WebLogic managed server.
Map the Windows login to the LiveCycle database userNote: You must already have a user account
created and associated with your Windows domain.
Using Microsoft SQL Server Management Studio, connect to
the database server that hosts the LiveCycle database.
Set the Authentication mode to Windows authentication.
Under Security > Logins, create a new account for the
Windows domain user and select Windows authentication.
On the Login - New screen, click User Mapping and
set the database and default schema for the new user.
Select db_owner as the Database role and click OK.
To
verify that you created the user, expand the LiveCycle database
in the navigation tree and click Security > Users. The
new user is listed there.
Configure integrated security on WindowsStart the WebLogic Administration Console by typing http://[host]:[port]/console in
the URL line of a web browser.
Note: Start the
application server by using the Windows domain user. If WebLogic Server
is running as a service, it should be started by using the Windows
domain user account.
Type the user name and password that you created for the
WebLogic Server domain and click Log In.
Under Change Center, click Lock & Edit.
Under Domain Structure, click Services > JDBC > Data Sources and,
in the right pane, click IDP_DS.
On the next screen, click the Configuration tab > ConnectionPool tab
and, in the Properties box, type integratedSecurity=true.
Under Domain Structure, click Services > JDBC > Data Sources and,
in the right pane, click RM_DS.
On the next screen, click the Configuration tab > Connection Pool tab
and, in the Properties box, type integratedSecurity=true.
On the computer where the application server is installed,
add sqljdbc_auth.dll to the Windows systems path (C:\Windows).
Note: The sqljdbc_auth.dll file is in the same location
as the Microsoft SQL JDBC 3.0 driver installation
(default is [DriverInstallDir]/sqljdbc_3.0/enu/auth/x64).
|
|
|