Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 20376 invoked from network); 4 Feb 2005 17:04:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Feb 2005 17:04:22 -0000 Received: (qmail 30825 invoked by uid 500); 4 Feb 2005 17:04:06 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 30806 invoked by uid 500); 4 Feb 2005 17:04:06 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 30793 invoked by uid 99); 4 Feb 2005 17:04:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from host12.host12-server.com (HELO host12-server.com) (66.49.144.157) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Feb 2005 09:04:05 -0800 Received: from lqfhvaio ([198.212.148.156]) by host12-server.com (8.11.6/8.11.6) with SMTP id j14H42K03195; Fri, 4 Feb 2005 12:04:02 -0500 Message-ID: <016b01c50adb$875ad640$dd01dc0a@Corp.LaQuinta.com> From: "Filip Hanik - Dev" To: "Tomcat Users List" , "Rodrigo Avila" References: <68c9fd2705020408571312047e@mail.gmail.com> Subject: Re: java.awt.headless=true in tomcat startup Date: Fri, 4 Feb 2005 11:04:01 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N put it in the /bin/catalina.sh script Filip ----- Original Message ----- From: "Rodrigo Avila" To: "Tomcat Users List" Sent: Friday, February 04, 2005 10:57 AM Subject: java.awt.headless=true in tomcat startup Hi! I try to use some awt\swing classes to convert rtf strings to html in an jsp page. But I receive the following Exception: "Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable." But, to resolve this problem, I find the following tip: "assuming you're using a 1.4 JVM, add the following line to your startup command: $JAVA_COMMAND -Djava.awt.headless=true ..." But, how I put this option in the Tomcat startup? -- Rodrigo de Avila rdeavila@gmail.com http://www.avila.eti.br --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org