Hi All,
I found this error :
java.lang.InternalError: Can't connect to X11
window server using ':0.0' as the value of the DISPLAY
variable.
on UNIX platform.
Please adv.
Thanks
Regards
- IN -
--- Antony GUILLOTEAU [EMAIL PROTECTED]
wrote:
I wanted to simulate a CLIENt-CERT realm
You are not supposed to use awt or swing on a java web server.
remove calls to awt/swing or use headless java.
Iin Nurhidayat a écrit :
Hi All,
I found this error :
java.lang.InternalError: Can't connect to X11
window server using ':0.0' as the value of the DISPLAY
variable.
on UNIX
Hi,
do you use some graphic functions in your project? If so,
you should add the following parameter to Tomcat startup:
-Djava.awt.headless=true
cu
cm
Am 22.09.2005 um 09:07 schrieb Iin Nurhidayat:
Hi All,
I found this error :
java.lang.InternalError: Can't connect to X11
window
On Thu, 2003-03-20 at 20:36, Micael wrote:
For me the easiest thing was just to provide the right command line options
(java.awt.headless=true) when I started up Tomcat.
May I ask, how you did this ? I've also encountered
JNI_OnLoad errors runing on Solaris due, I suspect, the lack of
I added the headless flag to catalina.sh as follows:
# - Execute The Requested Command -
echo Using CATALINA_BASE: $CATALINA_BASE
echo Using CATALINA_HOME: $CATALINA_HOME
echo Using CATALINA_TMPDIR: $CATALINA_TMPDIR
echo Using JAVA_HOME:
Thanks Micael. Tried the same thing and got the same results.
Looks like Catalina/Tomcat is indeed using headless mode but
it's not working with my Java (1.4) and operating system (SunOS 5.6).
I'm presuming you're using this to create/generate graphics in a
servlet ? Do you mind posting sample
Hi,
Here is a good link:
http://www.geocities.com/marcoschmidt.geo/java-image-faq.html#x
Hope you enjoy.
Georges
Stephen Riek wrote:
Thanks Micael. Tried the same thing and got the same results.
Looks like Catalina/Tomcat is indeed using headless mode but
it's not working with my Java (1.4)
Here are two uses, if they are of help. I am using Red Hat 7.2 Linux.
FIRST:
public JPEGEncoder(Image image, int quality, OutputStream out) {
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(image, 0);
try {
The material George gave you is really good. Do you have X11 installed,
even if not running? I am not a Solaris guy, so don't know what that may
mean in that context.
At 09:09 AM 3/23/03 +, you wrote:
Thanks Micael. Tried the same thing and got the same results.
Looks like
2003 12:15:04 -0800
Para: Tomcat Users List [EMAIL PROTECTED]
Assunto: Re: Can't connect to X11 window server using '0:0' as the value of the
display and now
java.awt.HeadlessException
The material George gave you is really good. Do you have X11 installed,
even if not running? I am
-Original Message-
From: Georges Roux [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 5:32 PM
To: [EMAIL PROTECTED]
Subject: Can't connect to X11 window server using '0:0' as the value of
the display
Hello everybody,
Hi run Tomcat 4.1.18 Standalone on Linux debian(sid)and use
: Georges Roux [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 11:09 AM
To: Tomcat Users List
Subject: Re: Can't connect to X11 window server using '0:0' as the value
of the display and now java.awt.HeadlessException
Hi,
I put System.setProperty(java.awt.headless, true);
in my servlet init
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: [EMAIL PROTECTED]
Subject: Can't connect to X11 window server using '0:0' as the value of
the display
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
At 07:18 PM 3/20/2003 +, you wrote:
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
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
At 07:59 PM 3/20/2003 +, you wrote:
Difficult to say: What kind of problems?
I start mine using
Xvfb :0 -screen 0 1600x1200x32
{I just added it to rc.local }
Will retry with resolution change.
Thanks,
Glenn
-
To
For me the easiest thing was just to provide the right command line options
(java.awt.headless=true) when I started up Tomcat.
At 02:27 PM 3/20/03 -0500, you wrote:
At 07:18 PM 3/20/2003 +, you wrote:
ok: there is another solution to the headless thing: (I wrote a
graphical servlet that runs
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
March 2003 21:47
To: Tomcat Users List
Subject: Re: Can't connect to X11 window server using '0:0' as the value
ofthe display and now java.awt.HeadlessException
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
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
, 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
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: [EMAIL PROTECTED]
Subject: Can't connect to X11 window server using '0:0' as the value of
the display
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
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
can you try to set the DISPLAY env variable to localhost:0.0
export DISPLAY=localhost:0.0
Filip
-Original Message-
From: Georges Roux [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 3:32 PM
To: [EMAIL PROTECTED]
Subject: Can't connect to X11 window server using '0:0
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
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
30 matches
Mail list logo