tomcat, JBoss etc. Should be headless?
Jan.Grant at bristol.ac.uk
Tue Mar 30 09:31:11 PST 2004
On Tue, 30 Mar 2004, Dag-Erling Sm=F8rgrav wrote:
> Mark Dixon <mark at markdnet.demon.co.uk> writes:
> > Given that these server type java ports run as daemon processes in the
> > backgroundm wouldn't it be wise to start them up with
> > -Djava.awt.headless=3Dtrue set?
> What exactly would be the point?
The AWT canvas & related classes are (supposedly) available for the
dynamic generation of graphics, without needing an X server somewhere.
It's a fairly specialist case but I've had to do this for deployed
servlets in the past*.
* Deployed on Solaris in that case, but that's irrelevant here.
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/
You know something's gone badly wrong when your algorithm
takes O(n^2) time but uses O(2^n) space.
More information about the freebsd-java