LGV Command system Fails. 'cmd' is not recognized as an internal or external command, operable program or batch file. (Doc ID 750133.1)

Last updated on JULY 11, 2016

Applies to:

Oracle Agile Engineering Data Management - Version 6.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 05-Aug-2011***


Symptoms

When attempting to call the "cmd.exe" with the system command in LogiView
the following error occurs - logged in file
<ep_root>/tmp/axalant-<hostname>-<process-id>.err:

ERROR
'cmd' is not recognized as an internal or external command, operable program or batch file.

The same LogiView procedure works with Agile e6.0.4 in a standard environment without errors

Steps To Reproduce:
The issue can be reproduced at will with the following steps:
1. Start the JavaClient
2. Create a LogiView procedure for example "SCE/CmdTest"
3. Add one line: system("cmd /c sleep 10")
4. Error occurs: Call of function 'system(cmd /c sleep 10)' returns error 1 !

Prerequisites for this example:
Unix utilities for Windows are installed in path: C:\unixtools and the path was added to the system path variable
e.g:
Executable "sleep.exe" is available in directory C:\unixtools


Changes

Upgrade from Agile e5.1/ Agile 6.0 to Agile e6.1

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms