cancel
Showing results for 
Search instead for 
Did you mean: 

Java command line in File adapter

Former Member
0 Kudos

Hi all,

In my receiver file adapter (FTP), I want to use the option "Run operating system command after message processing". In the command I want to execute a java class. Can anybody have information about how to do that ?

My command line in the following : "java myPackage.MyClass %F". This command line works fine on my machine but I don't know how to do when on XI File Adapter (where to set the jar file, ...)

Thanks in advance,

Laurence

Accepted Solutions (0)

Answers (2)

Answers (2)

MichalKrawczyk
Active Contributor
0 Kudos

hi Laurence,

type the same in file adapter

this is how you can see the erros if any :

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

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi-

Check this links if its helpful

http://help.sap.com/saphelp_nw04/helpdata/en/bb/c7423347dc488097ab705f7185c88f/frameset.htm

/people/sap.user72/blog/2004/01/30/command-line-help-utility

Check this thread a similar problem

Former Member
0 Kudos

Thank you for your response.

The third link seems to be interesting but it points to Exchange Infrastructure forum home page. Did you have the real link ?

Thanks in advance,

Laurence

Former Member
0 Kudos

Hi Laurence

XI Command Line Functions::

/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions

1)Windows batch Commands::

http://labmice.techtarget.com/articles/batchcmds.htm

2)Linux:

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

regards

Piyush

Pl: reward points if it is helpful.