tomcat, JBoss etc. Should be headless?

Alexey Zelkin phantom at freebsd.org
Tue Mar 30 15:37:10 PST 2004


hi,

On Tue, Mar 30, 2004 at 12:42:53PM +0100, Mark Dixon wrote:
> Hi,
> 
> 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=true set?
> 
> If nobody can think of a disadvantage to this, I'll work on a patch that
> makes it an tuneable in the makefiles with an eye to making it a default
> option at a later date.

This reminds me one of past project which used to generate colored PDFs.
Default way to manipulate colors was to use awt methods (I don't remember
details) which did not work in headless case.

I think it's better to leave everything as is.  (JIMHO)



More information about the freebsd-java mailing list