on 08-12-2011 10:21 AM
Hello,
We are creating a Web Service from EAR project and we need to include a third party library. At ths moment We are able to import the jar files of this third party library but the resources (properties files and a XML file) associated can not be loaded at runtime.
This resources are necessary to initialize the third party library and We are not able to modify the path because it's hardcoded inside libraries. Moreover, we are deploying this Web Service (and ear project related to) in SAP PI 7.1 EHP1 and we are using NWDS 7.0.10 (due to this version we create a .sda from .ear and deploy manually in the system).
In order to find automatically the resource bundle, Where is the best suitable place to locate this resources inside the ear or ejb project ? Is it necessary to change application-j2ee-engine.xml to include some references to this resources?
Thanks in advance,
Best Regards,
David
Hi,
Create an external library DC from your third party library, and reference this DC from your own DC. No need to unpack the 3rd party JAR files.
Regards,
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.