HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › problems running agent in background with domino 7.0.4 › Re: Re: problems running agent in background with domino 7.0.4
> – 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;
}[/language:1t714atl]
Could you please create a minimalistic test in your environment and check if it returns an MD5 instance.