Hello,
We are working on SAP CE 71, and NWDI. We have 2 tracks each containing a J2EE application (EJB based).
The first application contains an external libray DC. The ear DC of this app contains dependencies to this external lib DC, and when I deploy this application all works well.
When I deploy a scond application (that also uses an external lib DC), residing in a different track, the proper working of the first application is disturbed: it does not find the classes of its external library anymore.
When I redeploy the first application, it works well again and its finds all its classes.
What am I missing here?
Things I tried to solve this problem:
-
A) I went through the post Confusion about third-party-libraries in different versions in CE 71. and tried out storing the external lib DC in a seperate ear but that did not help.
B) I also added a weak reference in my application-j2ee-engine.xml but that did not help:
- the jar file containing the classes to be found is poi-3.6-20091214.jar and is contained in my ear component.
- so I added this to my application-j2ee-engine.xml :
<reference reference-type="weak">
<reference-target
target-type="library">poi-3.6-20091214</reference-target>
</reference>
But when I deploy my application I get an error:
Description:
1. Warning exception has been returned while the [eandis.be/169_sit~ear] was starting. Warnings:[
][
Warning occurred on server 665243852 during startApp eandis.be/169_sitear : Library poi-3.6-20091214 is not deployed or loaded, but resolving of application eandis.be/169_sitear continues because it has weak reference to this library.
Warning occurred on server 665243851 during startApp eandis.be/169_sitear : Library poi-3.6-20091214 is not deployed or loaded, but resolving of application eandis.be/169_sitear continues because it has weak reference to this library.
Warning occurred on server 665243850 during startApp eandis.be/169_sitear : Library poi-3.6-20091214 is not deployed or loaded, but resolving of application eandis.be/169_sitear continues because it has weak reference to this library.
]