Vivek Agarwal’s Portal/Java Blog

An IBM Gold Consultant’s weblog about IBM, Lotus, WebSphere, J2EE, IT Processes, and other IT technologies

How to enable “synchronous portlet edits” in a WebSphere Portal 6.0 cluster?

Posted by Vivek Agarwal on November 13, 2007


My blogs are getting more and more infrequent recently – things have been more crazy lately at work and I have also been reading a few non-technical books, leaving me less time to write on my blog. Today – I decided to prioritize blogging over other things and write about an issue that had plagued a WebSphere Portal v6.0 cluster. Essentially, if you create a WP6 cluster following the instructions from IBM, you will end up with an issue whereby a portlet edit on one node in the cluster does not appear on other cluster nodes without a server restart on the other nodes.

With input from Michael Chaney (a fellow IBM Gold Consultant), we finally resolved the issue. I have not seen any reports of this issue on IBM’s site or the forums – so I figured I would write about it to possibly help others out. The issue is that by default in a WP6 cluster, portlet configurations are cached but the cache is not “cluster-aware” – as a result, your portlet edit on one server in the cluster fails to invalidate the corresponding cache entry on other servers in the cluster. As a result, your portlet edit does not show up on other servers without a server restart. Resolving this issue requires you to possibly perform the following two steps –

  1. Turn on data replication for the dynamic cache service by following the instructions at Enabling cache replication.
  2. Set cacheglobal.shared = true in the cache manager service if this is not already set.

Note that these settings are critical to to maintain data integrity between multiple WebSphere Portal nodes in the cluster.

PS: To be fair to IBM , the “Managing the cluster” section of the WP infocenter does have a blurb about “1”, but it does not spell out the consequences of not turning on data replication.

Advertisements

6 Responses to “How to enable “synchronous portlet edits” in a WebSphere Portal 6.0 cluster?”

  1. Abby said

    i am running into this same problem but its porta 6.1.0.2 i did have data replication enabled, but where should i set cacheglobal.share=true…

    I followed this infocenter:

    http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/topic/com.ibm.wp.ent.doc/admin/adsetcfg.html

    http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/topic/com.ibm.wp.ent.doc/admin/srvcfgref.html

    But i dont see cacheglobal setting in my DM admin console, please if you can help, please let me know.

    Reply will be appreciated,
    Abby

    (is their any way i can change it manually in config files)

  2. Abby said

    waiting for reply

  3. Vivek Agarwal said

    Abby,

    Refer to http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/topic/com.ibm.wp.ent.doc/admin/srvcfgref.html#srvcfgref__cache_manager to set “cacheglobal.enabled” to true. Note that it is possible that this property does NOT exist by default, in which case you can add it using the instructions in the infocenter. Note that this property must be set under the “Cache Manager Service”.

    Hope this helps!

    -Vivek.

  4. Abby said

    Hi vivek,

    First of all thanks for replying.. yes I did that document, but its not clearly says where cache manager service properties are…lots of things changed in 6.1 and the infocenter is not very clear with this info.

    But finally i found cache propertise here:

    …/wp_profiles/PortalServer/config/CacheManagerService.properties

    previously it used to be somewhere else life /WebSphere/PortalServer/shared/service/app/…

    hope your blog solves my issueHi Vivek,

    Thank for the reply. lots of things changed in 6.1 and the infocenter is not very clear with this info.

    But finally i found cache propertise here:

    …/wp_profiles/PortalServer/config/CacheManagerService.properties

    previously it used to be somewhere else life /WebSphere/PortalServer/shared/service/app/…

    I dont see this property in DM admin console, as the other documents says…

    http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/index.jsp?topic=/com.ibm.wp.ent.doc/admin/adsetcfg.html

    I changed this property here …/wp_profiles/PortalServer/config/CacheManagerService.properties but the problem still exists.. I might open PMR on Monday but wanted to see if the info you gave works.. if any other suggests please let me know…

    Thanks, I appreciate your help,
    Abby

  5. Abby said

    (sorry plz discard my last message)

    Hi vivek,

    First of all thanks for replying.. yes I did check that document, but its dosen’t clearly says where cache manager service properties are… lots of things changed in 6.1 and the infocenter is not very clear with this info.

    But finally i found cache propertise here:

    …/wp_profiles/PortalServer/config/CacheManagerService.properties

    previously it used to be somewhere else like here /WebSphere/PortalServer/shared/service/app/…

    I dont see this property in DM admin console, as the other documents says…

    http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/index.jsp?topic=/com.ibm.wp.ent.doc/admin/adsetcfg.html

    I changed this property here …/wp_profiles/PortalServer/config/CacheManagerService.properties but the problem still exists.. I might open PMR on Monday but wanted to see if the info you gave works.. if any other suggestions please let me know…

    Thanks, appreciate your help,
    Abby

    • laiyhman said

      Hi, Abby, we are having the same problem, would like to know if you have get it resolved and how can it be done? thanks.

Sorry, the comment form is closed at this time.

 
%d bloggers like this: