xhost +

does not help?


> Hi, all,
> 
> I was trying to run an example of "Hello World graphics" from the book
> of "Java Servlet Programming" by Jason
> Hunter after I installed the Apache Jserv on our Apache server on
> Solaris system. I used Netscape 4.06 on Windows 98. The servlet is on
> the Solaris system. But I had the following problem even though I was
> using
> the browser to access the servlet and draw the graphic in the browser.
> Can anyone give me a hint?
> Thanks.
> 
> Scott
> 
> 1) Apache 1.3
> 2) Apache-JServ-1.0b3
> 3) Solaris 2.6 operating system
> 
> 4) the mod_jserv.log
> 
> [13/05/1999 18:38:42:031] (ERROR) ajp11: Servlet Error:
> java.lang.InternalError: Can't connect to X11 windo
> w 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.
> [13/05/1999 18:38:42:031] (ERROR) an error returned handling request via
> protocol "ajpv11"
> 
> 5) the jserv.conf
> 
> LoadModule jserv_module libexec/mod_jserv.so
> ApJServManual off
> ApJServProperties /usr/local/apache/etc/jserv.properties
> ApJServLogFile /usr/local/apache/var/log/mod_jserv.log
> ApJServDefaultProtocol ajpv11
> ApJServDefaultPort 8007
> ApJServSecretKey DISABLED
> ApJServMount /example /example
> ApJServMountCopy on
> <Location /jserv/>
>   SetHandler jserv-status
> 
>   order deny,allow
>   deny from all
>   allow from localhost 127.0.0.1
> </Location>
> 
> 
> 
> --
> Scott Liu
> Software Developer
> 831 460 4300
> .....................................................................
> 
> TAPESTRY.NET - On Target, Online Recruiting
> 111 Mission St. Santa Cruz, CA 95060
> 
> Visit our web sites at:
> http://www.tapestry.net
> http://www.asia-net.com      Bilingual Professionals
> http://www.developers.net   Software Developers
> 
> 
> 
> 
> ----------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to