On Wed, 23 Feb 2005 12:30:59 -0700, Kevin Conboy <[EMAIL PROTECTED]> wrote: > > Hello, all. We're attempting to install a new Flex application on our > headless Solaris server for cooperative development on Flex prototypes > for an eventual application. When attempting to view our application in > a browser, we get > > "An error occurred because there is no graphics environment available. > Please set the headless-server setting in the configuration file to > true." > > However, this setting is set everywhere it can be, and restart after > restart of the Jrun server and redeployment of the application, we > still receive this error. > > Any thoughts? Our samples application runs with no problems.
In our jvm.config file, we have this switch in the java.args line: -Djava.awt.headless=true In the flex-config.xml file under each context root in our flex server, there is a <headless> attribute (roughly line 145 depending on any edits you might have made). Once we made those changes and restarted the instance, everything worked. Hope this helps? Regards, Dave.

