From owner-freebsd-java Wed Jan 15 0:42:53 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B672E37B401 for ; Wed, 15 Jan 2003 00:42:52 -0800 (PST) Received: from mail.framfab.com (mail.framfab.com [217.73.2.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A3FA43F13 for ; Wed, 15 Jan 2003 00:42:51 -0800 (PST) (envelope-from fredrick.nilsson@framfab.se) Received: from sestoex01.framfab.se (sestoex01.framfab.se [157.125.1.96]) by mail.framfab.com (Postfix) with ESMTP id E9FD21F1D1 for ; Wed, 15 Jan 2003 09:42:39 +0100 (CET) Received: by sestoex01.framfab.se with Internet Mail Service (5.5.2656.59) id ; Wed, 15 Jan 2003 09:42:39 +0100 Message-ID: From: Fredrick Nilsson To: freebsd-java@freebsd.org Subject: tomcat - java.awt - headless Date: Wed, 15 Jan 2003 09:42:34 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, im trying to use java.awt and javax.swing classes in tomcat that runs on a "X-less" server. I think that i have tried all possible ways to accomplish this, but none works. this is what i have tested. enviroment variables: both JAVA_OPTS and CATALINA_OPTS set to -Djava.awt.headless=true (tested both individually and together) code: System.setProperty("java.awt.headless", "true"); none of these methods works 100%, during my tests, it works from time to time, but i cant recreate so that it will work allways. is there anybody else that have had the same problems, and if then, what was the solution? .f To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message