Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Accessing a file in a jar

Hi All,

I have a program (java mapping) in which i want to access some values from a file. Hence i have the file as part of my imported archive (jar)

But seems in PI, it doesn't recognize the file.


my jar file contains



and myfile.txt is being refereed by the program (it works in standalone) but in PI it fails to find the file

Any comments? I am on PI 7.1 EHP1

Note: I can place the file on the PI server directory and refer it in my program but I dont want to do so and want to make the file as part of the imported archive only.

~~ Shabz

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question