NotesThread.sinitThread() : The Java app is hanging

Hello,

hope that someone can help me with the issue below →

Our Problem is:

We have a java app that is supposed to send some daily reports via LN…

For this purpose we have a scheduled batch file (Batch1) which runs every minute and calls a Perl Script. We have some checks/controls in the perl script that decide when the Java app must be called. And once the conditions are OK then it calls a second batch file (Batch2) that triggers the Java app.

It might not sound as the best way but this is how it was set and worked OK for a while.

And the strange point is when we call this batch file(Batch2) manually on DOS with the same command written in the perl script the code works perfect but when we do it automatically as described above the app is hanging in NotesThread.sinitThread().

Hope that I could explain the issue clearly. Any idea why it happens?

Many thanks in advance