[flexcoders] Re: flex and automation
Seth, thanks for the reply. What I'm wondering is how to trick the server into running the browser in a headless environment. Does anyone know how to get flex to run this way, in the background? Thanks, DJ --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: If you're rendering the charts in the browser player and then pushing a bitmap back to the server, that needs to run in a browser (or in AIR, also not headless). Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, June 27, 2008 7:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex and automation There are no flex user groups in my area and I've been trying for a long time to find a solution to this problem with no success. I need to generate a series of charts every few minutes/hours/days on an automated basis. I pull the data for the charts from the database and draw the chart, then save it as an image and potentially notify someone where they can find the image as a png or a pdf. I am using java on the backend to communicate with the database and flex to draw the charts. The same app which draws the chart can also be called by a user to get a live snapshot. But the automation just isn't working. It works fine on my local development machine, but this application is deployed on a headless server and the flex process never gets to launch since it needs to run on a browser. I've looked at solutions for getting it to run headless but so far I can't get it to work. Does anyone know how to automate flex in this way? I know flex is meant to be interactive, but is there anyway I can still use the flex charting for automated output?
Re: [flexcoders] Re: flex and automation
If there is, I haven't found it. We've got a similar requirement for being able to capture charting output on a scheduled basis and have determined that we'll more than likely have to drop the requirement unless we can get a browser and supporting libraries installed on the server. --chris On Fri, Jun 27, 2008 at 1:20 PM, netdeep [EMAIL PROTECTED] wrote: Seth, thanks for the reply. What I'm wondering is how to trick the server into running the browser in a headless environment. Does anyone know how to get flex to run this way, in the background? Thanks, DJ --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: If you're rendering the charts in the browser player and then pushing a bitmap back to the server, that needs to run in a browser (or in AIR, also not headless). Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, June 27, 2008 7:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex and automation There are no flex user groups in my area and I've been trying for a long time to find a solution to this problem with no success. I need to generate a series of charts every few minutes/hours/days on an automated basis. I pull the data for the charts from the database and draw the chart, then save it as an image and potentially notify someone where they can find the image as a png or a pdf. I am using java on the backend to communicate with the database and flex to draw the charts. The same app which draws the chart can also be called by a user to get a live snapshot. But the automation just isn't working. It works fine on my local development machine, but this application is deployed on a headless server and the flex process never gets to launch since it needs to run on a browser. I've looked at solutions for getting it to run headless but so far I can't get it to work. Does anyone know how to automate flex in this way? I know flex is meant to be interactive, but is there anyway I can still use the flex charting for automated output? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Re: flex and automation
DJ, Peter Martin has description how to run gflashplayer in a framebuffer here: http://weblogs.macromedia.com/pmartin/archives/2007/01/ continous_integ.html HTH florian Am 27.06.2008 um 20:20 schrieb netdeep: Seth, thanks for the reply. What I'm wondering is how to trick the server into running the browser in a headless environment. Does anyone know how to get flex to run this way, in the background? Thanks, DJ --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: If you're rendering the charts in the browser player and then pushing a bitmap back to the server, that needs to run in a browser (or in AIR, also not headless). Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, June 27, 2008 7:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex and automation There are no flex user groups in my area and I've been trying for a long time to find a solution to this problem with no success. I need to generate a series of charts every few minutes/hours/ days on an automated basis. I pull the data for the charts from the database and draw the chart, then save it as an image and potentially notify someone where they can find the image as a png or a pdf. I am using java on the backend to communicate with the database and flex to draw the charts. The same app which draws the chart can also be called by a user to get a live snapshot. But the automation just isn't working. It works fine on my local development machine, but this application is deployed on a headless server and the flex process never gets to launch since it needs to run on a browser. I've looked at solutions for getting it to run headless but so far I can't get it to work. Does anyone know how to automate flex in this way? I know flex is meant to be interactive, but is there anyway I can still use the flex charting for automated output?
[flexcoders] Re: flex and automation
Am I missing something. Can't you just set the headless server option? From the Manual: A headless server is one that is running UNIX or Linux and often does not have a monitor, keyboard, mouse, or even a graphics card. Headless servers are most commonly encountered in ISPs and ISVs, where available space is at a premium and servers are often mounted in racks. Enabling the headless mode reduces the graphics requirements of the underlying system and can allow for a more efficient use of memory. If you deploy a Flex application on a headless server, you must set the headless-server option of the compiler to true. Setting this option to true is required to support fonts and SVG images in a nongraphical environment. --- In flexcoders@yahoogroups.com, Florian Sprenger [EMAIL PROTECTED] wrote: DJ, Peter Martin has description how to run gflashplayer in a framebuffer here: http://weblogs.macromedia.com/pmartin/archives/2007/01/ continous_integ.html HTH florian Am 27.06.2008 um 20:20 schrieb netdeep: Seth, thanks for the reply. What I'm wondering is how to trick the server into running the browser in a headless environment. Does anyone know how to get flex to run this way, in the background? Thanks, DJ --- In flexcoders@yahoogroups.com, Seth Hodgson shodgson@ wrote: If you're rendering the charts in the browser player and then pushing a bitmap back to the server, that needs to run in a browser (or in AIR, also not headless). Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, June 27, 2008 7:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex and automation There are no flex user groups in my area and I've been trying for a long time to find a solution to this problem with no success. I need to generate a series of charts every few minutes/hours/ days on an automated basis. I pull the data for the charts from the database and draw the chart, then save it as an image and potentially notify someone where they can find the image as a png or a pdf. I am using java on the backend to communicate with the database and flex to draw the charts. The same app which draws the chart can also be called by a user to get a live snapshot. But the automation just isn't working. It works fine on my local development machine, but this application is deployed on a headless server and the flex process never gets to launch since it needs to run on a browser. I've looked at solutions for getting it to run headless but so far I can't get it to work. Does anyone know how to automate flex in this way? I know flex is meant to be interactive, but is there anyway I can still use the flex charting for automated output?