> – the server seems to be unable to run in headless mode. It seems that domino 7 runs a 1.4 JVM which doesn’t support headless mode.

JDK introduced the headless mode starting from 1.4. However, as far as I remember, particular IBM’s JDK 1.4 implementations has problems with it. I would recommend to try to manage to run your JDK headless.

Regarding the exception. It looks like the only potential source of it is null returned by the code:

[language=java:1t714atl]try {
md5 = java.security.MessageDigest.getInstance(“MD5”);
} catch (Exception e) {
return null;

Could you please create a minimalistic test in your environment and check if it returns an MD5 instance.