-Original Message-
From: Ben Kim [mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 7:54 AM
To: Tomcat Users List
Subject: Re: Image Scaling Code
This may or may not be the case with you.
I had a similar error (X11, DISPLAY) with an earlier version of tomcat
included in a 3rd party package
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 7:54 AM
To: Tomcat Users List
Subject: Re: Image Scaling Code
This may or may not be the case with you.
I had a similar error (X11, DISPLAY) with an earlier version of tomcat
included in a 3rd party package, on linux.
After I installed
headless I think the command is.
On 1/12/06, Dakota Jack [EMAIL PROTECTED] wrote:
You need to set a java command option so that your code won't search for a
display. Apparently you are using this with a server that has no monitor?
I forget the option but look them up under the java command
the errors mentioned below when you don't have a graphical
shell running on your system.
Regards, Wouter
-Original Message-
From: Ben Kim [mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 7:54 AM
To: Tomcat Users List
Subject: Re: Image Scaling Code
This may or may not be the case
On 1/12/06, Justin Jaynes [EMAIL PROTECTED] wrote:
I've written a java class to scale jpeg images. But I can't seem to get it
to work. Can anyone point me in the right direction?
javax.servlet.ServletException: Can't connect to X11 window server using
':0.0' as the value of the DISPLAY
You need to have:
-Djava.awt.headless=true
in your java start up args, this will prevent it from trying to talk to an X
server. Obviously some image related stuff has to talk to an X server, but
just ImageIO stuff is fine.
Mark
On Thursday 12 January 2006 19:31, Frank W. Zammetti wrote:
I
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Image Scaling Code
I aked Yaov Shapira if Java Questions were ok for this list. He said it
was fine because this is a USER list for Tomcat. And java class
programming has a great deal to do with using Tomcat.
Frank W. Zammetti [EMAIL
D'oh! Now *THAT* rings a bell :)
Mark Hagger wrote:
You need to have:
-Djava.awt.headless=true
in your java start up args, this will prevent it from trying to talk to an X
server. Obviously some image related stuff has to talk to an X server, but
just ImageIO stuff is fine.
Mark
On
FAQ .. http://tomcat.apache.org/faq/unix.html#x
-Tim
Justin Jaynes wrote:
Hello all,
I've written a java class to scale jpeg images. But I can't seem to get it to work. Can anyone point me in the right direction?
-
To
i believe adding this to your CATALINA_OPTS variable will solve this
issue
-Djava.awt.headless=true
On 12-Jan-06, at 2:26 PM, Justin Jaynes wrote:
Hello all,
I've written a java class to scale jpeg images. But I can't seem to
get it to work. Can anyone point me in the right direction?
You need to set a java command option so that your code won't search for a
display. Apparently you are using this with a server that has no monitor?
I forget the option but look them up under the java command and it will be
obviously. It ends in less as I recall.
On 1/12/06, Justin Jaynes
This may or may not be the case with you.
I had a similar error (X11, DISPLAY) with an earlier version of tomcat
included in a 3rd party package, on linux.
After I installed Xvfb (x virtual frame buffer) server rpm, the error went
away. (http://www.xfree86.org/4.0.1/Xvfb.1.html) I think there
@tomcat.apache.org
Subject: Re: Image Scaling Code
This may or may not be the case with you.
I had a similar error (X11, DISPLAY) with an earlier version of tomcat
included in a 3rd party package, on linux.
After I installed Xvfb (x virtual frame buffer) server rpm, the error went
away. (http
13 matches
Mail list logo