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 - Annotations troubleshooting
  • 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 - Annotations troubleshooting

Added by Rob Flynn | Edited by IBM contributor Rob Flynn on January 4, 2010 | Version 12
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: Annotations, Troubleshooting
Follow the tips in this article to find and resolve problems with annotations.

Problems using annotations


Problem: Users need to know how long their comment headlines and body text can be.

Background and solution:
The character limit for a comment's headline and body text is the same for both single-byte character sets such as English and double-byte character sets such as Chinese.
The headline must be 200 characters or fewer.
The body text must be 2,000 characters or fewer.


Problem: The Alerts section is missing when users create a comment.

Background and solution: When you create a project that will have annotation alerts, include the WebSphere Dashboard Framework Alerts Module and Alerts Scheduler feature sets.


Problem: All users see comments even though the author selected "Only certain individuals should be able to see this comment."

Background and solution:
The following setting in the WEB-INF/config/bowstreet.properties file must be set to true to enable privacy settings:


ibm.wdf.annotation.enableSecurity=true 


Problem: A user is not receiving annotation alerts.

Background and solution: If the problem is limited to a particular user, the user may not have rights to receive the alert. That privilege is determined by the comment's author, who allows certain users or groups to see the comment. If the problem is widespread, the application developer may not have added the Alerts Module and Alerts Scheduler feature sets to the project or the administrator did not enable Annotation Alerts in the Manage Alerts portlet.






Problem: A page containing an Ajax region does not show annotations correctly.

Background and solution:
The Ajax Region builder allows operations in one area of a portlet to execute independently, thus eliminating the need to reload and re-render an entire page. This feature causes problems with annotations because the Annotation builder must refresh the full page when users click "Add comment" or "View comments." To allow annotations to work with an Ajax Region builder, use the builder input "Location type: Location on page" rather than "Entire page" or "All pages." (In this context, "page" refers to the pages created in a model, not all the "portlets" in a WebSphere Portal page.) To have two Ajax regions on a page, add two Ajax Region builders and select "Location type: Location on page" for each.


Problem: A portlet with an Annotation builder that uses an action menu does not run and produces a methodExecution Exception error.

Background and solution:
A limitation in WebSphere Portal restricts the length of servlet class names. When a servlet class name exceeds the limit, the portlet does not run. The servlet class used for an Annotation builder's action menu that is placed on a page can exceed this limit because the full name of the servlet class name includes the model name, the page builder name, the Annotation builder name, and so on. In addition, an underscore character () becomes "_5F" when WebSphere Portal assembles the full name. To avoid this limitation, use short names for the model name, the page builder name, and the Annotation builder name and avoid underscore characters. Note that the name lengths are not a concern when placing the annotation controls on an action button.


Problems using a database persistence manager


JDBC Interface with DB2


In order to use the JDBC interface to DB2, db2jstrt (the DB2 JDBC Applet Server service) must be started. Normally, this service runs when the system starts. To be sure the service is running, run the applet server service and give it a port number: db2jstrt port_number
For example, db2jstrt 50000


DB2 Driver

The DB/2 driver can be found in DB2_HOME\java\db2java.zip. The Application Server uses a class called COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource. However, this class cannot be found in db2java.zip. Follow these steps to make sure db2java.zip is complete:

  1. Go to DB2_HOME\java12.
  2. Find the usejdbc2.bat file.
  3. Execute usejdbc2.bat to copy the files.
  4. Check that the file in use contains "jdbc2.0," which confirms that db2java.zip file contains the missing class files.



Execution of SQL Queries with DB2


Before executing SQL queries, make sure that a statement termination character is used to terminate statements in command scripts. To check or change the statement termination character:

  1. Open the Command Center.
  2. On the General tab, select the Use statement termination character check box. You can also type a character that will be used as the statement termination character in the entry field. By default, it is a semicolon ";".

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (13)
collapsed Versions (13)
Version Comparison     
VersionDateChanged by              Summary of changes
13Jan 4, 2010 3:37:39 PMRob Flynn  IBM contributor
This version (12)Jan 4, 2010 3:37:09 PMRob Flynn  IBM contributor
11Jan 4, 2010 3:36:27 PMRob Flynn  IBM contributor
10Oct 8, 2008 10:54:59 AMDeAnna Steiner  IBM contributor
9Sep 17, 2008 4:42:07 PMKerry Thompson  IBM contributor
8Sep 17, 2008 3:27:22 PMKerry Thompson  IBM contributor
7Sep 17, 2008 3:25:35 PMKerry Thompson  IBM contributor
6Sep 17, 2008 3:24:27 PMKerry Thompson  IBM contributor
5Sep 16, 2008 5:12:28 PMKerry Thompson  IBM contributor
4Jun 17, 2008 10:23:05 AMRob Flynn  IBM contributor
3Jun 13, 2008 1:17:31 PMRob Flynn  IBM contributor
2May 30, 2008 2:16:30 PMRob Flynn  IBM contributor
1May 22, 2008 9:54:54 AMRob Flynn  IBM contributor
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