----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
The Unix Virtual frame buffer needs to be enabled.
> -----Original Message-----
> From: Scott McLaughlin [SMTP:[EMAIL PROTECTED]]
> Sent: 03 November 1999 14:40
> To: [EMAIL PROTECTED]
> Subject: problem getting jserv to work with awt
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
>
>
> I am running apache 1.3.9 with Jserv
> on linux ppc (redhat 5+)
>
> I have a servlet that creates an image using the awt package
> along with a gifencoder from http://www.acme.com/
>
> I try to execute the servlet and i get the following error
> in the appache error_log
>
> [Wed Nov 3 09:16:13 1999] [error] JServ: ajp12: Servlet Error:
> java.lang.InternalError: Can't connect to X11 window server using ':0.0'
> as the value of the DISPLAY variable.: Can't connect to X11 window server
> using ':0.0' as the value of the DISPLAY variable.
> [Wed Nov 3 09:16:13 1999] [error] JServ: an error returned handling
> request via protocol "ajpv12"
> java.lang.InternalError: Can't connect to X11 window server using ':0.0'
> as the value of the DISPLAY variable.
> at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:320)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:479)
>
> I have tried setting the DISPLAY variable to unix:0.0 in the
> jserv.properities file that works if the currently logged in user
> allows conection to the local x server. if not i get the same message
> replacing :0.0 with unix:0.0
>
> my question , is this a config issue I would like to use the awt features
> for images
>
> if any one has any ideas please let me know,
>
> Thanks in advance for any help you can provide.
> Scott McLaughlin
> WebMaster - DUsers
> World First Macintosh Users Group
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
This message is for the named person's use only. It may contain confidential,
proprietary or legally privileged information. No confidentiality or privilege is
waived or lost by any mistransmission. If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any hard copies
of it and notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended
recipient. CREDIT SUISSE GROUP, CREDIT SUISSE FIRST BOSTON, and each of their
subsidiaries each reserve the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorised to state them
to be the views of any such entity.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]