For example, with the embedded JRun j2ee server that installs
with Flex (which is a convenience, not a requirement), use the
jrunsvc command to install as a windows service: see
http://livedocs.macromedia.com/jrun/4/Installing_JRun/install5.htm.Once you have done that, set the following property in the
{app_name}\WEB-INF\flex\flex-config.xml for the specific Flex
app(s) that will be running on a headless server (which could be
your case):
<!--
When headless-server is true, the system property
java.awt.headless will be set to true.
This should be used with JDK 1.4+ on servers without
graphics cards and
monitors. Otherwise, the property is not set.
-->
<headless-server>true</headless-server>