Skip to main content

Problems Accessing IBM Connections Blogs after using WSAdmin to Updates Blog Home Page Handle.


Technote (troubleshooting)


Problem

After following the product documentation to update the handle of the blog home page,
users find that the Public Blogs page is no longer accessible.

STEPS TO REPRODUCE:
1. Start the wsadmin client.
2. Execute the following commands:
- wsadmin>execfile("blogsAdmin.py")
- wsadmin>BlogsConfigService.updateConfig("SiteFrontPageWeblogHandle","TEST")
3. Verify you receive this message:
SiteFrontPageWeblogHandle was successfully changed
4. Exit the wsadmin client and login to Connections.
5. Navigate to Blogs.
6. Click on Public Blogs.

OBSERVED RESULT:
Page Not Found error in the UI. The rest of the Blogs UI seems to be unaffected.
In addition, one may find that when editing the Blogs Administration page,
there was a "NullPointerException" error when they tried to save their changes.



Cause

When the BLOGS database is initially created, a record is created in the BLOGS.WEBSITE table.
The value for the HANDLE column for this record gets updated when using wsadmin in this way.
However, there is another row in a different table, BLOGS_ROLLER_PROPERTIES, whose name is
site.frontpage.weblog.handle. The corresponding value here does not get updated by wsadmin.

The difference between these two database values is the cause of this problem.
The MBean implement of BlogsConfigService.updateConfig("SiteFrontPageWeblogHandle","..."),
only updates the blog handle of current frontpage blog.
It does not update the data in roller_properties table.


Diagnosing the problem

Examine the two tables as outlined in the BLOGS database and compare the values for these 2 fields.


In the BLOGS.WEBSITE table:


In the BLOGS_ROLLER_PROPERTIES table:

If they do not match, then follow the steps below to resolve the problem.


Resolving the problem

This issue is tracked in the following defect report:

IBM Connections SPR #DAMC956N5U
Brief Description: Brief Description: Page Not Found Error When Accessing Public Blogs After
Using Wsadmin To Updates Blog Home Page Handle.
APAR ID: LO74089

It will be reviewed for inclusion in a future maintenance release of the product.

Until then, customers can resolve the issue using this method:
Use wsadmin commands to change both the blog handle and update front page blog handle.

As follows:
- execfile("blogsAdmin.py")
- BlogsAdminService.renameWeblogHandle("<old_handle>", "<new_handle>")
- BlogsConfigService.updateConfig("SiteFrontPageWeblogHandle","<new_handle>")


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM Connections

Blogs


Software version:
4.0


Operating system(s):
AIX, Apple iOS, BlackBerry OS, Google Android, Linux, Mobile OS, Windows


Reference #:
1626806


Modified date:
2013-03-04

Translate my page

Content navigation