[
https://issues.apache.org/jira/browse/GERONIMO-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620166#comment-13620166
]
Jarek Gawor edited comment on GERONIMO-6443 at 4/2/13 7:36 PM:
---------------------------------------------------------------
With Equinox debugging turned on we see the output like the following:
...
Combination is not better that current best: 13>=13
[0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0]
Combination is not better that current best: 14>=13
Uses constraint check has timedout. Using the best solution found so far.
Best combination found: [1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0]
Found conflicting constraint: Import-Package: com.ctc.wstx.api; version="3.2.0"
in bundle [org.apache.geronimo.bundles.woodstox_3.2.9.1]
Found conflicting constraint: Import-Package: com.ctc.wstx.msv; version="3.2.0"
in bundle [org.apache.geronimo.bundles.woodstox_3.2.9.1]
...
It looks like Equinox times out trying to resolve the package uses conflicts.
This timeout can be increased by setting "osgi.usesTimeout" property (it's 30
seconds by default). However, setting it to something larger then 30 seconds or
making it unlimited doesn't really help as Equinox just keeps looking for a
better solution. However, forcing bundle resolution again (after the first try)
seems to work ok.
was (Author: [email protected]):
With Equinox debugging turned on we see the output like the following:
...
Combination is not better that current best: 13>=13
[0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0]
Combination is not better that current best: 14>=13
Uses constraint check has timedout. Using the best solution found so far.
Best combination found: [1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0]
Found conflicting constraint: Import-Package: com.ctc.wstx.api; version="3.2.0"
in bundle [org.apache.geronimo.bundles.woodstox_3.2.9.1]
Found conflicting constraint: Import-Package: com.ctc.wstx.msv; version="3.2.0"
in bundle [org.apache.geronimo.bundles.woodstox_3.2.9.1]
...
It looks like Equinox times out trying to resolve the package uses conflicts.
But forcing bundle resolution again seems to work ok.
> Bundles resolve even though "package uses conflict" error is reported during
> EBA deployment
> --------------------------------------------------------------------------------------------
>
> Key: GERONIMO-6443
> URL: https://issues.apache.org/jira/browse/GERONIMO-6443
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Aries
> Affects Versions: 3.0.0
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
>
> During EBA deployment "uses directive conflict" errors are reported and the
> given bundles are left in Installed state. However, starting or resolving the
> bundles again is successful (and the bundles move to Active or Resolved
> state).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira