From: Michele Silva Date: Wed, 18 Jan 2012 01:11:12 +0000 (-0200) Subject: Setting glassfish to headless mode. X-Git-Url: http://200.18.67.61/gitweb/?p=simdecs.git;a=commitdiff_plain;h=addbda1c217212e2fedbcf276d7b31071ddc6f7d Setting glassfish to headless mode. --- diff --git a/src/java/org/ufcspa/simdecs/bn/ui/FileUploadController.java b/src/java/org/ufcspa/simdecs/bn/ui/FileUploadController.java index aa5f25e..abe9b6f 100644 --- a/src/java/org/ufcspa/simdecs/bn/ui/FileUploadController.java +++ b/src/java/org/ufcspa/simdecs/bn/ui/FileUploadController.java @@ -75,7 +75,7 @@ public class FileUploadController implements Serializable { try { File file = this.saveUploadedFile(event.getFile()); // required to run unbbayes gui classes on server - System.setProperty("java.awt.headless", "false"); + System.setProperty("java.awt.headless", "true"); ProbabilisticNetwork bn = new ProbabilisticNetwork(null); XMLBIFIO.loadXML(new File(file.getAbsolutePath()), bn);