Skip to Content
0
Former Member
Aug 21, 2011 at 05:18 PM

Problem with to run program operating system command

417 Views

Hello everybody,

I have a scenario XI adapter - to - File adapter (using SAP PI 7.0 installed in AIX version 5.3) The File Adapter is the receiver. I'm using the option Run Operating System Command After Message Processing for execute a program made in Java (java /<path>/<path_program>/Program (Program is type *.class))

The parameters the Adapter File are:

Transport Protocol: File System (NFS)

Message Protoco: File

Adapter Engine: Integration Server

In Processing tab, the parameters are:

Processing Parameters

File Construction Mode: Create

Overwrite Existing File (checked)

Write Mode: Directly

File Type: Binary

Run Operating System Command After Message Processing

Command Line: java /usr/folder/share/test/Program

(Program is a java program with class extension).

When the Adapter is Actived the channel monitor show me

Status: Success

Description: Execute OS command "java /usr/folder/share/test/Program"

(The java program realized a Math operations and write them in a File created in the same program)

The problem is that never I to see the file that java program should created.

Note: java version "1.4.2"

I hope that you can help me.

Thank you in advance.