
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: