Hi,
So modify your servlet to work properly in a headless environment, or
use an alternative like Xvfb.  This is not a Tomcat issue, so if you
want to continue discussion on the mailing list please prepend
[OFF-TOPIC] to the subject line.  Thanks,

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: indu ss [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 16, 2004 10:11 AM
>To: [EMAIL PROTECTED]
>Subject: java.awt.HeadlessException
>
>Hi,
>
>I'm using Tomcat 5.0.12,J2sdk1.5 on Linux Fedora 2 .
>
>I need to have a servlet which displays jpg images
>without using Xserver.
>I get this error  even after starting tomcat with
>CATALINA_OPTS="-Djava.awt.headless=true"
>and also with Xvfb running.
>
>java.awt.HeadlessException
>       at
>java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159
)
>       at java.awt.Window.<init>(Window.java:310)
>       at java.awt.Frame.<init>(Frame.java:419)
>       at java.awt.Frame.<init>(Frame.java:384) ......
>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>The all-new My Yahoo! - Get yours free!
>http://my.yahoo.com
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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

Reply via email to