You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/02/19 21:36:12 UTC

[jira] [Resolved] (OAK-2532) OSGiIT fails on 1.0 branch

     [ https://issues.apache.org/jira/browse/OAK-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved OAK-2532.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.12

A recent commit for OAK-2506 fixed the issue: http://svn.apache.org/r1660681

> OSGiIT fails on 1.0 branch
> --------------------------
>
>                 Key: OAK-2532
>                 URL: https://issues.apache.org/jira/browse/OAK-2532
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Marcel Reutegger
>             Fix For: 1.0.12
>
>
> The error is:
> {noformat}
> (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.jackrabbit.oak-core [27]: Unable to resolve 27.0: missing requirement [27.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.dbcp)(version>=1.4.0)(!(version>=2.0.0))))
> org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.jackrabbit.oak-core [27]: Unable to resolve 27.0: missing requirement [27.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.dbcp)(version>=1.4.0)(!(version>=2.0.0)))
> {noformat}
> Looks like this was introduced when RDBDocumentStore was ported back to the 1.0 branch.
> Changing the Import-Package in oak-core seems to fix it (using the same as in trunk):
> {noformat}
>             <Import-Package>
>               *;resolution:=optional
>             </Import-Package>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)