Thanks,

I put System.setProperty("java.awt.headless", "true");
in my servlet init method and it's ok now.

Georges

Bill Barker wrote:

"Zsolt Koppany" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


Hi,

does it need modifications in the application or it will work with every


AWT


dependent application?



Depends what you want to do basically. Running headless causes the JVM to replace most of the basic functions that you previously needed to be provided by the standard Linux utility Xvfb (e.g. fonts, color-mappings).

I can think of cases where headless isn't enough, but if you are that
creative, it deserves another topic ;-)



Zsolt

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of Theodore Chen
Sent: Mittwoch, 19. März 2003 00:37
To: Tomcat Users List
Subject: Re: Can't connect to X11 window server using '0:0' as the value
ofthe display


Try running the Tomcat VM with the -Djava.awt.headless=true system property (set it in an environment variable named CATALINA_OPTS).

On Tue, 2003-03-18 at 16:31, Georges Roux wrote:


Hello everybody,

Hi run Tomcat 4.1.18 Standalone on Linux debian(sid)and use


J2sdk1.4.1_01.


I have a servlet which manipulate exif informations in jpg images.
it works well but when I try to run it on tomcat it fails (error 500)

I have the following error:
"Can't connect to X11 window server using '0:0' as the value of the


display"


What can I do?

Georges


---------------------------------------------------------------------
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]






---------------------------------------------------------------------
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