Wednesday, 31 March 2010

WCM syndication SERV_FAILED_REFERENCE_UPDATE_4 Error

I tried to no avail to get more information on this error so I thought I would post my findings here instead.

This error is generated when an item of content in a library referred to in the syndicator makes reference to a WCM item in another library that exists on the syndicator.

This in itself will not generate an error unless the library in which the reference is made does not exist on the the subscriber.

To illustrate.
On the syndicator, you have an HTML component (comp1) in Library1 which makes reference to an HTML component (comp2) in Library2.
The syndicator is set up only to syndicate Library1
The error message SERV_FAILED_REFERENCE_UPDATE_4 will now occur when the syndicator attempts to syndicate comp1. The failure occurs because the subscriber can not create the necessary internal reference to comp2.

To fix this, you must either:
Add the library to the syndicator (to allow that library to syndicate to the subscriber)
or
Remove the reference from the offending item(s)

Hope this helps someone

Monday, 22 March 2010

Lotus notes 8.5.1 on ubuntu 9.10 karmic x64

I revisited the installation of Lotus Notes 8.5.1 onto a brand new installation of ubuntu 9.10 karmic x64 and thought that some of you may like to know how I did it.

First of all it can definitely be done! Here's how:

In order to do a successful installation, you will need both the 64 bit AND the 32 bit versions of libstdc++5 from ubuntu jaunty repositories;
Get them from

http://packages.ubuntu.com/jaunty/libs/libstdc++5

For the 64bit version just click on the deb to install
For the 32bit version, open the deb with Archive Manager, navigate to data.tar.gz
keep drilling down to /./usr/lib and copy out the file libstdc++5.so.5.0.7 to /usr/lib
next create a symbolic link:

cd /usr/lib
sudo ln -s libstdc++5.so.5.0.7 libstdc++.so.5

Next open a terminal and run

sudo apt-get update

Install some fonts using

sudo apt-get install ttf-xfree86-nonfree

Install the 32 bit helper with

sudo apt-get install ia32-libs

Install libgnomeprint2.2-0 and libgnomeprintui2.2-0 with:

sudo apt-get install libgnomeprint2.2-0 and libgnomeprintui2.2-0

Download notes client for linux (it is a 32 bit client)
Download and install getlibs-all.deb from http://frozenfox.freehostia.com/cappy/

Now you will also need libeel2.2 from jaunty
For libeel2.2 to be picked up correctly with getlibs, do the following:
Use System > Administration > Softw
Add the following:

deb http://archive.ubuntu.com/ubunty jaunty main
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main

Now do this from a terminal
sudo getlibs -p libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2 libeel2-2 libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libgnomeprint2.2-0 libgnomeprintui2.2-0 libgnomeui-0 libgnomevfs2-0 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libselinux1 libsepol1 libstartup-notification0 libxkbfile1 gtk2-engines-ubuntulooks gtk2-engines-murrine

You also need libeel2-2. Go here first:
http://packages.ubuntu.com/jaunty/libeel2-data
click the "all" link and download the deb file
Run the deb file by double clicking on it. This is a dependency of the libeel2-2 that is to be loaded next

Now go to
http://packages.ubuntu.com/jaunty/libeel2-2
Download the 64 bit version and the 32 bit version
Install the 64 bit version by double clicking on the deb file

To install the 32 bit version manually you have to do the following:
Open the deb file in Archive Manager
Double click on data.tar.gz
Double click on .
Double click on usr
Double click on lib
Drag the libeel-2.so.2.26.0 file to a temp folder
Copy the file to /usr/lib32
Create a symbolic link named libeel-2.so.2

Next install the notes deb files and force the architecture:

sudo dpkg -i --force-architecture ibm-lotus-notes-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-activities-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-cae-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-sametime-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-symphony-8.5.1.i586.deb

After installation, you must now copy some files into /opt/ibm/lotus/notes as follows:

Next some other hacks
cd /opt/ibm/lotus/notes/jvm/lib/i386
sudo mkdir usr
sudo ln -s /usr/lib32 ./usr/lib

Lastly go to
http://www.benkevan.com/upload/lotus_notes
or
http://www.freetechie.com/upload/lotus_notes

You need to get the gnome 2.17 libraries. They are the following four files (note the size)

116732 libgdk_pixbuf-2.0.so.0
67240 libgdk_pixbuf_xlib-2.0.so.0
679940 libgdk-x11-2.0.so.0
4579940 libgtk-x11-2.0.so.0

Copy each to
/opt/ibm/lotus/notes
Thats it!
Now you can start Lotus Notes 8.5.1 from the Applications > Office menu item

If you wish to install the fix pack then download from IBM and then use:

sudo dpkg -i --force-architecture ibm_lotus_notes_fixpack-8.5.1.i586.deb

Performance of DB2 and Portal 6.1.5 with ubuntu karmic x64

Installation of portal was done using instructions on my previous post.

Installation of DB2 9.7 was also done using instructions on my previous post.

Performance of my laptop is astounding:

DB2 9.7 (x64) and Portal 6.1.5 when started together on my SSD drive takes only 1 minute 47 seconds.
Shutdown of Portal and DB2 takes 41 seconds.

Saturday, 13 March 2010

Installing skype of ubuntu 9.10 karmic x64

Installation of Skype onto my new ubuntu 9.10 karmic x64 laptop was unbelievably easy:
Download the program

http://www.skype.com/go/getskype-linux-beta-ubuntu-64

Save the file:
skype-ubuntu-intrepid_2.1.0.81-1_amd64.deb

Then run by double clicking on the file.

After the installation you can find skype on
Applications > Internet > Skype

Voila!

Installing ubuntu 9.10 karmic x64 onto a SSD

Now I know ubuntu karmic boots very fast (with promises of even faster boot times with 10.04), but on a laptop the major bottleneck is always the hard disk. If I could remove that then we will have a little flying machine that takes less battery and is more resistant to the occasionional knock.
The new crcuial solid state disks (SSD) now support SATA transfer rate of 6Bb/s in a 2.5 inch hard disk format. My laptop has a SATA 3Gb/s hardware interface and the new crcuial claims a read speed faster than that. It basically should mean that the bottleneck for my laptop is no longer the hard drive, but the hardware interfaces, processor and memory. The processor on my Lenovo T400 is an Intel Centrino 2 dual core 2.4GHz and I currently have 4GB of memory - although it can take 8GB (hmmm maybe a later upgrade that)
Installing ubuntu onto the SSD was unimaginably easy.
Pop in the drive,
Pop in the 9.10 desktop CD
Boot the laptop
Go through the wizard

The entire process to a working system took less than 15 minutes

Now the boot time.

After the bios stuff, ubuntu now starts up in 15 seconds. Am I happy or what?

Everything on my laptop works except the fingerprint reader - which I didn't like anyway.

Next was the update.
So I did the following
Adminstration > update manager
Click on "Check" and then enter your password to authorise the update manager to proceed.
There were 244 updates that needed download.

Download on my broardband took about 5 minutes

Installation took another 3 minutes

So in less than 30 minutes I had a brand new installed and updated laptop that will now boot in 15 seconds.

Sweet!

Wednesday, 10 March 2010

Uninstalling vmware from ubuntu karmic x64

A little tip on how to uninstall VMWare player from ubuntu karmic 9.10 x64.

Follow these steps
Open a terminal and type:

$ sudo /usr/lib/vmware/installre/vmware-installer -u vmware-player

A pop up window will be displayed indicating the uninstallation process
Thats all there is to it.

Thursday, 4 March 2010

Setting up WCM syndication in a cluster

If you need to set up WCM syndication in a cluster, bear in mind the following:
  • For all cluster members ensure that WCMConfigServices.properties is changed so that the syndicator URL , the subscriber URL and the itemgatherer URL all point to the load balancer for the cluster.
  • From the WAS deployment manager, create a replication domain (Environment > Replication Domains) and ensure that Data Replication Services is set on for the cluster and set for push replication.
  • Ensure that cachespec.xml has the following embedded section to disable servlet cache for ?MOD operations:

<component id="MOD" type="parameter">
<required>false</required>
<not-value>Subs</not-value>
<not-value>Synd</not-value>
<not-value>ItemDispatcher</not-value>
<not-value>Syndication</not-value>
<not-value>M emberFixer</not-value>
<not-value>VersioningEnablement</not-value>
<not-value>WorkflowEnablement</not-value>
<not-value>PlutoUploadFile</not-value>
<not-value>PlutoDownloadFile</not-value>
<not-value>AJPECatSelect</not-value>
<not-value>RefreshAllItems</not-value>
<not-value>Template</not-value>
</component>

  • Ensure that for the following WCM cache objects (Resources > Cache Instances > Object Cache instances) are DISABLED : abspath, absreverse, draft sumary, global, libparent, missed, module, processing, session, site, strategy, summary
  • Ensure that for the following WCM cache objects, are ENABLED (as Push): menu, navigator

Wednesday, 3 March 2010

Where are the standard IBM Portal File Base User definitions?

On a standard IBM WebSphere Portal installation (directly from CD), the resulting portal is not connected to an LDAP server. Instead, it uses an XML file to hold user information.
Just for reference, this file is located at the following location:

/config/cells/{your_cell_name}/fileRegistry.xml

So now you know!