I’m back…

Well – I’m back from my cycling (holiday-)trip to the Dolomite mountain range in Italy. 688 km and 17.280 meters climbed on 6 stages going between all the famous ski resorts there (Canazei, Cortina, Val Gardena etc.). Work will actually feel like holiday now… ๐Ÿ™‚

Going on vacation!

I probably wont be blogging at all over the next week as I’m leaving for the Dolomiti mountain range in Italy to ride my bike. 6 stages with a total of 604 km and 16710 height meters incl. many well known Giro d’Italia stages. If you care you can see the passes I’ll be riding here (in Danish). I’ll be posting pictures regulary at my personal blog (also in Danish).

Profile for stage 2:

Notes/Domino 7.0.2 only a template release?

Watching the keynote from the Ireland Notes Usergroup 2006 via Google Video I stumbled upon something Ed Brill said in relation to the release Notes/Domino 7.0.2. What I heard was something like:

“…we’re not touching the core code. This is all template work or install work. <snip/> It’s not going to touch anything about nserver.exe, it’s not going to touch anything about your address book, it’s not going to touch anything about your replication. It’s not going to touch anything about your users.”

How can that be? Not all the 388 fixes listed on Lotus developerWorks are template related. Did I misunderstand what Ed said or were he simply wrong? Did he mean the added RSS functionality was orthogonal to the code? Hmmm…

Domino Session Tester updated

The Domino Session Tester mentioned yesterday has been updated so you can test whether the user in question can connect to a particular database. You can also test access a particular document (based on UNID). The download on the original post now points to the new version.

The new command line switches are -s (server), -d (database) and -u (universal id).

Are you deploying a bookmark database to your users via replication?

If yes, what ACL do you use?

I tried setting the ACL for -Default- to Reader but get errors because Notes apparantly creates “history” documents (Form=”HistoryListEntry” – scanEZ to the rescue) in the database so Reader isn’t enough. I guess I could allow higher access but how do I then control the amount of “history” documents created and avoid replicating them to all users (without setting selective replication formulas)? The whole idea is to have a bookmark database you can control centrally and push to users using replication – I hope this isn’t a pipe dream

Insights?

Java in Notes/Domino Explained: Domino Session Tester


Testing local and remote sessions to Notes/Domino can be a hassle so I’ve created a small utility to help test the different kinds of sessions. To use the Domino Session Tester download the two listed jar-files at the end of the post to a directory, copy the notes.jar to the same directory and follow the below instructions for use.

Please note: If you get a message saying “Exception in thread “main” java.lang.NoClassDefFoundError: lotus/domino/NotesException” you haven’t copied Notes.jar to the directory…

Base syntax

The base syntax of the utility is as follows:

C:>java -jar domino_session_tester.jar

Domino Session Tester by Mikkel Heisterberg (http://lekkimworld.com)
Version: 1.0, Date: 10 July 2006

***********************************************************************************
* This utility is provided "AS IS" with no warranties, and confers no rights.     *
* Some rights reserved (disclaimer: http://lekkimworld.com/pages/disclaimer.html) *
*                                                                                 *
* This utility uses code from the Apache Jakarta Commons CLI project              *
* (http://jakarta.apache.org/commons/cli) and respects their copyrights.          *
***********************************************************************************

usage: Domino Session Tester
 -t,--type    session type (remote/local)

The above command will show the different options available to you. The only required argument is the -t argument where you specify the type of session to create (“local”/”remote”). Once you select “local” or “remote” more options will be available. Apart from this the utility should be pretty straight forward to use. I have shown some examples below.

Testing local session (using id-file from local Notes installation)

C:>java -jar domino_session_tester.jar -t local

Testing anonymous remote sessions

C:>java -jar domino_session_tester.jar -t remote -h diiop.example.com

Testing authenticated remote sessions

C:>java -jar domino_session_tester.jar -t remote -h diiop.example.com -u "John Doe" -p secret

Comments are as always welcome.

Downloadable files: