put it in the /bin/catalina.sh script

Filip

----- Original Message ----- 
From: "Rodrigo Avila" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
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
[EMAIL PROTECTED]

http://www.avila.eti.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to