Chitra, If ur trying to run an exe from Java then it will run on Server. Well u can call the servlet from flex using HttpService(In flex). Put all the stuff inside the service method of the servlet.
Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 ----- Original Message ---- From: Chitra S.Pai <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, June 13, 2008 8:45:49 AM 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] com> 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: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Chitra S.Pai Sent: Thursday, June 12, 2008 6:36 AM To: [EMAIL PROTECTED] ups.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

