View the steps to install SQL
Server for use with WebSphere® Portal Express®.
Before you begin
Before you begin this task, complete the following
prerequisites:
About this task
The following section provides instructions
for installing SQL
Server for
use with IBM® WebSphere Application Server and WebSphere Portal Express.
Procedure
- Install SQL
Server and all required
patches.
- Select the Mixed Mode (Windows Authentication
and SQL
Server Authentication)
authentication mode for this installation.
Important: Mixed Mode authentication allows either a Windows
user or an SQL
Server user,
or both, to log in to the SQL
Server; however, WebSphere Portal Express requires the user
to be an SQL
Server user.
- In the SQL
Server Set up panel, Components
to Install, select the following components, which are
required services for WebSphere Portal Express:
- SQL Server Database Services
- Complete the installation using SQL
Server documentation
as a guide.
- Enable TCP/IP connectivity in the SQL
Server Configuration Manager.
- Install the JDBC driver using Microsoft SQL
Server JDBC drivers
and enabling XA connections:
- Download and install the Microsoft SQL
Server JDBC driver;
see Microsoft Download Center for information.
- Copy file sqljdbc_xa.dll from the xa subdirectory
to the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqljdbc_xa.dll directory
of the SQL
Server installation.
- Start the database server.
- Ensure that the Distributed Transaction Coordinator has been started.
The status can be verified in the list of services in the Computer
Management console.
- Start the Microsoft SQL
Server Management Studio
and connect to the local database engine as the system administrator, sa.
- Select and select xa_install.sql from
the subdirectory of the downloaded and extracted JDBC driver.
- Execute the script by selecting .
Note: Any warnings that
appear in the messages section of the application window that say
that stored procedures cannot be found can be safely ignored.
- For Microsoft SQL
Server JDBC
drivers: If you are running Windows Server
2003, refer to the Registry Entries Are Required for XA Transaction
Support document for information on a new security constraint and
how to set SQL
Server on Windows Server 2003.
Create
a additional value in the
Windows registry for
WebSphere Portal Express by following these
steps:
- Open theWindows Registry
Editor (regedit) and navigate to the element HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL
- From the menu bar, select to create a new parameter named sqljdbc_xa.dll in
that element.
- Change the value of the new parameter to the location of the sqljdbc_xa.dll file
copied in the previous substep, for example: C:\Program
Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqljdbc_xa.dll
- Perform the following steps to enable
XA Transactions in Windows Component
Services:
- Click .
- Expand the tree view to locate the computer where you
want to turn on support for XA transactions (for example, My Computer).
- Display the menu for the computer name and click Properties.
- Click Options and tune the Transaction
Timeout that suits your environment. (The recommended minimum is 180
seconds).
- Click MSDTC and click Security
Configuration.
- Under Security Settings, select XA
Transactions to enable this support.
- Click OK to save your changes.
- Start SQL
Server.