tomcat, JBoss etc. Should be headless?
Jan.Grant at bristol.ac.uk
Wed Mar 31 01:10:11 PST 2004
On Tue, 30 Mar 2004, Dag-Erling Sm=F8rgrav wrote:
[on -Djava.awt.headless=3Dtrue ]
DES > What exactly would be the point?
JG > The AWT canvas & related classes are (supposedly) available for the
JG > dynamic generation of graphics, without needing an X server somewhere.
> In that case, isn't the onus on the application developer to make sure
> at runtime that awt knows to run headless?
Replace "developer" with "deployer" and the answer is "yes", certainly.
The headless support in 1.4 is much improved over previous versions - I
don't know if the colour manipulation problems that another poster
referred to are still present, but in the face of such glitches the
person responsible for rolling out the app has to make an appropriate
choice between Xvfb and headless, I suppose. If those problems are not
still present, this suggestion seems harmless and potentially mildly
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
ioctl(2): probably the coolest Unix system call in the world
More information about the freebsd-ports