Hi,
I put System.setProperty(java.awt.headless, true);
in my servlet init method it's ok, but now when I open a Frame,
I get the exception HeadlessException:
java.awt.HeadlessException
at
java.awt.GraphicsEnvironnement.checkHeadless(GraphicsEnvironement.java:121)
at
ok: there is another solution to the headless thing: (I wrote a
graphical servlet that runs on a linux box without X, and had the same
problems: The headless seemed to work, well, kinda, but not to my
liking): So I went the xvfb route: This is a virtual frame buffer to can
install on a linux box
Difficult to say: What kind of problems?
I start mine using
Xvfb :0 -screen 0 1600x1200x32
{I just added it to rc.local }
On Thu, 2003-03-20 at 19:27, Glenn Parsons wrote:
At 07:18 PM 3/20/2003 +, you wrote:
ok: there is another solution to the headless thing: (I wrote a
graphical
classes and
interfaces to implement).
Regards,
Chris.
-Original Message-
From: p niemandt [mailto:[EMAIL PROTECTED]
Sent: Friday, 21 March 2003 7:18 a.m.
To: Tomcat Users List
Subject: Re: Can't connect to X11 window server using '0:0' as the value
ofthe display and now
Yep: Done correctly, this is probably the more 'correct' solution, but,
and I'm probably opening myself to a lot of flamebait, but I do suspect
that using something like Xvfb might give some advantages that using
headless won't. For example, and I'm just guessing, but I think that
'headless' is
.
We always used to use this on sun E250s without a display adapter, but now
we use headless as it's more reliable.
Andy
-Original Message-
From: p niemandt [mailto:[EMAIL PROTECTED]
Sent: 20 March 2003 21:47
To: Tomcat Users List
Subject: Re: Can't connect to X11 window server using '0
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
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
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
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
10 matches
Mail list logo