Thursday, 11 February 2010

IBM WCM 6.x - How to reset syndication

If you are having issues with WCM syndication you may need to reset the connection. The best way to do this is as follows:
  • Stop authors updating content
  • Stop syndication
  • Ensure that no pre-rendering or other WCM maintenance tasks are being done.
  • Delete the WCM syndicator and WCM subscriber defintions on the respective machines
  • Reset the WCM event log on syndicator and subscriber by running the ConfigEngine with
ConfigEngine.sh wcm-reset-event-log (linux)
ConfigEngine wcm-reset-event-log (windows)
  • remove the subscriber cache by going to the subscriber and removing all directories under:

/PortalServer/wcm/ilwwcm/system/subscriber

(This folder is used by the syndicator to store content items retrieved from the subscriber prior to being saved to the JCR. If you look at this folder during a syndication, you will see it fill with files as they are being retrieved by the subscriber. You will also see this folder start to empty as items are moved from this temporay location and stored in the JCR

  • Lastly re-create syndicator and subscriber

Other things you may want to check
  • Make sure you have the latest fix pack
If your syndicator or subscriber is clustered then also:
  • Ensure that you have load balancer names/addresses + ports defined in WCMConfigService.properties, syndicators and subscribers.
  • Ensure that you have disabled syndicator and subscriber cache using cachespec.xml
  • Ensure that Data Replication Services is enabled for the cluster.

IBM WCM - "Error while calling a function updateItems of PLS data manager"

ContentServic E Error while calling a function updateItems of PLS data manager.: Error while calling a function updateItems of PLS data manager.
javax.jcr.StaleValueException: Error while calling a function updateItems of PLS data manager.: Error while calling a function updateItems of PLS data manager

If you get this error in your SystemOut.log then it may relate to the use of the WCM API in the context of an EJB with transcation type set to "Container Managed"
When using the WCM API in this manner, the API does not work as expected and you must set the transaction type of the EJB to "Bean managed".
Source: http://www-01.ibm.com/support/docview.wss?uid=swg21303035


If you get the following message on a SUBSCRIBER

PlutoSubscrib W IWKPD1043X: Could not save the updated subscriber for update id: Error: com.ibm.workplace.wcm.services.repository.StaleValueException: IWKMU1062X: Message: Could not save object in repository., Cause: javax.jcr.StaleValueException Error while calling a function updateItems of PLS data manager

It may be that there is more than one attempt to update the subscriber .
This is a bug and has been fixed with a fix pack (V6.0.1 fix pack 6, V6.0.1 fix pack 7 and V6.1.5 feature pack)

Source: http://www-01.ibm.com/support/docview.wss?uid=swg1PK80443

If you get the following meessage on a SYNDICATOR

RepositorySer E Exception caught while saving node
javax.jcr.StaleValueException: Error while calling a function updateItems of PLS data manager.: Error while calling a function updateItems of PLS data manager

It appears that more than one task is attempting to update the node at the same time. You should apply the fix pack indicated above.

Monday, 8 February 2010

Installing ATI drivers 10.1 for ubuntu karmic x64

For some strange reason, a recent update to the latest ubuntu kernel disabled the ati driver on my thinkpad T400.

Just for the record. This is what I did to reinstall it:

First, go to:
http://support.amd.com/us/gpudownload/Pages/index.aspx
Use the page to select your driver:

For Karmic 9.10 x64 and i386 it will be:
download ati-driver-installer-10-1-x86.x86_64.run

Ensure you are fully up to date with

$ sudo apt-get update

Ensure that you hvae the QT4 libraries with:

$ sudo apt-get install libqtgui4

Copy the downloaded file into it's own folder. From a terminal change to that folder and then create deb files with:

$ sudo sh ./ait-driver-installer-10-1-x86.x86_64.run --buildpkg Ubuntu/karmic

That will create the necessary "deb" files.
Lastly install these with:

$ sudo dpkg -i *.deb

Now reboot.
After a reboot, I had to re-run the Compiz Manager to reset all my options.

You can check that it is all working using

$ fglrxinfo

My display showed the following:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
OpenGL version string: 1.4 (2.1.9026)