• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFEXECUTE

New Here ,
Jun 20, 2007 Jun 20, 2007

Copy link to clipboard

Copied

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
TOPICS
Advanced techniques

Views

476

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 20, 2007 Jun 20, 2007

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2007 Jun 20, 2007

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 20, 2007 Jun 20, 2007

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 20, 2007 Jun 20, 2007

Copy link to clipboard

Copied

LATEST
> 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation