Written by

Integrations Developer at NHS Tayside
Question Colin Brough · Oct 28, 2024

Java gone missing - but only from Ensemble!

An interface running on Ensemble generates PDFs by building a command line and invoking c:\InterSystems\Ensemble\fop\fop.bat

One day last week the PDF generation stopped working. The output from the .bat script says:

The Server has not restarted, and the Java version has not been updated. Ensemble has not restarted. And Java is still accessible outside of Ensemble from the command line. So how come Ensemble has "lost" java? Any clues as to what might have gone on? We are cautious about restarting Ensemble (which might clear things) without knowing why it happened - thankfully this is a our test server, but this has happened right in the middle of UAT for this interface, and we are nervous about releasing to production if we don't know what it failed...

Product version: Ensemble 2018.1
$ZV: Cache for Windows (x86-64) 2018.1 (Build 184U) Wed Sep 19 2018 09:09:22 EDT

Comments

Luis Angel Pérez Ramos · Oct 28, 2024

If you execute the bat file from the command line of Windows...does it work? Maybe the PATH to the java bin folder is not accessible from the Ensemble user.

0
Colin Brough · Oct 28, 2024

Never mind, our support people had updated the Java version, despite what the logs said! And because they hadn't restarted Ensemble/the server, it still had the old JAVA_HOME in its environment. We are currently banging their heads against the nearest wall for them! 🙄

0