2 Replies Latest reply on Jan 8, 2008 9:27 AM by (Debaecker)

    Help on component and services.

      So, I'm a new user of Livecycle, and I m trying to create a simple component able to lunch a jsp page or a simple external programm (ie : iexplorer .... ).

      So I wrote a simple component (java + xml), and imported it into livecycle.
      Then the service is available ...

      I've started the porcess, a new action arrived, (for the moment all is fine).
      I execute (complete) the new action based on my custom component, but nothing happend.
      The tracking status is complete.

      I was hoping to see a new explorer but nothing ... :-(

      String s1 = "rundll32 url.dll,FileProtocolHandler ";
      Runtime rt =Runtime.getRuntime();
      try {
      Process p = rt.exec(s1);
      } catch (IOException e) {

      That code is working fine in eclipse or in beanshell.

      So help.
        • 1. Re: Help on component and services.
          Robert Hirst Level 1
          I believe you would need to be logged into the server as the same user who is running JBoss and possibly the JBoss would need to be running as an application and not a service. It's likely the process is triggering (unless you have an exception in your server.log), but you just can't see it. As you are firing up an explorer window it probably won't have an entry in Task Manager either. I'd try with an obvious process you can be sure isn't running first like notepad.exe and check whether it appears in task manager on the server after the code runs.

          It seems strange to be firing up GUI-based applications from a server side process except in the rarest of circumstances. Did you intend for the explorer window to run for the user who is doing the process? If so, I believe that's impossible as Workspace is a Flash application, and Flash very sensibly does not allow execution of code on client machines.
          • 2. Re: Help on component and services.
            Level 1
            In fact the final goal is to retrieve an url built by the component (invoking the service) and to execute that url on the client side.

            How should I do ?

            I'm open to any suggestion.

            with notepad.exe, the process is not started too.