tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From indu ss <ind1...@yahoo.com>
Subject java.awt.HeadlessException
Date Tue, 16 Nov 2004 15:10:35 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message