Unable To Call Run Script In MFT Processing Action. (Doc ID 2273858.1)

Last updated on JULY 13, 2017

Applies to:

Oracle Managed File Transfer - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When running a script from MFT using the Actions , "Run Script" , MFT fails with the following error,

[2017-05-21T22:55:07.922-03:00] [mft_server1] [ERROR] [] [oracle.mft.ENGINE] [tid: JCA-work-instance:JMSAdapter-2] [userId: ] [ecid: 7a561bef-9eb5-4be2-8e87-be6998221765-004620d3,0:7] [APP: mft-app] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: 0000LkhrNSFEwGW5xzCCyW1P7LNO00029q] Eror while target message processing[[
MFTException [threadName=JCA-work-instance:JMSAdapter-2, errorID=13fe8de8-a47f-4277-a163-b0c47e7e1105, errorDesc=MFT-4228_Script(/usr/tmp/sftpmv.sh) execution failed with unknown error, ]
at oracle.tip.mft.engine.processsor.plugin.RunScriptPlugin.process(RunScriptPlugin.java:157)
at oracle.tip.mft.engine.processsor.plugin.PluginExecutor.executePreProcessingFunction(PluginExecutor.java:1498)
at oracle.tip.mft.engine.processsor.plugin.PluginExecutor.executePreProcessingFunctions(PluginExecutor.java:728)
at oracle.tip.mft.engine.processsor.plugin.PluginExecutor.executePreProcessingFunctions(PluginExecutor.java:548)
at oracle.tip.mft.engine.processsor.plugin.PluginExecutor.excecuteSourcePreProcessors(PluginExecutor.java:173)
at oracle.tip.mft.engine.message.handler.SourceMessageHandlerImpl.executeSourcePreProcessors(SourceMessageHandlerImpl.java:509)
at oracle.tip.mft.engine.message.handler.SourceMessageHandlerImpl.process(SourceMessageHandlerImpl.java:172)
at oracle.tip.mft.engine.message.handler.SourceMessageHandlerImpl.process(SourceMessageHandlerImpl.java:103)
at oracle.tip.mft.engine.qmessage.listener.SourceQueueMessageListener.processNonTransactedMessage(SourceQueueMessageListener.java:107)
at oracle.tip.mft.engine.qmessage.listener.SourceQueueMessageListener.processNonTransactedMessage(SourceQueueMessageListener.java:74)
at oracle.tip.mft.engine.qmessage.listener.BaseQueueMessageListener.onMessage(BaseQueueMessageListener.java:166)
at oracle.tip.mft.jms.adapters.JCAJmsMessageProcessorService$1.onMessage(JCAJmsMessageProcessorService.java:71)
at oracle.tip.mft.transport.adapter.impl.jms.JMSBindingListenerImpl.post(JMSBindingListenerImpl.java:84)
at oracle.tip.adapter.sa.impl.inbound.JCAInboundListenerImpl.onMessage(JCAInboundListenerImpl.java:226)
at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:666)
at oracle.tip.adapter.jms.inbound.JmsConsumer.doSend(JmsConsumer.java:699)
at oracle.tip.adapter.jms.inbound.JmsNativeConsumer.sendInboundMessage(JmsNativeConsumer.java:104)
at oracle.tip.adapter.jms.inbound.JmsNativeConsumer.send(JmsNativeConsumer.java:66)
at oracle.tip.adapter.jms.inbound.JmsConsumer.runInbound(JmsConsumer.java:917)
at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:840)
at oracle.tip.adapter.sa.impl.fw.jca.work.WorkerJob.go(WorkerJob.java:53)
at oracle.tip.adapter.sa.impl.fw.common.ThreadPool.run(ThreadPool.java:281)
at java.lang.Thread.run(Thread.java:745)


STEPS
-----------------------
1. Create a simple transfer with source and destination.
2. In Actions add a"Run Script"
3. Selected the script to run using the following command : /bin/sh -p /tmp/test.sh -p1




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