Hi Felix, thank you very much, it works now :).
br, edgar On Thu, Jun 5, 2008 at 4:54 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Edgar, > > I think you are missing the jackrabbit-jcr-commons bundle. This should > provide "org.apache.jackrabbit.commons.repository", which is required by > jcr/base. The jcr/jackrabbit-server bundle also includes this package, > but it is private to the bundle. > > You can simply install the jackrabbit-jcr-commons library 1.4.2, which > is an OSGi bundle out of the box. > > Hope this helps. > > Regards > Felix > > Am Mittwoch, den 04.06.2008, 17:48 -0300 schrieb Edgar Poce: >> Hi, >> >> I'm trying to use some of the JCR bundles and I'm having problems >> caused by unresolved dependencies. this problem occurs both in Equinox >> and Felix. I'm using the current version from trunk. >> >> Not sure if it's related but I tried to see which dependencies are >> missing and I found the following: >> >> "Sling - JCR Base Bundle" imports >> "org.apache.jackrabbit.commons.repository", which is in "Sling - >> Jackrabbit Embedded Repository" >> and >> "Sling - Jackrabbit Embedded Repository" imports >> "org.apache.sling.jcr.base", which is in "Sling - JCR Base Bundle" >> >> List of bundles: >> [ 0] [Active ] [ 0] System Bundle (1.0.4) >> [ 1] [Active ] [ 4] Sling - Repository API Bundle >> (2.0.1.incubator-SNAPSHOT) >> [ 2] [Installed ] [ 4] Sling - Jackrabbit Embedded Repository >> (2.0.1.incubator-SNAPSHOT) >> [ 3] [Active ] [ 4] Sling - Simple WebDAV Access to >> repositories (2.0.1.incubator-SNAPSHOT) >> [ 4] [Active ] [ 4] Commons Collections (3.2.1) >> [ 5] [Installed ] [ 4] Sling - JCR Base Bundle >> (2.0.1.incubator-SNAPSHOT) >> [ 7] [Active ] [ 4] Sling - Jackrabbit API Bundle >> (2.0.1.incubator-SNAPSHOT) >> [ 9] [Active ] [ 1] osgi.compendium (4.0.1) >> [ 10] [Active ] [ 1] OPS4J - Pax Logging API (1.1.1) >> [ 11] [Active ] [ 1] OPS4J - Pax Logging Service (1.1.1) >> [ 12] [Active ] [ 1] OPS4J Pax Web - Service (0.4.1) >> [ 13] [Active ] [ 1] Apache Felix Shell Service (1.0.1) >> [ 14] [Active ] [ 1] Apache Felix Shell TUI (1.0.1) >> >> Felix complains with: >> org.osgi.framework.BundleException: Unresolved package in bundle 5: >> package; (package=org.apache.jackrabbit.commons.repository) >> >> Equinox shows the following error: >> [Framework Event Dispatcher] INFO >> org.apache.sling.jcr.jackrabbit.server - FrameworkEvent ERROR >> org.osgi.framework.BundleException: The bundle could not be resolved. >> Reason: Missing Constraint: Import-Package: org.apache.sling.jcr.base; >> version="2.0.1.incubator-SNAPSHOT" >> at >> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305) >> at >> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) >> at >> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297) >> [Framework Event Dispatcher] INFO org.apache.sling.jcr.webdav - >> BundleEvent STARTED >> [Framework Event Dispatcher] INFO org.apache.commons.collections - >> BundleEvent STARTED >> [Framework Event Dispatcher] INFO org.apache.sling.jcr.base - >> FrameworkEvent ERROR >> org.osgi.framework.BundleException: The bundle could not be resolved. >> Reason: Missing Constraint: Import-Package: >> org.apache.jackrabbit.commons.repository; version="0.0.0" >> at >> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305) >> at >> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) >> at >> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) >> at >> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297) >> >> thanks in advance, >> edgar > >
