Thursday 29 December 2011

Mounting an Apple OSX HFS+ drive under CentOS Linux

Back in the day, I chose to format my USB external drives using the Apple Mac OSX Hierarchical File System (HFS) format, aka HFS+ or HFSPlus.

This is sometimes a pain when I need to share files with colleagues using Microsoft Windows, but c'est la vie - it's their choice for using such an obscure OS :-)

More importantly, I was somewhat dismayed to find that the CentOS distribution that I've just started to play with does NOT include HFS+ support out-of-the-box.

This compares to Ubuntu, which ( afaik ) has had HFS+ support for some time now.

However, it was an easy problem to solve - after a quick(ish) Google search, I found this thread on the www.centos.org site, which recommends adding the elrepo.org repository to CentOS: -

$ rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org

before downloading the required RPM file: -

$ rpm -Uvh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm

and installing the HFS+ drivers: -


$ yum install kmod-hfsplus

As ever, job done - thanks, Internet, we love you :-)

Creating a bootable USB key under Apple Mac OSX

I wanted to install a new (to me) Linux distribution - CentOS - onto my Thinkpad W500, and was looking to avoid finding and using a CD-ROM or DVD.

Having a spare USB thumb-drive kicking about, I was hoping that I could use that instead, and also "burn" the image from my Mac.

I'd already downloaded the CentOS ISO to my Mac Downloads folder, and had previously mounted it.

A quick Google search found me this MacRumours forum thread - how to "burn" an ISO to USB flash drive? - which provided a variety of answers, some positive, some not-so-positive.

Having said that, I scrolled to the very end of the thread, and found this post - Final Solution - from someone called Candlejack, which had the answer.

Basically, it's a bunch of Terminal commands :-) 

$ diskutil list

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *320.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Hard Disk               319.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.3 GB     disk1
   1:                 DOS_FAT_32 DISK_IMG                8.3 GB     disk1s1
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            CentOS-6.2-x86_6       *731.9 MB   disk2

$  diskutil unmountDisk /dev/disk1

Unmount of all volumes on disk1 was successful

$  dd if=/dev/disk2 of=/dev/disk1 bs=1m

dd: /dev/disk2: Resource busy

$  diskutil unmountDisk /dev/disk2

Unmount of all volumes on disk2 was successful

$ dd if=/dev/disk2 of=/dev/disk1 bs=1m

698+0 records in
698+0 records out
731906048 bytes transferred in 206.409147 secs (3545899 bytes/sec)

Job done.

I was then able to boot the Thinkpad from the USB drive ( via the [F12] function key ) and install CentOS, far far quicker than I could've installed from a CD or DVD.

PS For the record, I've previously blogged about CentOS, with regard to installing IBM HTTP Server on it here.

Lightweight Third Party Authentication (LTPA) FAQs

I've blogged about LTPA in the past, as it's an important part of any Single Sign-On (SSO) configuration, especially where WebSphere and/or Domino are working together.

This FAQ document contains a useful set of answers to common questions, including: -

What happens when the Security Cache, LTPA Token timeout, and session time out?
I want to force my users to re-login after a set "inactivity timeout" period. How is WebSphere Application Server supposed to work with regard to session timeouts and LTPA timeout.

etc.

Wednesday 28 December 2011

IBM Tivoli Directory Integrator - Which Version is Which ?

I've got a folder on my USB hard disk called TDI70 within which I have three files: -

-rw-r--r-- 1 hayd hayd  68001502 2010-09-22 08:32 7.0.0-TIV-TDI-FP0005.zip
-rw-r--r-- 1 hayd hayd 403947520 2010-10-04 13:50 C1IU1ML.tar
-rw-r--r-- 1 hayd hayd 405719040 2010-09-22 08:12 C1IU2ML.tar


Now I'm trying to install TDI on a 32-bit Linux distribution ( Ubuntu 11.10 ), so which of the two TAR files do I use ?

I'm sure it's obvious .....

The trick was to expand one of the two files: -

tar xvf /tmp/C1IU1ML.tar

which included: -

linux_x86/
linux_x86/install_tdiv70_linux_x86.bin
linux_x86/install_tdiv70_setup.jar



This gives me a clue :-)

Therefore, I'm going to take a bet that: -

C1IU1ML / C1IU1ML.tar == 32-bit
C1IU2ML / C1IU2ML.tar == 64-bit

Make sense ?

Printing from the iPad 2

Having been a happy iPad owner for some months now, it's always niggled that we cannot print from it to the Kodak ESP 3250 printer that's hard-wired ( via USB ) to my wife's Ubuntu laptop.

Finally, I invested some small amount of time in a Google search, and found the secret sauce.

Thanks to this blog -> Hartless By Design <- I found out how to enable the required AirPlay service, using a protocol called avahi which is installed as part of the Common Unix Printing System (CUPS) subsystem.

I've already blogged about Apple and CUPS earlier today as well as a purely Linux-related problem a few years back.

However, this particular article - AirPrint with Ubuntu 10.10 - did the job.

In essence, I needed to create a file - /etc/avahi/services/printer.service  - and add the following content: -

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
  <name>My Printer</name>
  <service>
    <type>_ipp._tcp</type>
    <subtype>_universal._sub._ipp._tcp</subtype>
    <port>631</port>
    <txt-record>txtver=1</txt-record>
    <txt-record>qtotal=1</txt-record>
    <txt-record>rp=printers/My-Printer-CUPS-Name</txt-record>
    <txt-record>ty=My Printer</txt-record>
    <txt-record>adminurl=http://198.168.1.4:631/printers/My-Printer-CUPS-Name</txt-record>
    <txt-record>note=My Printer</txt-record>
    <txt-record>priority=0</txt-record>
    <txt-record>product=virtual Printer</txt-record>
    <txt-record>printer-state=3</txt-record>
    <txt-record>printer-type=0x801046</txt-record>
    <txt-record>Transparent=T</txt-record>
    <txt-record>Binary=T</txt-record>
    <txt-record>Fax=F</txt-record>
    <txt-record>Color=T</txt-record>
    <txt-record>Duplex=T</txt-record>
    <txt-record>Staple=F</txt-record>
    <txt-record>Copies=T</txt-record>
    <txt-record>Collate=F</txt-record>
    <txt-record>Punch=F</txt-record>
    <txt-record>Bind=F</txt-record>
    <txt-record>Sort=F</txt-record>
    <txt-record>Scan=F</txt-record>
    <txt-record>pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/urf</txt-record>
    <txt-record>URF=W8,SRGB24,CP1,RS600</txt-record>
  </service>
