From 334568e596442d13e884dcabda3b1769bdfd898c Mon Sep 17 00:00:00 2001 From: mguetlein Date: Fri, 28 Oct 2011 11:17:06 +0200 Subject: make sure load java in headless mode, this caused problems on the opentox validation service when loading images --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.rb b/application.rb index fe7a76b..fe04547 100644 --- a/application.rb +++ b/application.rb @@ -38,7 +38,7 @@ end def png_from_smiles(smiles) begin - Rjb.load(nil,["-Xmx64m"])# avoid JVM memory allocation problems + Rjb.load(nil,["-Xmx64m","-Djava.awt.headless=true"])# avoid JVM memory allocation problems Rjb::import('Structure').new(smiles,150).show rescue LOGGER.warn e.message -- cgit v1.2.3