Skip to main content link. Accesskey S
  • Translate Page ▼
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • WebSphere Portal Family wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.0
  • 6.1
  • 6.1.0.1
  • 6.1.5
  • 6.1.x
  • 7.0
  • 7.0.0.2
  • 8.0
  • accelerator
  • accelerators
  • ActiveInsight
  • administrator
  • administrators
  • advanced configuration
  • API
  • authoring
  • Banking template
  • basic configuration
  • best practices
  • builder
  • building a site
  • calls
  • cluster
  • customizing
  • demo
  • demos
  • deployment
  • deployment scenario
  • developer
  • developing
  • development
  • Enable
  • Express
  • Extend
  • Factory
  • feature
  • feature set
  • fix pack 2
  • Government to Business template
  • information center
  • install
  • installation
  • installing
  • known issues
  • LDAP
  • Learning
  • Lotus
  • Lotus Web Content Management
  • management
  • media portal
  • media toolbox
  • media wcm
  • message catalog
  • messages
  • migration
  • migration tool
  • mobile
  • mobile experience
  • Mobile Portal
  • Mobile Portal Accelerator
  • mobile webkit
  • model
  • MPA
  • multiplatform
  • multiple LDAPs
  • PDM
  • performance
  • planning
  • portal
  • Portal 6.1
  • portlet
  • product doc
  • Redbooks
  • Redbooks Wiki
  • Retail Vendor template
  • SAP
  • search
  • security
  • set
  • SharePoint
  • SharePoint integration
  • solutions catalog
  • test infrastructure
  • theme
  • theme optimization
  • troubleshooting
  • video
  • WAB
  • WCM
  • WCM 6.1
  • web application bridge
  • web content
  • Web Content Management
  • websphere
  • WebSphere Portal
  • WebSphere Portlet Factory
  • Workforce
  • worksheet
  • z/os
  • zos
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Best Practices for WebSphere Portal > Steps to configure Portal v 6.1.x with SQLServer 2005 property extension database
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Steps to configure Portal v 6.1.x with SQLServer 2005 property extension database 

expanded Abstract
collapsed Abstract
No abstract provided.
ShowTable of Contents
HideTable of Contents
  • 1 Install SQL Server 2005 and the JDBC Driver
  • 2 Modifying the ConfigEngine properties
  • 3 Creating Databases
  • 4 Setting up the databases
 
This guide will detail how to configure WebSphere Portal v6.1.0.x and 6.1.5.x with SQL Server 2005 databases. For more details on supported databases for WebSphere Portal, please review the detailed system requirements for WebSphere Portal:

WebSphere Portal Detailed System Requirements


Install SQL Server 2005 and the JDBC Driver



In this section we will install SQL Server 2005 and the Microsoft JDBC 1.2 Driver. All steps will be completed on Windows.

1. Install SQL Server 2005 following Microsoft documentation. Ensure you install these components:
  • SQL Server Database Services
  • Integration Services

2. Ensure that TCP/IP connectivity is enabled in the SQL Server Configuration Manager.

3. Download the Microsoft SQL Server JDBC drivers to a temporary directory on the SQL Server server. In this guide we will be using the JDBC 1.2 drivers.
    NOTE: These drivers can be retrieved from the Microsoft support website.
    NOTE: The JDBC 2.0 driver is only supported with WebSphere Portal version 6.1.0.3 or higher. If you try to use the JDBC 2.0 driver with WebSphere Portal v6.1.0.0, 6.1.0.1, or 6.1.0.2, the configuration will fail.
4. Extract the JDBC driver download into some directory on the server. For example, C:\SQLJDBCDriver\.

5. Locate the sqljdbc_xa.dll file within the JDBC Driver directory. For example, C:\SQLJDBCDriver\sqljdbc_1.2\enu\xa\x86.

6. Copy sqljdbc_xa.dll to the following directory on your SQL Server:
    C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\

7. Ensure that the Distributed Transaction Service has been started in Windows Services.
 

8. Start the Microsoft SQL Server Management Studio and login as the system administrator.

9. Select File -> Open -> File and select the xa_install.sql file from the Driver directory you created in Step 4. For example, C:\SQLJDBCDriver\sqljdbc_1.2\enu\xa\xa_install.sql.

10. Execute the script.



    NOTE: Ignore any warnings you see that say stored procedures cannot be found. This is expected.
11. Launch the Windows Registry Editor by clicking Start -> Run, then by typing regedit and clicking OK.

12. Navigate to the element HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL

13. From the menu, select Edit -> New -> String Value.

14. Create a new parameter called: sqljdbc_xa.dll

15. Change the value of the parameter to the path you placed sqljdbc_xa.dll in from Step 6.
 

16. Ensure XA Transactions are enabled in the Windows environment. Click Start -> Run, type dcomcnfg, and click OK to open Component Services.

17. Expand Component Services -> Computers. Right-click on My Computer and select Properties.

18. Click the MSDTC tab, and then click Security Configuration.

19. Ensure the Enable XA Transactions checkbox is checked.
 


20. Click the OK button and restart the SQL Server to ensure the changes are set.

21. Copy the database driver jar files from the SQL Server server to the WebSphere Portal server in some directory. For example,

    C:\SQLJDBCDriver\sqljdbc_1.2\enu\sqljdbc.jar


Modifying the ConfigEngine properties



In this section, you will prepare the wkplc.properties and wkplc_dbtype.properties files with the property extension database information. Several of these properties, such as the Database Names, Users, and Schemas, do not exist yet in the SQL Server database. They will be created in the 'Creating Databases' and 'Setting up Databases' sections.


You can organize this data in however many databases you would like. The recommendation is to use six separate databases.

In this guide, we will be database name WP_LADB for our database name.

Complete the following steps:

1. Backup the following file from the <wp_profile>/ConfigEngine/properties directory:
    wkplc.properties

2. Edit the <wp_profile>/ConfigEngine/properties/wkplc.properties and update the following properties:
    la.DbType - The type of database you are configuring. This value should be 'sqlserver2005'.
    la.DbName - The name of the database for this domain. This database will be created in the 'Creating Databases' section.
      NOTE: This value should be present in the DbUrl.
    la.DbSchema - The schema identifier for objects within the database for this domain. The schema will be created in the 'Setting Up Databases' section.
      NOTE: This value should equal the la.DbUser value.
    la.DataSourceName - The name of the datasource that will be created in the WebSphere Application Server configuration.
      NOTE: Do NOT use any of these values: releaseDS, communityDS, customizationDS, jcrDS, likemindsDS, feedbackDS
    la.DbUrl - The url used to access your database.
      NOTE: The URL must use this exact syntax for SQL Server: jdbc:sqlserver://<sqlserver_hostname>:<port>;SelectMethod=cursor;DatabaseName=<DbName>
      Any other syntax will cause the database transfer to fail.
      NOTE: The value you set for DbName must be used in this url.
    la.DbUser - The name of the user that will access this database. This user does not exist yet and will be created in the 'Setting Up Databases' section.
      NOTE: This value should equal the la.DbSchema.
    la.DbPassword - The password of the DbUser.
4. Save the wkplc.properties file.

5. If needed, edit the wkplc_dbtype.properties file and modify the following property to point to the location that you copied the jar files from Step 21 in the 'Installing SQL Server 2005' section:
    sqlserver2005.DbLibrary=C:\SQLJDBCDriver\sqljdbc_1.2\enu\sqljdbc.jar

6. Save the wkplc_dbtype.properties file.


Creating Databases



In this section, you will create the database in the SQL Server environment to be used by WebSphere Portal. For this guide, just one database will be created:
    WP_LADB

1. Start the Microsoft SQL Server Management Studio and login as the system administrator.

2. Expand the tree in the Object Explorer window to see Databases.

3. Right-click on Databases and select "New Database..."
 
 
 
4. Enter the database name. This should match the name you provided for la.DbName in the 'Modifying the ConfigEngine properties' section.

5. On the Options section, set the Collation value so that it matches your environment. For English systems, select SQL_Latin1_General_CP1_CS_AS:
    NOTE: Ensure this is set to "Case-sensitive" (CS).

6. Click OK to save the database changes.


Setting up the databases



In this section we will prepare the databases for configuration with WebSphere Portal.


1. Start the Microsoft SQL Server Management Studio and login as the system administrator.
2. Expand the tree in the Object Explorer window to see Databases -> WP_LADB -> Security -> Schemas
3. Right-click on your Schemas and select "New Schema..."

4. Create a new schema with the value you provided for la.DbSchema in wkplc_comp.properties (from the 'Modifying the ConfigEngine Properties' section).

5. Expand the tree in the Object Explorer window to see Databases -> System Databases -> master -> Security -> Schemas

6. Right click on Schemas and select "New Schema..."

7. Create a schema here for the la domain. Use the same value you provided for release.DbSchema in wkplc.properties (from the 'Modifying the ConfigEngine Properties' section).

8. Expand the tree in the Object Explorer window to see Security -> Logins.

9. Right-click on Logins and select "New Login..."

10. Provide the name of the la user. Use the same value you provided for la.DbUser in wkplc.properties (from the 'Modifying the ConfigEngine Properties' section).

