[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [virgo-dev] Duration for resolving uses-conflicts
|
Hi Stefan
Could you please open a Bug on Bugzilla against 3.7.0.RC01, including a
simple set-up how we can reproduce this behavior? In the best case you
can attach an example which we can use to deploy and test.
Please also elaborate a bit more about your statement: "... after a
certain duration the resolver gives up and just returns the
configuration with the least conflicts". In my experience the bundles
are resolved or fail to resolve, I don't know anything about a good or a
less good conflict resolution mechanism in Virgo. So my guess is I do
not fully understand what you mean by that?
Regards,
Dani
On 02/08/2017 10:04 AM, Stefan Zugal wrote:
Hi all,
I am also looking forward to Virgo 3.7.0 - thanks for all the effort!
We are currently testing our software on the newest build and facing
troubles with resolving bundles:
When starting Virgo with our bundles added, everything resolves fine
and Virgo starts nicely. As soon as we add the Snaps plan (which we
need) to the "initialArtifacts" in
org.eclipse.virgo.kernel.userregion.properties, the startup hangs for
30-90 seconds and proceeds afterwards. After some digging we found out
that the time is spent in resolving uses-conflicts - after a certain
duration the resolver gives up and just returns the configuration with
the least conflicts. These remaining conflicts seem fine enough for
resolving the bundles. When the Snaps plan is not included in the
initialArtifacts, also uses-conflicts can be found, but those are
quickly resolved.
We found that the resolving of uses-conflicts can be turned off using
option "osgi.resolver.usesMode=ignore" (however, that causes Virgo to
fail at all). Does anybody have experience in debugging these
uses-conflicts? As far as I understand, this is more an OSGI issue
than a Virgo issue, but I hoped that perhaps someone of you might have
an idea.
Cheers,
Stefan
_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/virgo-dev