Category Archives: Allgemeines

Alles was sonst nirgends passt.

Eclipse As A Jython IDE

I added several plugins to my Eclipse, so i can access the scripts on GitHub and edit through an IDE:

Jython and Python Development


Markdown (Documentation within Github)


Access GitHub:


Shellscript Editor



SQL Scripts

SQL Explorer:

Activate and customize “Table of contents” macro in IBM Connections Wiki

I read of a new function in IBM Connections Wiki i missed the last time on twitter today. A new macro to create a table of contents within a wiki page.

The activation of this macro is documented here: Wikis configuration properties


Specifies whether macros are enabled in Wikis. You can use macros to automate common tasks, such as generating a table of contents in a wiki page. The default value of this parameter is false. To enable macros, set the value to true. When enabled, macros are available from the Macros menu in the editor toolbar.

I’m a little bit confused, because i have to change the wording in wikis-config.xml:

      <wikitexttab enabled="true" />
      <wikimacros enabled="true" /> <!-- add this line --> 

After checking in the configuration file and restart connections i got a new button in my wikis editor:

Macro for Table of Contents

Quite cool, but the macro only generates headings with format h2, h3 and h4 to the TOC. The richtext editor provides headings h1-h4. I want to change this behavior, that h1 will be added to TOC too.

I found a great article on adding templates to ckeditor from Rob Novak, there he describes how you can customize the ckeditor of wikis. I used the paths mentioned in this article to customize the toc behavior.

Extract toc.js

You can find the needed file in folder /opt/IBM/Connections/data/shared/provision/webresources. I extracted it to /tmp:

unzip -d /tmp/ckeditor /opt/IBM/Connections/data/shared/provision/webresources/

Create customization path and copy toc.js

mkdir -p /opt/IBM/Connections/data/shared/customization/javascript/lconn/wikis/macros
cp /tmp/ckeditor/resources/macros/toc.js /opt/IBM/Connections/data/shared/customization/javascript/lconn/wikis/macros

Change toc.js

vim /opt/IBM/Connections/data/shared/customization/javascript/lconn/wikis/macros/toc.js

You find the following part:

lconn.wikis.macros.toc = {
//node id sequence for TOC link.
    fragmentSeqn: 1,
    topLevel: 2,
    bottomLevel: 4,
    template: 'Table of Contents:<INSERT-BODY>',

You have to change topLevel and bottomLevel to following:

lconn.wikis.macros.toc = {
//node id sequence for TOC link.
    fragmentSeqn: 1,
    topLevel: 1,
    bottomLevel: 5,
    template: 'Table of Contents:<INSERT-BODY>',

After a new Connections restart my toc got updated with h1 – h5.


Change Styles

If you want to change the default style of your tocs, you can do this in the toc.js file too! I prefer my TOC on the right screen side and with a light grey not yellow background.

I changed:

 style: 'border-radius: 6px; margin: 8px; padding: 4px; display: block; width: 50%;background-color: #ffc;',


 style: 'border-radius: 6px; margin: 8px; padding: 4px; display: block; width: 30%;background-color: #E0E0E0;float:right;padding:10px;margin-left:20px;margin-bottom:20px;',

Now i have a little bit smaller toc with additional space to the content:

Changing the style of your toc

It would be better to define the styles through a CSS file in customization folder, but i only want to test it. When you want to change through css file, then you should remove most of the styles from style:.

WebSphere Application Server on Ubuntu 12.04 64 Bit

I’m really impressed of the WAS 8 installation. Install Manager can handle multiple repositories, so you can install the core package and updates in one step. That’s lots faster than installing WAS 7, Update Installer and the fixes.

Yes i know Ubuntu is unsupported for WebSphere Application Server, but i like the simple install and update process. So i use it on about 80 % of my linux testsystems and i have no problems when installing IBM Domino, WebSphere, DB2 or Connections.

Additional software for Ubuntu

I added the following packages to Ubuntu and use x-forward for installing IM and WAS.

Relink /bin/sh

dpkg-reconfigure dash

Install Firefox and SSH

apt-get install firefox
apt-get install openssh-server

Add 32 Bit Libraries for Install Manager

apt-get install libxtst6
apt-get install ia32-libs

Uninstall AppArmor

apt-get remove --purge apparmor*

Profile Manager

After WebSphere installation the profiles manager starts automatically and it WORKS! I can configure profiles on a 64 Bit Linux through it.

Service install

Installing the services on Ubuntu works too with the command, which fails on WAS 7.

cd /opt/IBM/WebSphere/AppServer/bin

./ \
  -add Dmgr \
  -serverName dmgr \
  -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01\
  -wasHome /opt/IBM/WebSphere/AppServer \
  -stopArgs "-username adminaccount -password password"

./ \
  -add nodeagent \
  -serverName nodeagent \
  -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 \
  -wasHome /opt/IBM/WebSphere/AppServer \
  -stopArgs "-username   adminaccount -password password"

I always install services for deployment manager and the nodeagents. The automatic start of my application servers i configure through the ISC and the Monitoring Policy.

I do this, because i had several issues when starting the application servers through init or windows service and the servers work in a cluster.

When you want to stop your application servers automatically on reboots, you should register a init-Skript and remove the start tasks in /etc/rcx.d for these application server services.

Install IC4 Lotus Notes Plugins on Mac OS X 10.8.x

Today Luis Benitez annouced the new Connections 4 Plugins for Lotus Notes.

The zip-file contains all three operating system installer. Windows, Linux and Mac, but i had no success to install through xpd.mac-addon.pgk, because the preinstall script stop the installation.

You can open this file in finder:

Now you can copy the updatesite folder to an other place and use File – Application – Install in Lotus Notes. Point the Install to the updatesite folder and install the whole package. I have to restart twice, but after this i can use the new Status Update, Files and Activities Plugins.

Integrate Sametime Proxy 8.5.2 IFR 1 in IBM Connections

The last days i used to integrate Sametime in IBM Connections. I did this a few times the last two years, but i used ST 8.5.1 and older Connections Versions.

First of all, it is much easier to apply now. You mustn’t add Proxy entries to your IHS (IBM HTTPServer) or activate awareness lookup in profiles-config.xml – BUT you have to install exactly the right versions.

I mapped the wc_defaultport of Sametime Proxy to 80 and 443, so i mustn’t have special thoughts on firewalls. Now i checked out uiextensions-config.xml and added the URL of my Sametime Proxy Server. A good description can be found in Connections Wiki.

When you only install IFR 1 for IBM Sametime 8.5.2 the integration is working only 30%! The chat window appears, but awareness lookup is missing. I traced a lot and get error messages like: “Script is still running: http://webchat. do you want to stop this script.”

On this point i got a hint of KBild, because he had a other build number of Sametime Proxy 8.5.2 working. So i found Sametime Proxy Server 8.5.2 IFR 1 fix for IBM Connections and IBM WebSphere Portal support and mobile enhancements, which told me to download the fix OBEN-8SRQTP from IBM Fix Central.

After applying this 870 MB fix everything is working fine. Awareness lookup and chat window appear.