11. If you are using SQL Server Authentication, select the radio button for this and enter the password. This should be the same password you set for la.DbPassword.

12. Set the "default database" to the WP_LADB database.

15. Click the link on the left hand side for "Server Roles". Ensure that NO server roles are checked:

16. Click the link on the left hand side for "User Mapping".

17. Check the box for the look-aside database and set the schema to the look-aside schema name.

18. For Database Role Membership, check the boxes for "db_owner" and "public".

19. Still on the 'User Mapping' window, check the box next to 'master' and set the schema name to the look-aside schema.

20. For Database Role Membership, check the boxes for 'public' and 'SqlJDBCXAUser'

21. Click 'OK' to create the user.

When you are finished, the user should be the db_owner of the database AND have SqlJDBCXAUser access to the 'master' database.
This guide will detail how to configure WebSphere Portal v6.1.0.x and 6.1.5.x with SQL Server 2005 databases. For more details on supported databases for WebSphere Portal, please review the detailed system requirements for WebSphere Portal:

WebSphere Portal Detailed System Requirements


expanded Article information
collapsed Article information
Category:
Best Practices for WebSphere Portal
Tags:

This Version: Version 32 February 26, 2010 7:19:43 PM by Susan H Perkins  IBMer
   
expanded Attachments (3)
collapsed Attachments (3)

 


File TypeSizeFile NameCreated On
image/gif 51 KB DistTransaction.gif 2/19/10 3:12 PM
image/gif 51 KB _1_12666231366740-9B2.gif 2/19/10 3:12 PM
image/jpeg 34 KB enableXAtrans.jpg 2/19/10 3:12 PM
expanded Versions (32)
collapsed Versions (32)
expanded Version Comparison
collapsed Version Comparison
     
Version Date Changed by               Summary of changes
This version (32) Feb 26, 2010 7:19:43 PM Susan H Perkins  
31 Feb 26, 2010 7:06:39 PM Susan H Perkins  
30 Feb 26, 2010 7:03:24 PM Susan H Perkins  
29 Feb 26, 2010 7:02:22 PM Susan H Perkins  
28 Feb 26, 2010 7:00:30 PM Susan H Perkins  
27 Feb 26, 2010 6:58:40 PM Susan H Perkins  
26 Feb 26, 2010 6:57:02 PM Susan H Perkins  
25 Feb 26, 2010 6:55:40 PM Susan H Perkins  
24 Feb 26, 2010 6:54:47 PM Susan H Perkins  
23 Feb 26, 2010 6:54:07 PM Susan H Perkins  
22 Feb 26, 2010 6:52:42 PM Susan H Perkins  
21 Feb 26, 2010 6:51:56 PM Susan H Perkins  
20 Feb 26, 2010 6:47:42 PM Susan H Perkins  
19 Feb 26, 2010 6:45:56 PM Susan H Perkins  
18 Feb 26, 2010 6:41:14 PM Susan H Perkins  
17 Feb 26, 2010 6:03:55 PM Susan H Perkins  
16 Feb 26, 2010 5:50:06 PM Susan H Perkins  
15 Feb 26, 2010 5:48:08 PM Susan H Perkins  
14 Feb 19, 2010 7:21:37 PM Susan H Perkins  
13 Feb 19, 2010 7:21:02 PM Susan H Perkins  
12 Feb 19, 2010 7:13:41 PM Susan H Perkins  
11 Feb 19, 2010 7:09:50 PM Susan H Perkins  
10 Feb 19, 2010 7:04:41 PM Susan H Perkins  
9 Feb 19, 2010 7:03:42 PM Susan H Perkins  
8 Feb 19, 2010 7:03:06 PM Susan H Perkins  
7 Feb 19, 2010 7:02:27 PM Susan H Perkins  
6 Feb 19, 2010 7:01:57 PM Susan H Perkins  
5 Feb 19, 2010 6:54:30 PM Susan H Perkins  
4 Feb 19, 2010 6:52:31 PM Susan H Perkins  
3 Feb 19, 2010 6:50:09 PM Susan H Perkins  
2 Feb 19, 2010 6:48:58 PM Susan H Perkins  
1 Feb 19, 2010 3:12:58 PM Susan H Perkins  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Tip: When linking to articles use the original title, not the edited title. The alias for the link can be the edited title.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • Lotus Technical Information and Education Team Blog
  • Lotus Tech Info on Twitter
  • Lotus Tech Info on Facebook
  • Lotus product forums
  • Lotus Tech Info blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use
Return to English
Arabic
Chinese Simplified
Chinese Traditional
French
German
Italian
Japanese
Korean
Portuguese
Russian
Spanish