cancel
Showing results for 
Search instead for 
Did you mean: 

PI Sender File Adapter OS Commands not working

laxman_molugu
Participant
0 Kudos

Hi Guys,

I have very simple scenario. we are using PI 7.1 with EHP1 on HP hardware with JDK 1.5.2*.

We are processing XML files through Sender File Adapter(NFS) to Idocs. We also need to move some pdf documents to target folders on the same box (basically Sender and Receiver files/foders are mounted to PI OS hence I am using NFS)

I am trying to put a simple OS command copy and mov command.

in the Before Message Processing: cp /tmp/*.pdf /tmp/out/

And in the After Message Processing: mv /tmp/*.pdf /tmp/archive/

In the Adapter Audit logs says these commands are executed but I don't see any effect and there is no error/Traces available even in the Server logs also.

I have been using these OS commands since XI 3.0 I never had any issue.

I have gone through SDN but no luck, Please share your experiences.

Thanks,

Laxman

Edited by: Laxman Molugu on Feb 3, 2010 11:58 AM

Edited by: Laxman Molugu on Feb 3, 2010 11:59 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Why don't u use Michal's approach to see if u have any errors executing the command??

XI: Operation system command - error catching

/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching

-SM

laxman_molugu
Participant
0 Kudos

Siva,

The problem is, even error trapping also did not work. And there was no traces any where in the server.

Thanks,

Laxman

former_member206760
Active Contributor
0 Kudos

hi ,

As i understand your requirement you just want to take the pdf file from one folder of XI server and put it to another..

for this u do not need a OS command..

This requirement is simple ..infact u do not need any IR components as well..

u just have to develop the ID part and wherever it asks for namespace or message interface u can give a dummy one..

this would jst take the pdf file from one folder and send it to another