tomcat, JBoss etc. Should be headless?

Jan Grant Jan.Grant at
Tue Mar 30 09:31:11 PST 2004

On Tue, 30 Mar 2004, Dag-Erling Sm=F8rgrav wrote:

> Mark Dixon <mark at> 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.
Tel +44(0)117 9287088 Fax +44 (0)117 9287112
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-ports mailing list