on 10-22-2009 5:40 PM
Hello,
I'm developing a PI 7.1 EHP1 adaptermodule.
When exporting the ear I end up with all the jar files in the ear, including
u2013 com.sap.aii.af.lib.mod.jar: <bin>/ext/com.sap.aii.af.lib/lib
u2013 com.sap.aii.af.ms.ifc_api.jar: <bin>/ext/bin/interfaces/com.sap.aii.af.ms.ifc/lib
u2013 sap.comtcloggingjavaimpl.jar: <bin>/system
u2013 com.sap.aii.af.svc_api.jar: <bin>/services/com.sap.aii.af.svc/lib
u2013 com.sap.aii.af.cpa.svc_api.jar: <bin>/services/com.sap.aii.af.cpa.svc/lib
u2013 com.sap.aii.af.ms.ifc_api.jar: <bin>/interfaces/com.sap.aii.af.ms.ifc/lib
u2013 <bin> = /usr/sap/<SID>/J01/j2ee/cluster/bin
It seems not right as all the libraries are already on the server.
I have put the libraries on the classpath as external jars.
I expect to have just the adapter module jar in the ear.
What can be done to stop adding the jars?
Best regards
Otto
hi,
I had the same problem with PI 7.1 and the solution I found so far is:
1- create a dummy EAR project where you add the JARs (those that should not be included in your final EAR). This dummy EAR will not be deployed in the server
2- in your EJB module project, right click and select "add/remove application libraries". Here you make the link to your dummy EAR. The classes included in the jars of the dummy EAR can therefore be used in your ejb module.
3- now create the final EAR, the libraries that were part of the dummy EAR will be skipped.
with XI the solution is similar but you use a SAP Library project instead of a dummy EAR
regards
Marcos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could you refer this how to guide?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suggest you to recheck ecreate the .ear.
Please check from pg38 in this document
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.