WAS 8.5配置文件创建。无法运行程序“$ {env.SYSTEMROOT} \ system32 \ CScript.exe”

时间:2016-09-27 06:45:06

标签: websphere

我正在尝试在Websphere 8.5机器中创建新的配置文件;但它给了我以下异常

Caused by: java.io.IOException: Cannot run program "${env.SYSTEMROOT}\system32\CScript.exe" (in directory "was85\AppServer\profileTemplates\default\actions"): CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1059)
    at java.lang.Runtime.exec(Runtime.java:631)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)

机器配置是 Windows 7..64位...和Websphere 8.5.5

0 个答案:

没有答案