</service-group>

replacing My Printer with the alias of the printer ( Kodak ), My-Printer-CUPS-Name with the "network" name of the printer as it appears in CUPS ( https://localhost:631/admin ) KODAK-ESP-3200-Series-AiO and the IP address - 198.168.1.4 - with the loopback IP address - 127.0.0.1.

Having done this, I needed to add a single line: -

ServerAlias *

to /etc/cups/cupsd.conf and then restart CUPS: -

sudo /etc/init.d/cups restart

From that point on, any print dialogue on the iPad ( I was actually trying to print an invoice from within Safari ), will show up Kodak as an AirPrint printer: -



Back in the game … if at first you don't succeed, read your own blog :-)

Every so often, I hit a problem that I know I've hit and, perhaps more importantly, overcome before.

Today was no exception, it's been bothering me for a number of months that I seem unable to print from my Macbook Pro to a Kodak printer, connected via USB to my wife's laptop ( running Ubuntu ).

I won't bore you with the gory details, but I seemed unable to automagically find the printer via the Print & Scan preferences page, and kept seeing errors such as this: -

Idle - "An unexpected error occurred. Check for problems at the printer and resubmit the job (100003)"

when printing, having manually added the printer.

To cut a long story short, I visited this very blog -> A Portal to a Portal <- and searched for CUPS and found this post -> SOLVED - Accessing CUPS printer from Mac OSX Snow Leopard

 The solution is to run the following command from a terminal session: -

cupsctl BrowseRemoteProtocols=CUPS

Prior to doing this, the cupctl command returned this: -

_debug_logging=1
_remote_admin=0
_remote_any=0
_remote_printers=1
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=
BrowseRemoteProtocols=DefaultAuthType=Basic
JobPrivateAccess=default
JobPrivateValues=default
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
SystemGroup=admin
SystemGroupAuthKey=system.print.admin
WebInterface=Yes

Now it returns this: -

_debug_logging=1
_remote_admin=0
_remote_any=0
_remote_printers=1
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=
BrowseRemoteProtocols=CUPS
DefaultAuthType=Basic
JobPrivateAccess=default
JobPrivateValues=default
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
SystemGroup=admin
SystemGroupAuthKey=system.print.admin
WebInterface=Yes
Having done this, I can now see and, perhaps more importantly, print to the Kodak.

One addition to the blog post - I'm now running OSX 10.7.2 aka Lion, whereas I was previously running Snow Leopard, and the Linux box is now running Ubuntu 11.04 Natty Narwhal.

Nice :-)

Tuesday 27 December 2011

Installing IBM HTTP Server 7 on CentOS Linux 6.2

Working with a friend to get IHS v7 working on CentOS 6.2, he ( and eventually I ) were hitting the following exception: -

(Dec 27, 2011 8:09:47 PM), Process, com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory, err, java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
STACK_TRACE: 15
java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
        at java.lang.Runtime.exec(Runtime.java:604)
        at com.ibm.ws.install.ihs.ismp.actions.ExecWizardActionFromDirectory.executeProcess(ExecWizardActionFromDirectory.java:202)

        at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:106)
        at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1569)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
        at java.lang.Throwable.<init>(Throwable.java:67)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:197)
        at java.lang.ProcessImpl.start(ProcessImpl.java:101)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:463)
        ... 6 more

In order to prove and, hopefully, resolve the issue, I downloaded CentOS ( CentOS-6.2-x86_64-LiveCD ) as a 700 MB ISO image. From this, I was able to quickly create a new virtual machine using VMware Fusion, and go through the IHS installation.

Given that I'm using a 64-bit version of CentOS, I also needed to install the corresponding package of IHS - for the record, IHS v7 is a 32-bit binary BUT is delivered in two packages; one 32-bit and one 64-bit.

( If you're looking for more detail, check out my other blog posts here and here )

I downloaded the x86-64 version of the product via this image: -

IBM WebSphere Application Server V7.0 Supplements (1 of 2) for Linux on x86-64 bit (IBM HTTP Server, Web Server Plug-ins and Update Installer) Multilingual (C1G00ML) - 246 MB

as detailed here: -


and unpacked the corresponding TAR file - C1G00ML.tar.gz.

$ cd /tmp
$ mkdir IHS
$ cd IHS
$ tar xvzf C1G00ML.tar.gz  

and ran the installation routine: -

$ ./IHS/install

This ran through, with me taking all the defaults, and completed BUT displayed the following message: -


When I looked at the log.txt file, I saw the exception referred to previously: -

<snip>
java.io.IOException: Cannot run program "/opt/IBM/HTTPServer/bin/htpasswd" (in directory "/opt/IBM/HTTPServer"): java.io.IOException: error=2, No such file or directory
</snip>

When I attempted to manually run the htpasswd program: -

$ /opt/IBM/HTTPServer/htpasswd

it failed with: -

bash: /opt/IBM/HTTPServer/bin/htpasswd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

A quick Google search threw up this hit which suggested that I was missing the ld-linux.so.2 library ( which actually ties up with the above error !! ) and, more importantly, showed me the way to go home …..

Simply put, I needed to install the library as follows: -

$ yum install ld-linux.so.2

which downloaded 4.4 MB of code: -

================================================================================
 Package                   Arch        Version                Repository   Size
================================================================================
Installing:
 glibc                     i686        2.12-1.47.el6          base        4.3 M
Installing for dependencies:
 nss-softokn-freebl        i686        3.12.9-11.el6          base        116 k

Transaction Summary
================================================================================
Install       2 Package(s)


Having done that, htpasswd now runs perfectly: -

$ /opt/IBM/HTTPServer/bin/htpasswd

Usage:
htpasswd [-cmdpsD] passwordfile username
htpasswd -b[cmdpsD] passwordfile username password

htpasswd -n[mdps] username
htpasswd -nb[mdps] username password
 -c  Create a new file.
 -n  Don't update file; display results on stdout.
 -m  Force MD5 encryption of the password.
 -d  Force CRYPT encryption of the password (default).
 -p  Do not encrypt the password (plaintext).
 -s  Force SHA encryption of the password.
 -b  Use the password from the command line rather than prompting for it.
 -D  Delete the specified user.
On Windows, NetWare and TPF systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.


I removed and reinstalled IHS; I still see the "Partial Success" message, but no longer see any nasty exceptions relating to htpasswd and I'm able to start/stop/use IHS without problems.

:-)

Chrome

Test post from Chrome 16.0.912.63 on the Macbook Pro ....

*UPDATE* Testing an edit, again from Chrome ...

Monday 26 December 2011

IBM i 7.1 Technical Overview

This is one for @SocialShazza and @StevenCPitcher and @DominoYesMaybe and other OS/400-flavoured chums


This IBM Redbooks publication introduces a technical overview of the main new features, functions and enhancements available in IBM i 7.1. It gives a summary and brief explanation of new capabilities and what has changed in the operating system, and also discusses many of the licensed programs and application development tools associated with IBM i.
Many of the new and enhanced functions are described such as: -

• DB2 for i support for XML and column level encryption
• PowerHA for i asynchronous Geographic Mirroring & LUN-level switching
• Virtualization enhancements for IBM i hosted partitions and PowerVM
• Storage management enhancements for solid state drives
• Systems management enhancements for Systems Director Navigator for i
• Rational software development product enhancements
• Zend PHP Enhancements
• Web Application Serving enhancements

Buy it here or read it in PDF form here.

Thursday 22 December 2011

Build Large-scale Performing Enterprise Solutions for IBM Lotus Connections 3.0.x

Whilst looking for some information for a colleague, this came into my search results.

It's a great slide deck, presented at Lotusphere 2011 by David Brooks and Morten Kristiansen, and is definitely worth a look.

Specifically, I was looking for a recommendation on the small vs. medium vs. large deployments of IBM Connections. The presentation references all three types, and says "Use Medium or Large Deployment for any non proof of concept.  Small deployment cluster puts all components on one JVM.  Unless 64 bit, will not handle user load. "

Bottom line, if you're looking to deploy IBM Connections, this is a recommended read …..




Wednesday 21 December 2011

IBM Connections - What version do I have ?

This from @SocialShazza via Twitter, following inspiration from the genius @StuartMcIntyre via Skype ( did you know that Stuart runs a great set of Skype chats about Connections, Quickr, Portal etc. ???? )

Question: What version of IBM Connections am I running ?
Answer: Query /homepage/web/jsp/about.jsp on your IBM Connections server, e.g. http://greenhouse.lotus.com/homepage/web/jsp/about.jsp

Looking at three versions of Connections to which I have access, it's a great tip: -

IBM W3 Release v3.0.1.0 build LC3.0.1_FP_20110617.1631

IBM Greenhouse Release v3.0.1.0 build LC3.0.1_FP_20110817.0216

IBM developerWorks Release 2.5 LC2.5.0.2_20100430.1448

Nice :-)


Writing it down in case I forget it … #2

There's been many many times this past year or so where I've needed to position text below a picture whilst creating a blog post in IBM Connections.

Now there's probably fifty-eleven ways of doing it better and/or in a supported way ( for the HTML and CSS purists ) but this works for me.

Simply switch into the HTML editor view, and enter the following tag: -

<div style="clear:both">

This will then push anything below ( or, I guess, within ) the DIV tag below.

I've used this to position text below images, and images below text.

Every so often I forget this, and need to ask the guru @farbrother for help ….. Perhaps now I'll remember it or, to be more honest, remember to search this blog …..

*UPDATE* Doh ! Doh ! Doh ! - last time I blogged this here  and I still forgot it :-)

Writing it down in case I forget it …. #1

Want to take a screenshot on the iPhone and, I assume, the iPad ?

Press the [Lock] and [Home] buttons at the same time … you'll hear a camera shutter click, and see a new picture added to the Camera Roll in the Photo app

For those who may not know, the [Lock] button is the one on the top right-hand edge of the iPhone, to the right of the headphone jack. Similarly, the [Home] button is the one on the bottom of the device, used to switch applications, start Siri etc.

As pictured here on the Apple iPhone S spec page

IBM Lotus Notes and Citrix XenApp Together

I've blogged on this subject many times before, including: -




Notice a trend ? The version of Notes increments each time, as does the version of Citrix XenApp.

Well, to continue the trend, Ed has just Tweeted a link to the most recent white paper: -


The timing is perfect as I'm working with a client here in the UK to look at the deployment of Notes and XenApp together.


Tuesday 20 December 2011

Download Lotus Notes and Domino 8.5.3 Upgrade Pack 1 - XPages goes mobile ….

Saw this via the Featured documents for IBM Lotus Notes, Domino, iNotes & Notes Traveler newsletter which plops into my inbox thanks to @LotusSupport 

Mobilize your social applications with Upgrade Pack 1. IBM delivers and fully supports over 100 new XPages controls and objects that help accelerate the development of mobile and web applications. Easily extend your Lotus Notes Teamroom and Discussion applications to mobile users with new XPages templates. And socialize Lotus Domino assets via common, lightweight REST interfaces.

Lots of excellent stuff in the newsletter, including the Lotusphere and IBM Connect conferences, and a Wiki Usage Survey

Do you use the IBM Lotus or IBM WebSphere Portal product wikis? If so, we want your feedback. IBM is continuing to develop improvements and release updates to the wikis. We want to hear what is important to you so that we can prioritize improvements that help you most. The data we collect from all wiki usability and feedback activities is used to influence our priorities for future design enhancements and development.

Using wsadmin and Jython to monitor WebSphere Application Server performance

This is definitely something that's relevant to my project right here, right now

This article describes how you can use wsadmin introspection with Jython to easily retrieve Performance Monitoring Infrastructure (PMI) metrics for IBM® WebSphere® Application Server. IBM Tivoli® Performance Viewer is used as a model for performance reporting. A high level review of PMI architecture is included. This content is part of the IBM WebSphere Developer Technical Journal.

Thanks to developerWorks for the tip ….

Slow performance or hang in HostName lookup due to high DNS traffic

Hmmm, this needs to go towards the top of the Very Useful pile - thanks to @IBM_AppServer for sharing via Twitter

Symptom

There are 2 symptoms you might see:


Cause

There are 2 possible causes:

Monday 19 December 2011

It’s so easy to access IBM Connections from XPages

This from Niklas Heidloff

I've implemented another feature for XSnippets to share snippets on the IBM Connections instance deployed on Greenhouse

I've used the XPages Social Enabler which comes with great functionality to handle the authentication including SSO and functionality to invoke REST services easily and parse XML. I also used the documentation of the Connections REST services. If I have time I document later more how I've done it. For now you can read the source code on OpenNTF. I want to thank my colleague Yun Zhi Lin whose code I used as starting point.

On the XSnippet page there is a new icon now to share on Connections.

Want to know more ? Then read the article ….

Friday 16 December 2011

WebSphere and Open Authorization

Saw this on Twitter today, thanks to IBM developerWorks

Using Trust Association Interceptors with WebSphere Application Server to support OAuth tokens

Summary:  Are you looking to share access of your protected resources by becoming an OAuth service provider? This article describes how you can use IBM® WebSphere® Application Server (V7.0 and later) with Trust Association Interceptors (TAI) to accept OAuth tokens for authorizing calls from applications or web sites (consumer) to protected resources. TAIs make it possible to support OAuth alongside other token services, such as LTPA, while meeting WS-Security restrictions. This content is part of the IBM WebSphere Developer Technical Journal.

Having presented on WebSphere Portal and Security at the WebSphere User Group back last year, and having delivered a project integrating WebSphere and Active Directory ( via Kerberos and SPNEGO ), this is a subject close to my heart.

My next challenge is to integrate IBM Connections with IBM Tivoli Access Manager ( aka WebSEAL ). That's a job for 2012 ….

There's a bunch of other related material on this topic, including this and this.

Web Content Authoring within a Virtual Portal

Having had a number of conversations about Virtual Portals this week, I though this post from Cody Burleson was definitely worth a read.

Though it is not necessary to have a unique WCM Authoring UI per virtual portal, there are some reasons why you might find it useful. Here are three that I can think of:

• Configuring a unique WCM Authoring UI in a virtual portal can allow you to configure specific Authoring Portlet preferences. For example: which libraries are visible to the portlet and relevant to the virtual portal.
• Previewing items from within WCM in a virtual portal context can automatically render the previews inside of the virtual portal's theme.
• Content authors may get confused by switching between the virtual portal and base portal. Directing all access beyond the virtual portal context path can simplify things.

IBM Connections and Desktop Single Sign-On using Microsoft Active Directory, Kerberos and SPNEGO

I was fortunate to be asked to present at the Social Connections  II event at the most excellent Cardiff University last week.

My chosen topic was the integration between the worlds of IBM and Microsoft, specifically my recent experiences with Active Directory, Kerberos and SPNEGO: -
  • Understand how to integrate IBM Connections with Active Directory
  • Understand how to implement desktop single sign-on with IBM Connections
  • Describe the integration possibilities with Microsoft SharePoint
I've blogged about this subject before, including this and this.

Hope this helps.

Please feel free to ping me if you need further information.

Wednesday 14 December 2011

Social Scheduling Now in IBM Connections

This from the guru, Mr Luis Benitez Esq

IBM Business Partner Intravision has created a great integration point between OnTime Group Calendar and IBM Connections. If you haven't heard or used OnTime before I suggest you check them out. They provide an awesome add on with a powerful and very slick group calendar interface.

OnTime also allows you to work with group calendars even when you are on the go by providing mobile access from your favorite mobile device.

Saturday 10 December 2011

Social Connections II - My observations

I was lucky enough to be invited to attend AND speak at Social Connections, the IBM Connections user group meeting, in Cardiff yesterday - 9 December.

This is the second time that I've attended this event, the inaugural meeting being kindly hosted by The Salvation Army back in July. This time around, Cardiff University were kind enough to host us, including the rather lovely Simon Vaughan, who is definitely a man to watch :-)

The event was well-attended, by customers, Business Partners, and IBMers, with a good 50:50 mix of business and technical.

The presentations were very social, as one might expect, and predominantly focused on the business and social benefits of IBM's collaboration solution, IBM Connections, with a few more technical sessions ( including one by Yours Truly ). The speaker list is here and the sessions listing is here.

Stuart McIntyre was the MC of the event, ably assisted by Sharon "Social Shazza" Bellamy and Lisa "Where's Darren?" Duke.

The event was live-streamed, thanks to the sterling efforts of Mark Calleran , Gaz Rose and the Salvation Army team.

Stuart has promised to upload the presentations to http://socialconnections.info/

The event was rounded off by an absolutely wonderful reception and dinner at Cardiff Castle, including a tour of three of the most gorgeous rooms in the place.

The entire day went smoothly, thanks to the hosts, the organisers and the genuine good nature of all of those attending. It was truly the perfect place to establish "Social Connections" :-)

So, with two excellent events delivered during 2011, in London and Cardiff respectively, I'm looking forward to 2012 - who knows which other UK capital cities are on the agenda, but I know that there's a bloomin' good castle in Edinburgh :-)


Ooops, nearly forgot to mention - if you want to know more about what went on during the day, check out the hashtag #soccnx on Twitter; you don't have to join the site to follow the Tweets from the audience, speakers, sponsors and web-watchers.

Help make Microsoft a Social Business … or, at least, help make Microsoft software more social ...

These from Chris Crummey





More from Chris here

Troubleshooting: Node agent monitoring WebSphere Application Servers

I saw this today on Twitter, thanks to @IBM_AppServer

Troubleshooting for problems with the node agent monitoring an IBM® WebSphere® Application Server. This should help address common issues with this component before calling IBM Support and save you time.

Worth a look next time ….

Friday 9 December 2011

A pearl of wisdom from George Bernard Shaw here at Social Connections Ii


"If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas."

Thanks to Louis Richardson for sharing

Thursday 8 December 2011

Searching Profiles programmatically

Mikkel Heisterberg Tweeted about this earlier, and it's a subject close to my heart, having done a lot of work with IBM Connections Profiles in the past few months, mainly via IBM Tivoli Directory Integrator and the ProfilesService.UpdateUser() command.


As part of IBM Connections you will find a big REST API that allows you to work with almost every part of Connections such as searching for profiles, managing files and working with communities. As part of our new product (see my previous post) I'm doing a lot with this API. Right now one of my favorite wiki documents is "Searching Profiles programmatically".

Demo of the IBM Content Templates Catalog

Cody Burleson posted this on Twitter earlier today, and I thought it was definitely worth a look - especially as I'd been talking about the Content Templates Catalog ( aka CTC ) to a colleague earlier this week.

