SUMMARY: xhost + and PDFs and Java, Oh My!

From: Erek Adams <erek_at_theadamsfamily.net>
Date: Thu Mar 23 2006 - 13:15:40 EST
It seems that there are three options:

  1)  use Java 1.4 with the -Djava.awt.headless=true flags
  2)  Xvfb (default with Solaris 9+)
  3)  VNC

For running with the -Djava.awt.headless=true option, there are a couple
of caveats.  From a Java related page [0]:

	Headless operation doesn't allow use of GUI classes such as Java
Foundation Classes (Swing), but does allow the use of graphics rendering
APIs such as Java2D, Java3D, or JAI.

That same page has a very good breakdown of the problem and different
ways around it.  Also, I was pointed to these two pages [1], [2] that both
have some good info on them.

My solution looks to be running Xvfb or VNC.  I'll have to test them each
in the lab to see what works better for us.

Thanks to:

Xvfb:
  Mark Round
  Jacob Ritorto
  Damian Wiest
  Jonathan Burelbach
  Bernd Schemmer
  Matthew Stier
  Jason Grove
  jv711

Java:
  Mark Round
  Peter Ondruska

VNC:
  Hutin Bertrand
  Bernd Schemmer
  Matthew Stier
  Eric Sisson

My original question:

On Thu, 23 Mar 2006, Erek Adams wrote:

> Problem:
>
>   A Java based web app on 'Box B' has a Java app that generates PDFs.
> However for this to work, 'Box B' must set it's DISPLAY to 'Box A'.  That
> means that we need a head on a box in the colo, and must have someone
> login to it and "xhost BoxB".
>
> Wish:
>
>   Remove 'Box A' since that's all it does, and free up a LOT of needed
> rack space.
>
>   Any pointers, clues, links, or sympathy cards are very much appreciated.
>
> -----
> Erek Adams
> Nifty-Type-Guy
> TheAdamsFamily.Net
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>

-----
Erek Adams
Nifty-Type-Guy
TheAdamsFamily.Net


[0]	http://developers.sun.com/solaris/articles/solaris_graphics.html
[1]	http://www.sun.com/bigadmin/content/submitted/virtual_buffer.html
[2]	http://www.itworld.com/AppDev/1461/UIR000330xvfb/A
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Mar 23 13:16:30 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:56 EST