----------------------------------------------------------------
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 actually had exactly the named X problems with SOLARIS...
A machine without graphic equipment wont work with awt
as long as there is no (pseudo) X11 available.
Bruno
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Greg
> Lahens
> Gesendet: Mittwoch, 18. Oktober 2000 21:53
> An: Java Apache Users; Java Apache Users
> Betreff: RE: Servlets Rendering to a Frame....
>
>
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Interesting thing to know... I've been running all of my servlets on
> Solaris servers with lots of memory and never encountered any of these
> issues. To me it has always been a simple thing to do..
>
> Thanks for the education on how awt.* works on Linux.. I'll keep that in
> mind if I'm ever doing a site for that OS.
>
> -Greg
>
> At 12:09 PM 10/18/00 -0700, Bill Volk wrote:
> >----------------------------------------------------------------
> >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!!!
> >----------------------------------------------------------------
> >
> >Greg wrote:
> >
> > > OK. What on earth is this all about? It sounds like you're trying
> > > to have a
> > > servlet render graphics to send to a web page or program
> waiting for the
> > > graphic? If this is what you are trying to do, then there's no
> > > need for X.
> > > X has nothing to do with it at all. Just use the graphics library
> > > (awt.graphics???) to draw into a virtual object then gif
> encode it then
> > > send the bytes to the response stream...
> >
> >Yes, but that doesn't work. Seems like the Java VM under Linux
> NEEDS X to
> >do any rendering whatsoever. That's what the docs says.
> >
> > When no X11 Display is available on UNIX machines or when
> GDI resources
> >are low
> > on Windows, it is impossible to compute off-screen images with
> > java.awt.Graphics methods, even if your program doesn't
> need to display
> >these
> > images. Typically, this situation happens for servlets returning
> >dynamically
> > generated images like pies, charts or web counters.
> >
> >You can't write to a frame without having X ... or some
> substitute running.
> >Yep. That's the truth.
> >
> > > Other than that, I'm not sure what you're asking. Please be more clear
> > > about the goal you are trying to accomplish, setting,
> > > environment, and type
> > > of application...
> >
> >We're compositing images on the server to display on the
> client's web page.
> >Basically overlays etc...
> >
> >Bill Volk
> >
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >Please read the FAQ! <http://java.apache.org/faq/>
> >To subscribe: [EMAIL PROTECTED]
> >To unsubscribe: [EMAIL PROTECTED]
> >Search Archives:
> ><http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> >Problems?: [EMAIL PROTECTED]
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]