Demo of the IBM Content Templates Catalog: youtube.com/IBMXWebX

Using Trust Association Interceptors with WebSphere Application Server to support OAuth tokens

I saw this on Twitter this morning, thanks to the @LotusEducation account which is ably run by Sonia Malik and Lorraine Ludwicki.

Summary:  Are you looking to share access of your protected resources by becoming an OAuth service provider? This article describes how you can use IBM® WebSphere® Application Server (V7.0 and later) with Trust Association Interceptors (TAI) to accept OAuth tokens for authorizing calls from applications or web sites (consumer) to protected resources. TAIs make it possible to support OAuth alongside other token services, such as LTPA, while meeting WS-Security restrictions. This content is part of the IBM WebSphere Developer Technical Journal.

Intoduction: OAuth (Open Authorization) is an open protocol that permits secure API authorization from desktop and web applications (consumers) by enabling the consumer to act on behalf of a user without requiring the user to provide sensitive account information, such as username and password.

An example of a consumer might be a company that wants to aggregate all of its customers' photos onto a single web page. Rather than asking every user to enter the username/password for each of their photo sharing accounts, the company can act as a consumer and each of the photo sharing web sites can act as service providers and exchange OAuth tokens. This gives the photo aggregator company access to a user's photos without the user potentially compromising the security of their account by giving out username/password information.

Wednesday 7 December 2011

WebSphere Portal and IBM Web Content Manager - Search

Having blogged about Portal search in the past, and having had recent  discussions IBM Web Content Manager and Google Search Appliance integration with a colleague earlier, I found and shared these two links


Table of Contents
• 1 Search engine optimization
• 1.1 Overview of Search Engine Optimization
• 1.2 Definition of terms
• 1.3 How search engines work
• 1.4 More on Google
• 1.4.1 Google optimization basics
• 1.4.2 Other factors that will affect your ranking
• 1.4.3 Sitemaps
• 1.5 How Internet search engines work
• 1.6 Challenges with portal crawlability
• 1.7 Portal crawler awareness and normalized URLs
• 1.8 Sitemap portlet
• 1.9 External crawlability of Portal with WCM content
• 1.10 Web 2 0 and search
• 1.11 Case study using the sitemap portlet
• 1.11.1 Adding sitemap portlet to a page outside of the default navigation
• 1.11.2 Adding sitemap portlet to the theme
• 1.11.3 Configuring robots directives
• 1.11.4 Reconfiguring nrmalized URLs to include request parameters
• 2 Searching and crawling portal and other sites with portal search
• 2.1 Understanding portal search
• 2.2 Portal search architecture
• 2.3 Search services collections and scopes
• 2.4 Search and administration user interfaces
• 2.4.1 Search center
• 2.4.2 Search and browse
• 2.4.3 Suggested links
• 2.4.4 External links
• 2.4.5 Manage search
• 2.4.6 Portal Search Toolbox
• 2.4.7 WCM search component
• 2.5 Portal search APIs
• 2.6 Seedlist framework
• 2.7 Crawlability of portal with WCM content
• 2.8 Categorization and taxonomy
• 2.9 Case study crawling the portal and displaying search results
• 2.9.1 Suggested links
• 2.9.2 External search results


1 Basics of search engine functionality
2 Search services
3 Best practices
4 Conclusion
5 Resources
6 About the author

This is also worth a look

Monday 5 December 2011

Resolution – 404 errors accessing WCM content through the POC Servlet (/wps/mypoc/…)

Am reposting this from Cody Burleson as it has a strong linkage to a project on which I was engaged earlier this year - in my case, we were using the Google Search Appliance to index WCM, in Cody's case, they were using IBM Omnifind.

Recently, we had a problem where WCM URLs in OmniFind search results (generated by the Portal seedlist mechanism) were giving 404 errors when clicked. These are URLs that contain /wps/mypoc in the URL. This page documents a solution that worked for us.

However, it's definitely worth a read ….

*UPDATE 03/01/2013 - Since I wrote this article in late 2011, Cody has removed the post from his blog. However, I've found what may be a new solution, and have blogged about it here: -

More on 404 errors accessing WCM content through the POC Servlet (/wps/mypoc/…) 

A surfeit of VMware and Linux goodies … including running VMware ESXi from a USB Key :-)

Whilst lurking around the blogroll on this very site, I noticed an interesting post from Graham Bucknell in IBM Australia. The title Unable to install VMware Tools – no such file or directory caught my eye, the content even more so, especially when he goes on to talk about: -

Now I use the very cool repo/unmanaged solution for the majority of our guests, since they run RHEL 6. If you don't know about this check it out here. If you use RHEL kickstart, it is trivial to make new guests come out with tools installed and the tools repo enabled. Anyway, enough gushing, just check it out if you use RHEL on VMware.

and: -

I should note before getting into this, that I am running ESXi from a USB key.

both of which look (a) sweet and (b) interesting.

I shall now go and read a bit more …..

Michael Sampson - Collaboration Roadmap: You've Got the Technology — Now What?

Having thoroughly enjoyed Michael's earlier book: -


User Adoption Strategies: Shifting Second Wave People to New Collaboration Technology when it came out last year ( thanks to ThisWeekInLotus from whom I received it as a prize !! ), I'm going to be putting in an order for Michael's latest book: -



Many firms are struggling with collaboration technology. Either it's been installed and is not being used, or they are not sure what to do. How do you make great decisions about collaboration technology and its use within organizations?

Collaboration Roadmap answers both questions.

- Introduction and Overview
- Foreword - by Ed Brill (IBM Corporation)
- Chapter 1. Setting the Scene
- Chapter 2. Really Understand the Technology
- Chapter 3. Outline the Vision
- Chapter 4. Accept Technology is a Small Factor in Success
- Chapter 5. Determine Your Governance Approach
- Chapter 6. Make Every Effort to Engage the Business
- Chapter 7. Apply Intentional Energy to Adoption
- Chapter 8. Pursue Increasing Value
- Chapter 9. Your Collaboration Journey
- Appendix 1. Collaboration Theory

Collaboration Roadmap packs 15 years of experience into 320 pages.

If you or your organisation are looking at collaboration technology, or considering its implementation, it's definitely worth a look.

PS Just to remind you, "...The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. My blog is PERSONAL…."

Using packet trace tools iptrace, snoop, tcpdump, wireshark, and nettl

Saw this Technote float by my Twitter river of news this morning, kindly tweeted by the IBM_AppServer account

It was ostensibly writing for WebSphere Edge Server, but is going to be relevant to many other use cases as well.

In essence, it provides a very brief description of the monitoring tools available on various flavours of Unix … oh, and Windows as well.

Well worth bookmarking, it may just save your life project.

It also allows you to feel like a character from the Matrix film, although don't start using nmap at work, kids, unless you know precisely what you're doing :-)


Friday 25 November 2011

I  Lotus on my iPhone :-)

Just downloaded three new apps for my shiny new iPhone




I also noticed that the Connections app now supports WordPerfect documents via their app - which is nice - I'm sure that someone on Twitter mentioned a need for WP on the iPad or iPhone recently ?

Thursday 24 November 2011

Understanding IBM Tivoli Directory Integrator for IBM Lotus Connections 3.0: A getting started guide

One of my IBM colleagues drew my attention to this: -

The purpose of this white paper is to give users a good understanding of how IBM Lotus® Connections uses IBM Tivoli® Directory Integrator, so they can understand how to look at the Lotus Connections AssemblyLines and understand what they do.

In this white paper

• Introduction
• Installation
• Out-of-the-box Profiles population
• Setting up the development environment
• Testing your configuration
• Logging/tracing
• Connections 2.5 "Best Practice" approach
• Connections 3.0 "Best Practice" approach
• Custom delete logic
• New Connectors
• Sample files
• Conclusion
• Appendix: Comprehensive overview of all notifications in Lotus Connections 3.0
• Resources
• About the authors

Definitely worth a read ….

Monday 21 November 2011

Understanding HTTP plug-in failover in a clustered environment

This is another of my "file it away because I know it'll be useful in about 5 minutes time" links: -


Problem(Abstract)

After setting up the HTTP plug-in for load balancing in a clustered IBM® WebSphere® environment, the HTTP plug-in is not performing failover in a timely manner or at all when a cluster member becomes unavailable.

Cause

In most cases, the preceding behavior is observed because of a misunderstanding of how HTTP plug-in failover works or might be due to an improper configuration. Also, the type of Web server (multi-threaded versus single threaded) being used can affect this behaviour.

Lotus Symphony Viewer up in the Android Market

Now I don't have any Android devices, being an acolyte of the Temple of Apple, with two iOS devices, and a 3rd on the way.

However, this looks to be rather shiny.

With the IBM® Lotus® Symphony Viewer you can view Open Document Format (ODF) text documents, presentations, and spreadsheets downloaded to your phone or tablet without the need for any network connection. Launch the viewer directly from the application icon and choose an ODF file to view, or select Symphony when you want to view an ODF document from another application such as IBM Lotus Notes® Traveler.
Connect a projector dongle to your phone or tablet to use the viewer as your presentation source

Got an Android phone or tablet ? Use Open Document Format ? Then get some of this ….

Now ask me what I use to view ODF documents on the iPad ?

Wednesday 16 November 2011

Customizing IBM Lotus Connections 3.0 email digests and notifications

For my current project, I was looking at a mechanism to customise the look, feel and content of IBM Connections email notifications.


Summary:  One of the primary new features of IBM Lotus Connections 3.0 is the email digest capability, which provides personalized daily and weekly newsletters that are generated based on the activities and updates in the user's social network. This white paper describes how to customize the daily and weekly digests emails, ranging from changing the look and feel of emails to more complex customizations such as adding your company-specific content to the email digests. In addition, this paper also covers customizing individual notification emails sent by the Lotus Connections services.

written by Vincent Burckhardt and Lorenzo Notarfonzo looks to be just the ticket.

Definitely worth a peek ….

WebSEAL and WebSphere Portal - An Integration Pattern

Saw this on Stephen Swann's blog

Thanks to Niall, I've been encouraged to provide my thoughts on how Single Sign On from WebSEAL to WebSphere Portal can be achieved.

In reality, the integration pattern is one of the simpler patterns to adopt. I say simple, but as Niall alluded to when asking me to provide my thoughts on the issue he quite rightly stated that there are at least two approaches to the problem - the LTPA approach and the TAI approach.

Definitely worth a read, as he's a pretty sharp cookie ( if that's even possible ).

IBM Web Experience Factory - My First Time Out

I was updating a WebSphere Portal Express v7 VMware image  for a colleague, using an existing VM built using Red Hat Enterprise Linux 5.5.

Having updated Portal to use the latest 7.0.0.1 CF009 codebase, I also wanted to include the most recent version of WebSphere Portlet Factory Designer, now known as IBM Web Experience Factory.

Having sought and downloaded the product: -

IBM Web Experience Factory V7.0.1 Multiplatform Multilingual (CI1XDML)

as CI1XDML.zip and the corresponding fix pack ( WEF_7012_FIXPACK.zip ), I also needed a copy of Eclipse into which to install WEF.

For some strange reason, IBM includes Eclipse with WEF on Windows, but not on Unix :-(

Looking at the System Requirements document, I noticed that Eclipse 3.6.1 is required.

This led me to the Eclipse.org website, from where I downloaded Eclipse JEE Helios.

This gave me a file - eclipse-jee-helios-linux-gtk.tar.gz - which I installed by simply expanding it ( via tar xvzf ) into its own directory - /opt/IBM/WebSphere/PortletFactory/eclipse.

Having done this, I was able to install and fix pack WEF, and create portlets to my heart's content.

Monday 14 November 2011

Lotus Traveler workshop. Dublin 6th December

This from Paul Mooney 

We have never ran the Traveler workshop in Dublin, so with the end of the year rapidly closing in, it's about time to rectify that.

The Lotus Traveler deep dive workshop will be held in the Conrad Hotel in Dublin on the 6th December.  Details here.  Register here.

Wednesday 9 November 2011

New backup & restore tool for IBM Connections Communities

Saw this posted by Suzanne Livingston on synch.rono.us earlier, and thought "Wow, that's shiny, oh so shiny"

There is a new asset in the Greenhouse Catalog for IBM Connections users. 

IBM Connections community backup and restore is an easy way to back up and restore Connections communities. 

Features:
• Back up a Connections community to a zip file. Backs up Members, Forums, Feeds, Bookmarks, Activities, Blog, Wiki, and Files in a community, interactively or via script.
• Restore a Connections community from the backup zip file. Restores Members, Forums, Feeds, Bookmarks, Activities, and Blog to a community.
• NOTE: Files and Wiki pages cannot be automatically restored.

Now we need some of that :-)

Nice one, folks

Tuesday 8 November 2011

IBM Connections – Incorrect Global Moderation Alerts

This from Jon Halman's blog, one which I regularly follow for the gems, nay pearls, of wisdom

I've been working with a customer recently on Moderation within IBM Connections 3.0.1 and we discovered an issue where alerts are being sent to Global Moderators when they shouldn't.

In this scenario pre-moderation (content approval) is disabled but post-moderation (content flagging) is enabled and Blog owners (both Community and standalone) are allowed to moderate comments on their blogs.

If a Blog owner enables moderation on comments then they will receive a notification asking them to approve (or not) comments when they are submitted. The problem is that the Global Moderators also receive this notification which they shouldn't (as pre-moderation is disabled).

Want to know more ?

Then check out the blog post ...

Integrating Lotus Connections V3 with WebSphere Portal Search V7

Saw this in two places this morning ….

(i) My colleague, Cali, bookmarked it on our internal IBM Connections 3.0.1 deployment, which meant that the IBM Lotus Connections alerts plugin for Lotus Notes  told me about it almost immediately ….
(ii) My other colleague, Stu, Tweeted about it, within a few seconds

Ah, serendipity, how sweeeeeet you are ….

Here's the TOC

• 1 Prerequisites
• 2 Preparation
• 3 Lotus Connections
• 4 WebSphere Portal Search
• 5 Procedures
• 5.1 Creating Lotus Connections crawlers
• 5.2 Creating a content source
• 5.3 Troubleshooting
• 5.4 Crawling the content
• 5.5 Starting the content sources manually

Worth a read ….

Monday 7 November 2011

Cateye HL-EL530 Cycle Light

Well, I've just taken delivery of a new front-light for my bicycle - a Cateye HL-EL530.

Haven't yet had a chance to road-test it, but I nearly fell at the first hurdle when I couldn't open the darn light to fit the batteries.

However, the internet had the answer, the internet is my friend.

Or, to be more specific, this YouTube video did the job - thanks to CycleWare for posting it.

Essentially, it's all in the twist …..

Will post a more full review tomorrow ...

Sunday 6 November 2011

Import pictures from Domino database into IBM Connections

Saw this on Robert Farstad's blog, and thought it was worth a re-post

Many organizations who buy IBM Connections already have a employee pictures database in Domino of some sort.

I do believe this would work for all kinds of domino databases, either if you are using the names.nsf or some other picture DB. You just have to find the correct fields in the domino db you are using.

In this scenario, the Iterator is a standalone pictures DB, called pictures.nsf. The field "bc_mapping" contains an email-address of the user. This is used as the link-criteria when doing a lookup to the employee table. The Employee table then gives us the "PROF_KEY" value for that profile/employee, which I then use in the link criteria in the Photo table.


Friday 4 November 2011

Enabling and Disabling SSL Redirection in IBM WebSphere Portal

This is something that came up in a recent project, where we noticed that we were unable to access our WebSphere Portal environment whilst the front-end IBM HTTP Server (IHS) servers were down.

This is a bit of a PITA as we wanted to access the Portal instance directly on, say, TCP port 10039/10040 whilst IHS was down(ish), allowing us to do systems maintenance whilst the end-users get a nice friendly "Closed for maintenance" page.

When I dug into the configuration with the SME who built Portal for us, it turned out he'd kindly hardened Portal for us, using the redirect.login.ssl and host.port.https Custom Properties for the WP ConfigService Resource Environment Provider.

This Wiki post says it far more elegantly than can I.

Enjoy

Thursday 3 November 2011

5 Reasons to Attend Lotusphere 2012

IBM Sametime Standard 8.5.2 - Port allocations for NAT traversal

Saw this on my IBM Connections homepage this morning, thanks to the Recommendations widget on the Updates page, and thought it might be of use to me ( and others ) at some point down the line.

The Sametime® Connect client will dynamically allocate UDP ports as a result of ICE negotiation.

Ephemeral ports are allocated on clients and are assigned by the client's operating system. Ephemeral ports are usually in the range of 1024-5000 and are dynamically re-allocated by the operating system as needed. Proper function of the Sametime NAT traversal feature requires open access to UDP ports on both the TURN server and the Media Manager's Packet Switcher.

Note: UDP is the preferred protocol; TCP should be used only if UDP is not available (for example, due to company policy).

Introduction to IBM Lotus Domino 8.5 XPages - Available on OpenCourseWare on the IBM Lotus Greenhouse

Saw this in my inbox this morning, and thought it worth sharing.

Not sure if I have the brain-power to learn XPages right now, but it's definitely hot technology, being used in many IBM Lotus products, including Quickr for Lotus Domino.

If you're interested in knowing more, check this out: -

The OpenCourseWare (OCW) movement,  part of the larger Open Educational Resources (OER) movement, was pioneered 10 years ago when the Massachusetts Institute of Technology launched its OpenCourseWare initiative, making educational course materials in digital form available on a free and open basis to all. 

ISSL Education is pleased to announce an OpenCourseWare Pilot in  IBM Lotus Greenhouse. The free courseware available, as part of this pilot is the material used in the instruction of Course D8L55 - Introduction to IBM Lotus Domino 8.5 XPages. The timing for building Social Business application development skills that leverage XPages technology could not be better - especially with the recent announcement of the Domino 8.5.3 XWork Server.  
                    
 Here are a few key points about the OpenCourseWare Pilot :
Materials usage is intended for those who would like to setup their own environment and self-instruct on XPages.
Classroom and self-paced eLearning versions of this course are available (at the public list price) for individuals who prefer formal instruction and lab support.
A variety of additional XPages Application Development courses are available for a fee to continue your study of this technology and further develop your skills. 
To access and download the free courseware you need to be a member of Lotus Greenhouse.  
Already a member? Login to access "Introduction to IBM Lotus Domino 8.5 XPages" courseware.

With the launch of this pilot, ISSL Education takes a step forward to advance informal learning through the sharing and use of free, quality educational materials to build skills in the marketplace.

Please share this announcement with peers, partners and clients.

Thank You!

IBM Connections Widgets - JustNudge are up to their tricks again ;-)

Following on from my earlier post about Michael Ransley and his widgety ways, JustNudge have released another one: -


Today we are proud to release our latest widget for IBM Connections. This widget allows an IBM Connections user to associate their profile with their twitter feed and have the feed displayed when someone views their profile.


This widget uses a profile extension to allow the user to populate their twitter username using the edit profile functionality of IBM Connections.

For a limited time, Just Nudge is releasing this widget to the IBM Connections community free of charge.  To get the widget see our Twitter widget product page.  If you require any further information please contact us via email at sales@justnudge.com.

Tuesday 1 November 2011

Apple Macintosh OSX and Keyboard Shortcuts

Had two reasons to look up OSX  keyboard shortcuts today.

The first was to find out how to pull up the Apple (  ) menu at the top-left corner of the screen; the one that contains "About This Mac", "Software Update' etc.

Thanks to this YouTube video, I now know that it is: -

[fn] [Ctrl] [Shift] [F2]

and that hitting the [Space] bar allows one to pull down the menu, and select the appropriate command e.g. "App Store", "Force Quit" etc.

The second keyboard trick was in relation to a Twitter correspondent asking how to print the  symbol ( that's the Apple logo ).

The trick is: -

[alt] [Shift] [K]



#LifeIsGood

*UPDATE* 02/11/2011 - One of my US colleagues, Mike Alexander, also came up with Dashkards (sic) as another good source of keyboard shortcut goodness

Monday 31 October 2011

IBM Connections iPad app is now available!

This from Mac Gudera's blog 

The iTunes App Store has just been updated with the 3.1.0 version of the iOS mobile application for IBM Connections. This now includes a beautiful iPad interface and some great file updates, like round trip editing of documents,  adding email attachments to Files and support for 'Open In'.


What's New in Version 3.1.0

• Universal app - new native iPad interface
• Ability to upload documents to the IBM Connections server from other apps that support the "Open In..." feature of iOS 
- Upload email attachments directly to the IBM Connections server 
- Enables round trip editing of documents. Allows you to download a document from the IBM Connections server, open it in another editor app, then upload the updated document back to the IBM Connections server
• iOS 5 Compatible
• Fixed an issue with getting "Cannot Verify Server Identity" prompt for servers certificates from a valid certificate authority

Friday 28 October 2011

ScribeFire - Blogging from a browser ...

Having a quick play with ScribeFire, a blogging client (plugin) for Firefox.

So far, so good.

I'm told that it supports off-line mode ( I normally use Apple Mail for this! ), and that it'll post directly to IBM Connections. Will test the latter out after the weekend, once IBM's W3 service is upgraded to the latest 3.0.1.X release.

Some Connections-related ScribeFire tips are here and here.

Life is good :-)

Want to know more about using ScribeFire and IBM Connections ? Let me know ...

Use IBM Symphony ? Satisfied ? Not ? Let IBM know ...

Do you use IBM Lotus Symphony ? If so, please consider giving 5 minutes of your time to complete a satisfaction / quality survey.

I ran through it, and added my personal feedback re Symphony on OSX. Please go ahead and give your input here.

Aide Memoires - Maintenance Pages and Cookie Size in IBM HTTP Server / WebSphere Application Server

Saw these on Twitter thanks to IBM_AppServer and thought … hmm, interesting, I may need these two tips at some point down the line.


When IBM HTTP Server is used to front-end a WebSphere Application Server deployment, there might be a need to temporarily redirect users to a 'Site Down For Maintenance' page when one or more back-end Application Servers require off-line maintenance.


Problem(Abstract)

Request to IBM HTTP Server fails with Response code 400.

Symptom

Response from the browser could be shown like this:

Bad Request 
Your browser sent a request that this server could not understand. 
Size of a request header field exceeds server limit. 

IBM HTTP Server Error.log shows the following message:

"request failed: error reading the headers"

Cause

This is normally caused by having a very large Cookie, so a request header field exceeded the limit set for Web Server.


Both have been useful and relevant to me recently, so have shared them here for you, you and you over there.

Thursday 27 October 2011

CLFRQ0415E when accessing the Homepage feature of IBM Connections 3.0.1

One of my colleagues saw this exception: -

CLFRQ0415E: An error occurred while executing the action. See nested exception for more details.
java.lang.NullPointerException

earlier when trying to access the Homepage application in a newly minted IBM Connections 3.0.1 installation.

I asked him to check whether the databases had been correctly created and configured.

He checked with the DBA, who'd set the databases up manually, and found that the script initData.sql had not been executed.

Once this was run, the Homepage application burst into life.

The Wiki documents this manual database setup for each feature, as per this example ( for Homepage )

C:\IBM\SQLLIB\bin\db2cmd -c -w -i db2 -tvf connections.sql\homepage\db2\createDb.sql
C:\IBM\SQLLIB\bin\db2cmd -c -w -i db2 -tvf connections.sql\homepage\db2\appGrants.sql
C:\IBM\SQLLIB\bin\db2cmd -c -w -i db2 -tvf connections.sql\homepage\db2\initData.sql
C:\IBM\SQLLIB\bin\db2cmd -c -w -i db2 -tvf connections.sql\homepage\db2\reorg.sql
C:\IBM\SQLLIB\bin\db2cmd -c -w -i db2 -tvf connections.sql\homepage\db2\updateStats.sql  

Hope this helps.

Quick Tip - Keyboard Shortcuts for OSX Lion

I think I found this by accident :-)

Using the Macbook Pro, it's possible to access Mission Control and App Exposé from the trackpad, as explained in the gorgeous little videos that come with the System Preferences > Trackpad "widget" ( use [CMD][Space] to bring up Spotlight and then type "Trackpad" to access this ).

So, by default, if you swipe up with three fingers, you get to Mission Control - all the windows contract


and, if you swipe down with three fingers, you get to App Exposé  - the windows of the active application appear


So far, so good - a few days ago I "discovered" that I can achieve the same effect, but only using the keyboard: -

[Ctrl][Up Arrow] - invokes Mission Control
[Ctrl][Down Arrow] - invokes App Exposé

So, if you don't have a track pad, this MIGHT be useful ?


Visual Studio Code - Wow 🙀

Why did I not know that I can merely hit [cmd] [p]  to bring up a search box allowing me to search my project e.g. a repo cloned from GitHub...