----------------------------------------------------------------
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]

Reply via email to