16 July 2008

Lotus Notes 8.0.1 on Ubuntu Hardy Heron and the Mozilla problem

I use Lotus Notes 8.0.1 on my workstation, but on Hardy Heron I got a stupid problem with the Firefox 3.
I know, that Ubuntu currently isn't supported to run Lotus Notes on, but as my favorite OS, I tried to do it.
A nice introduction can be found here:
http://www.linuxart.de/index.php/archives/4

But there is still one problem: The Mozilla problem!
If you try to open a HTML email or open anything else, which uses the embedded SWT browser, you'll get the message: MOZILLA_FIVE_HOME is set set to /usr/lib/xulrunner-addons, which isn't a Firefox directory. The correct directory would be /usr/lib/xulrunner.
To fix this, I put a shell script into /etc/X11/Xsession.d/:


sudo touch /etc/X11/Xsession.d/200-mozilla-five

sudo gedit /etc/X11/Xsession.d/200-mozilla-five

Put the following code into your script:

#!/bin/bash

export MOZILLA_FIVE_HOME=/usr/lib/xulrunner

After restarting the X-server, Notes 8.0.1 will show you embedded HTML as expected.

13 July 2008

Google Toolbar on Ubuntu Hardy Heron

I love the Google Toolbar, because it allows me to use Google's bookmark service embedded to my browser. So I can use the toolbar on a Mac, Windows or Linux machine and have my bookmarks everywhere I am.
But with the cool new version 3 of my favorite browser Firefox the toolbar stopped working. Firefox crashed after installing (and disabling compatibility test in Firefox ;-)).
Now a new version is available and the Toolbar is back to my Firefox :-)
But on Ubuntu there is still a problem with the bookmarks. To fix it, just type the following into your terminal:

sudo apt-get install libxul-dev libstdc++5 gcc-4.2 libstdc++6

Than reinstall the toolbar, if you allready tried without success. Now your bookmarks should work even on Ubuntu :-)

02 July 2008

Spring MVC Error Handling

A typical problem in applications is to handle errors. In a Spring MVC based web app it is very easy, to create good error handling. A nice introduction can be found here:
http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/

Thanks
Josh