Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3414

BundleException: Unable to acquire global lock for resolve

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • fileinstall-3.2.0
    • fileinstall-3.2.4
    • File Install
    • None
    • Windows 7. org.apache.felix.framework:4.0.2

    Description

      After trying to use latest org.apache.felix.fileinstall-3.2.0 I always get the following error. The bundle that fails it not always the same. It changes.Downgrading back to org.apache.felix.fileinstall-3.1.10 always works fine.

      Installed C:\Users\user\install\versions\strategy-server-1.0-SNAPSHOT\instances\1-a\strategies\example-1.0-SNAPSHOT.jar
      ...
      Error while starting bundle: file:/C:/Users/user/install/versions/strategy-server-1.0-SNAPSHOT/instances/1-a/strategies/example-1.0-SNAPSHOT.jar: org.osgi.framework.BundleException: Unable to acquire global lock for resolve.
      org.osgi.framework.BundleException: Unable to acquire global lock for resolve.
      at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3832)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1232)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1206)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:491)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:219)
      at org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:247)
      at org.apache.felix.fileinstall.internal.FileInstall.start(FileInstall.java:150)
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:641)
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:1977)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1895)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
      at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
      at java.lang.Thread.run(Thread.java:662)
      [2012-03-29 23:24:37,788][INFO][FelixDispatchQueue][server.osgi.StrategyEngineHost] FrameworkEvent: org.apache.felix.framework [0] PACKAGES_REFRESHED null

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              felix_user Leon
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: