4 Replies Latest reply on Jun 20, 2007 7:35 AM by Newsgroup_User

    CFEXECUTE

    user4cfm Level 1
      I am facing problem trying to run calc.exe using cfexecute tag .
      its starts process in background but never starts application( we can see the process running in TaskManager but cant see application).
      Please guide me how to resolve this prob.

      Thanks
        • 1. Re: CFEXECUTE
          Level 7
          WHY would you be wanting to start WIndows Calculator on the CF server? It
          makes no sense: it's a desktop application, not a server application.

          What are you trying to achieve?

          --
          Adam
          • 2. Re: CFEXECUTE
            user4cfm Level 1
            I tried to run cmd.exe and facing the same problem with it.
            actaually i want to run a java application on sever .

            Now can you help me out .

            Thanks
            • 3. Re: CFEXECUTE
              Level 7
              user4cfm wrote:
              > I am facing problem trying to run calc.exe using cfexecute tag .
              > its starts process in background but never starts application( we can see the
              > process running in TaskManager but cant see application).

              well you won't get far w/GUI apps or ones that expect input from the console.
              • 4. Re: CFEXECUTE
                Level 7
                > I tried to run cmd.exe and facing the same problem with it.
                > actaually i want to run a java application on sever .

                And it's a *command line* Java application? Does it not have an API?

                What happens when you go:

                <cfexecute name="/path/to/java.exe" arguments="/path/to/your/app other args
                here">

                Bear in mind that the system a/c that CF uses bt default has very few
                permissions, so you might need to check it can see the various files needed
                to execute the app.

                --
                Adam