On 7/26/05, Clint Modien <[EMAIL PROTECTED]> wrote: > I've set the server to be headless in the flex config... because we're > deploying onto an ibm mainframe... > > I'm embedding one image (the application background) > > I still get the error coming up that says I need to set the flexConfig to > headless. (after i've set it to headless) > > I've tried rebooting the app... > I've tried rebooting the server... > I have NOT tried rebooting the mainframe as I would no doubt be drawn and > quartered... (as if they would let me anyway) > > anyone ever tried setting a server's config to headless? > > The error goes away... if i do not embed this "one" and only image using > this code backgroundImage="@Embed('background.jpg')" >
Try adding this to your java.args line in your jvm.config file: -Djava.awt.headless=true Restart your instance and you should be fine. Regards, Dave. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/