Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Mashup Center wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Mashup Center 3.0.0.1 Documentation Custom Search Scope...
Search
Community Articles > IBM Mashup Center > Configuring > Configuring SQL Server for IBM Lotus Mashups
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Anna G O'Neal
Contribution Summary:
  • Articles authored: 175
  • Articles edited: 274
  • Comments Posted: 34

Recent articles by this author

Maintaining page IDs when importing spaces

After exporting a space to one server and then importing that space to another server, you might notice that the original IDs for that space and all its pages and widgets change. In cases where you do not want the IDs to change, you can run a stableid import command to import the space ZIP file ...

Adding a custom widget to the mashup builder

You can add a custom widget to the mashup build directly from the Add to Mashup Builder window in the catalog. Do the following steps: 1. Open the catalog.xml file for the widget in edit mode, and add the line in italic font: definition ...

IBM Mashup Center Trial Edition, Version 3.0.0.1

This is an evaluation version of IBM Mashup Center, version 3.0.0.1. The product media contains all the functionality of a fully licensed version of IBM Mashup Center, except for the following limitations: This software is valid for 60 days from installation. This software is only available for ...

Date formats do not match browser settings for language

When browser settings for language are set to engb, certain widgets that display start and end dates of events might incorrectly display the dates in American English format ((MMDDYYYY)) instead of United Kingdom English format (DDMMYYYY). For example, when you view a series of events in the ...

Connecting to the Mashup Center WebDAV when working with themes and skins

This topic provides information on WebDAV, including how to connect to the file store to work with Page Builder 2 static resources.

Community articleConfiguring SQL Server for IBM Lotus Mashups

Added by Anna G O'Neal | Edited by IBM contributor Anna G O'Neal on August 12, 2009 | Version 13
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: admin, configure, database, sql
When you configure Microsoft SQL Server 2005 for IBM Mashup Center, you must configure it for both IBM InfoSphere MashupHub and Lotus Mashups. This topic covers only the configuration steps for Lotus Mashups in a Windows environment. To configure SQL Server for InfoSphere MashupHub, see the IBM InfoSphere MashupHub User and Administrator Guide.

PREREQUISITES: Fulfill the following prerequisites before starting to configure SQL Server for Lotus Mashups:

  • Install IBM Mashup Center. For instructions on installing IBM Mashup Center, see the IBM Mashup Center Quick Start Guide.
  • .
  • Install the IBM Mashup Center 1.1.0.1 fixpack, available on IBM Support Fix Central.

  • Install the SQL Server database server Version 2005. For instructions on installing SQL Server, see the SQL Server documentation.


To configure SQL Server for Lotus Mashups, do the following steps:

Step 1: Creating a new database


Create a new database with the following settings:

  • Provide a database name, for example MASHUPS.


  • From the Options menu, select Collation Name in the list according to your environment. The best performance occurs when you match the default database collation. Also, we recommend that you use a case-sensitive collation. For example, on an English system, set the collation to SQL_Latin1_General_CP1_CS_AS.


  • Create a schema, for example MASHUPS. Also specify the owner..



Step 2: Creating the SQL Server user and tables


To create the Lotus Mashups SQL Server user and the tables, do the following steps:

  1. Open either Microsoft SQL Server Management Studio or the OSQL utility.

  2. Note: If use osql to execute a script named xxx.sql, run the command following this format:
     
    osql -U sa -i \XXX.sql


  3. Run the following SQL scripts. Note that the command format to run SQL scripts is @<file_path
     
    /script.sql,
    where <file_path
     
    is the path of the script and script.sql is the script you want to run. In Lotus Mashups, the <file_path
     
    is <MASHUPS_ROOT
     
    \Config\dbscripts\sqlserver
    . Note: If you use the OSQL utility to run the scripts, use this command format: >osql -U sa -i <file_path
     
    \XXX.sql.


    • To create the schema, run createSchema_mashup.sql.

    • To create the application user, run createAppUser_mashup.sql.

    • To create the Lotus Mashups tables, run defineSchema_mashup.sql.

    • To grant access for the application user, run appGrants_mashup.sql.

    • To configure the database, run configureDatabase_mashup.sql.



Step 3: Configuring Lotus Mashups

To configure Lotus Mashups, do the following steps:


  1. Open MashupCenter_install_root/Config/database_sqlserver.properties, and specify the connectivity information for the database and user, for example:

    sqlServerUser=MASHUPSUSR
    sqlServerUserPassword=

    sqlServerServerName=
    sqlServerPortNumber=1433

    sqlServerDatabaseName=MASHUPS

  2. Create the data source and configure Lotus Mashups to use RDBMS persistence by changing to the MashupCenter_install_root/Config/ folder and running the following task:

    config.bat action-create-db-mashup-sqlserver


  3. Start the WAS server.


Step 4: Testing the connection


To confirm that everything is working as expected, do the following steps:


  1. Open the WebSphere Application Server (WAS) administrative console, and click Resources > JDBC > Data sources.


  2. Select the check box beside the new data source and test the connection.

  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (11)
collapsed Versions (11)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (13)Aug 12, 2009 3:48:29 PMAnna G O'Neal  IBM contributor
12Aug 12, 2009 7:59:05 AMAnna G O'Neal  IBM contributor
11Mar 13, 2009 10:26:40 AMAnna G O'Neal  IBM contributor
10Mar 9, 2009 11:11:46 AMAnna G O'Neal  IBM contributor
9Feb 12, 2009 9:50:17 AMAnna G O'Neal  IBM contributor
8Jan 16, 2009 9:45:07 AMAnna G O'Neal  IBM contributor
7Dec 14, 2008 1:25:17 PMAnna G O'Neal  IBM contributor
6Dec 14, 2008 1:24:48 PMAnna G O'Neal  IBM contributor
5Dec 12, 2008 3:25:21 PMAnna G O'Neal  IBM contributor
3Dec 12, 2008 3:16:29 PMAnna G O'Neal  IBM contributor
0Nov 21, 2008 11:28:19 AMAnna G O'Neal  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use