on 08-31-2011 8:41 AM
Hello,
We have developed a JAVA mapping (not an adapter module) using some classes of a custom JAR file. This JAR file is not available in the SAP PI server. Hence when I try to upload the JAVA mapping (as zip) in ESR I get an error message.
Can you please let me know where exactly do we need to place this JAR in the PI server so that the JAVA mapping runs without any issue?
I am using PI 7.1
Thanks.
Hi Pankaj ,
when you are using the external jar files in eclipse or netweaver development studio, please import the jar files into your package (using file -> import menu). By this all the class and java files will be imported in your package.
Then run this code once or use (project->build all). Then you export the java and class files again to form the jar/zip file to PI server. This zip will also include the java class files and source code (if any) from the external jar files(which you have imported earlier), thus there is only one jar/zip file to be uploaded in PI server.
Hope this helps.
regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anupam,
I am at NWDS --> File --> Import --> should I select J2EE -> J2EE Utility Jar -> Create JAVA project from Utility Jars -> Select my External Jar.
Am I doing the above steps in correct manner? If not, then can you please rectify?
Also while exporting do I need to take care of the steps to be followed?
Thanks.
Hi Pankaj,
Please use the option ZIP or jar file in (select an import source). Before that select the package wher you need to import, i.e where you have written your source code.
regards
Anupam
_______________________________________________________________________________________________
Hi Pankaj,
Could you please kindly confirm whether you were finally able to place the jar file in PI server?
one small request, if you feel your questions in forum are being answered properly, Please kindly if possible close down the threads. This helps people who look out solutions to similar problems in future. If the threads are closed , then we know for certain that the solution has finally worked.
regards
Anupam
___________________________________________________________________________________________________
Edited by: anupamsap on Sep 1, 2011 2:08 PM
Hi ,
You may attach the custom jar file in a new Imported Archive if it cannot be included in your ZIP file for your java mapping program.
Regards,
Jenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.