This has nothing to do with LCDS. Perhaps your app server defines a security restriction on the Runtime class or exec() method. I've never tried making a Runtime.exe() call from a Servlet. I'd suggest debugging this by dropping your call into a simple Servlet or JSP, and be sure to make your call within a try/catch and dump out any Exception info. Once that's working (assuming it can), it'll work fine from within a remote object hosted by LCDS.
In terms of the general approach, you're doing the right thing. There's no way to kick off an executable from within the browser player directly. Good luck, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chitra S.Pai Sent: Thursday, June 12, 2008 8:16 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] LCDS gets Killed !!! Hi Seth, Actually the server get destroyed when I call the Java function which contain a new process. I don't know why? Is this because LCDS doesn't allow child process in it ? I am really confused what is actually happening. As the server command prompt get closed also I cannot trace what is going on.. Actually I am trying to run an external exe through Java code using LCDS and Flex. Flex cannot directly instantiate the exe so I am going through Java and all.. And to run Java code with Flex I am using LCDS as interface. Do I have some other option to run Java code with Flex and without LCDS Hope there is a solution for this... Chitra On Fri, Jun 13, 2008 at 12:12 AM, Seth Hodgson <[EMAIL PROTECTED]> wrote: What do you mean by killed? Is your call to exec() throwing an Exception, and if so is it showing up in your server logs? Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chitra S.Pai Sent: Thursday, June 12, 2008 6:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS gets Killed !!! Hi, I am trying to run a Java code from LCDS and I am facing the following problem.. LCDS process gets killed... In the Java function I am trying to invoke an exe using runtime.exec(); The Java code is working fine when tested separately. Please... Help me.. Chitra