Hi All,
I am trying to call the OS commands in File adaper, when i check the Audit log i am getting Error exectuting the command. the same command when i check in OS its working fine.
i have collected the debug log and i can see the message saying
Catching #1#java.io.IOException: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at com.sap.aii.af.lib.util.system.CommandLauncher.exec(CommandLauncher.java:64)
at com.sap.aii.adapter.file.util.OSCommand.exec(OSCommand.java:58)
at com.sap.aii.adapter.file.util.OSCommand.exec(OSCommand.java:33)
at com.sap.aii.adapter.file.File2XI.processFileList(File2XI.java:991)
at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:622)
at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:500)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:266)
I hope the problem with problem XI communication with OS level, Could you pls suggest me the problem?
Thanks,
Venkat