prevent 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: Im
"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 co
-
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, on li
outer
-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 pa
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 Xvfb (x virtual frame buffer) server rpm, the error went
away. (http://
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 w
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 <[EM
Thanks Everyone,
Your many responses were correct. I'm on my way. Closer anyway, I get a
different error now, but I think I can track it down. I'll let you know if I
need any more help.
Justin Jaynes
Wendy Smoak <[EMAIL PROTECTED]> wrote: On 1/12/06, Justin Jaynes wrote:
> I've writte
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?
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
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 Thu
2006 11:39 AM
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. Za
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
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 DI
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 PROTECTED]> wrote: I don't quite see how this is
Tomcat-related, but...
Yo
I don't quite see how this is Tomcat-related, but...
Your code can't connect to your X server, which is necessary for many
Java graphics-related functions to work on a *nix system. I dealt with
this at one point when getting DataVision working on Linux, and I recall
the solution being somethi
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?
Here is my code:
package com.everybuddystree;
import java.awt.*;
import java.awt.image.*;
import java.io.*;
import javax.imageio.*;
public
17 matches
Mail list logo