I was getting an exception while doing manage extension for my cba in worbench.
Reason behind that was:
Reason behind that was:
When deploying
multiple applications to an application server
at the same
time, CWSAL0015 errors may be reported:
CWSAL0015E:
Cannot resolve
EBA file. Exception:
org.apache.aries.application.management.ResolverException:
The
system cannot
provision the EBA <application> because the
following
problems in the dependency chain were detected
If the
applications are redeployed individually, with no other
application
deployment activity on the server, the problem does
not occur.
If deploying OSGi applications at exactly the same time, it
is possible for an internal data structure to be overwritten
by multiple threads. This causes OSGi dependency resolution to
fail, as OSGi bundles are not registered correctly.
If more than one cbas are trying to deploy on operational server this error will occur.
You will have to check the Manifest.MF and Compositebundle.MF for overwritten package entries, and redeploy cba again.
Hi Geeta,
ReplyDeleteAs MDM11 gives us the facility to add multiple projects into 1 CBA, so why we should deploy individual projects CBA's on the server.
I am facing the same issue due to multiple projects dependency on a single project, what should I do then?
Error is :
CWSAJ0078E: A resolution problem has occurred while adding an extension to composition unit EBA. The exception is: org.apache.aries.application.management.ResolverException: Resolution of asset EBA indicates invalid dependencies of shared content on application content
Waiting for your reply.
Thanks
Shweta
Hi Shweta,
ReplyDeleteYou will have to check the Manifest.MF and Compositebundle.MF for overwritten package entries(there can be possibility to have unused packages or old packages resent in the manifest file.), check one by one entry in manifest and redeploy cba again.
I doubt some entries have been missed or extra entries got placed in manifest file.
I hope that will work.
You might be including apache aries header in blueprint.xml and APAR support is available in fix pack WAS 8.5.5.2.
ReplyDeleteCan you please check ur WAS version & update it with latest fix pack.