Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Web Experience Factory 8 Documentation WebSphere Portlet Factory 7 Documentation WebSphere Portlet Factory 7.0.1 Documentation Custom Search Scope...
Search
Community Articles > WebSphere Dashboard Framework > WebSphere Dashboard Framework - Alerts module: Database persistence
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Rob Flynn
Contribution Summary:
  • Articles authored: 237
  • Articles edited: 298
  • Comments Posted: 2

Recent articles by this author

JAX-WS Handler Sample using IBM Web Experience Factory

Overview The Web Experience Factory (WEF) 8.0 release contains an enhancement to the web service call builders that gives you an option to define a global JAXWS handler class. This handler makes it possible for models to intercept and process the inbound and outbound SOAP envelopes associated ...

WebSphere Dashboard Framework 7.0.1.1 Fix pack now available

The WebSphere Dashboard Framework 7.0.1.1 Fix pack has been released.

IBM Web Experience Factory Version 7.0.1.4 Fix Pack is now available

This fix pack includes new fixes and updates for Web Experience Factory Version 7.0.1. and is now available on Fix Central and can be downloaded from here: ...

IBM Web Experience Factory WCAG 2.0 Compliance

IBM Web Experience Factory, developed and tested compliant to WCAG 2.0, can produce output (web pages, sites and content) that can be WCAG 2.0 Level A and Level AA compliant. IBM Web Experience Factory neither enforces nor prevents this compliance. Application developers must know and understand ...

Yeah!!! New IBM Web Experience Factory V8.0 is announced!!!

A quick snapshot of what's new in IBM Web Experience Factory... IBM Web Experience Factory is all about making it quick and easy to develop applications (portlets) that are included as part of an exceptional web experience. We've seen our customers doing some awesome stuff, whether it be ...

Community articleWebSphere Dashboard Framework - Alerts module: Database persistence

Added by Rob Flynn | Edited by IBM contributor Rob Flynn on January 4, 2010 | Version 14
  • 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: Alerts, Persistence Manager, Databases
The Alerts module uses XML file persistence manager by default, but you can migrate to a database persistence manager.

These instructions assume you have already created a WebSphere Dashboard Framework project, enabled alerts for the project, and deployed the project to the Portal server.
  1. Create a database (with a name such as AlertsDB).
  2. Create Alerts Module tables using the appropriate SQL file in the folder "WEB-INF\solutions\alerting\db_persistence". There are three SQL files in this folder for DB/2, Oracle, and SQL Server.
    For example, if you are using DB/2, use the db2_alerting_tables.sql file.
  3. Create a JDBC data source in the WebSphere Administrative Console. Give the data source a name like "jdbc/AlertsDBDS". The schema in this data source must be the same as the schema defined for the Alerts module tables. The Portal server may need to be restarted for the new data source to take effect.
  4. Open the override.properties file in a text editor (located in the folder "WEB-INF\config"). If the file does not exist, create it.
  5. Edit the property file with the following values. Each property should be entered on one continuous line.
    a. Activate the database persistence manager for alerts:

    bowstreet.solutions.alerting.persistenceManager.implementation=com.bowstreet.solutions.alerting.impl.database.DatabasePersistenceManager

    b. Use one of these lines to identify your database type:

    bowstreet.solutions.alerting.databasePersistenceManager.idFactoryClass=com.bowstreet.solutions.alerting.impl.database.DB2InstanceIDFactory
    bowstreet.solutions.alerting.databasePersistenceManager.idFactoryClass=com.bowstreet.solutions.alerting.impl.database.OracleInstanceIDFactory
    bowstreet.solutions.alerting.databasePersistenceManager.idFactoryClass=com.bowstreet.solutions.alerting.impl.database.SQLServerInstanceIDFactory

    c. Identify your data source (for example, jdbc/v5/dashboard):

    bowstreet.solutions.alerting.databasePersistenceManager.dataSourceName=datasource_name

    d. (Optional) Add these lines to enable caching for better performance:

    bowstreet.solutions.alerting.databasePersistenceManager.enableCaching=true
    bowstreet.solutions.alerting.databasePersistenceManager.cacheTimeoutInterval=60
  6. Save the property file.
    If you set the project up to deploy automatically, the changes will be deployed to the server directory. Restart the Portal server or the current Web application to take advantage of the new properties. If the project does not deploy automatically, rebuild the Portal WAR file to incorporate the new properties and deploy the application.
  7. Place the ImportDefinitions portlet on the page and use it to import all the definitions from XML to the database.

  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (14)
collapsed Versions (14)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (14)Jan 4, 2010 3:13:37 PMRob Flynn  IBM contributor
13Jan 4, 2010 3:13:16 PMRob Flynn  IBM contributor
12Oct 6, 2008 5:54:00 PMKerry Thompson  IBM contributor
11Oct 6, 2008 5:51:51 PMKerry Thompson  IBM contributor
10Oct 6, 2008 5:46:22 PMKerry Thompson  IBM contributor
9Oct 6, 2008 5:40:39 PMKerry Thompson  IBM contributor
8Sep 17, 2008 4:11:52 PMKerry Thompson  IBM contributor
7Sep 17, 2008 4:11:21 PMKerry Thompson  IBM contributor
6Sep 17, 2008 4:10:16 PMKerry Thompson  IBM contributor
5Sep 16, 2008 5:09:07 PMKerry Thompson  IBM contributor
4Jun 17, 2008 9:39:50 AMRob Flynn  IBM contributor
3Jun 13, 2008 1:14:50 PMRob Flynn  IBM contributor
2May 30, 2008 3:21:45 PMRob Flynn  IBM contributor
1May 22, 2008 10:01:37 AMRob Flynn  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
  • BlogsIBMSocialBizUX 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