Marion Hofer created FELIX-4358:
-----------------------------------

             Summary: Unable to acquire global lock to install bundle
                 Key: FELIX-4358
                 URL: https://issues.apache.org/jira/browse/FELIX-4358
             Project: Felix
          Issue Type: Bug
          Components: Framework
         Environment: Windows 7, Apache Karaf 2.3.3, Oracle JDK 1.7
            Reporter: Marion Hofer


Hello, 

I am using Felix together with the Apache Karaf 2.3.3 and I am facing problems 
with installing features. 

Every second/third time I am trying to install a feature, I get this exception:

org.osgi.framework.BundleException: Unable to acquire the global lock to 
install the bundle.
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2727)
        at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:872)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:621)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:417)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:405)
        at 
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:401)
        at 
org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)
        at 
org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)
        at 
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.3.3]
        at 
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:173)
        at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
        at 
org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:144)[38:org.apache.karaf.shell.ssh:2.3.3]
        at 
org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:135)
        at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_45]
        at javax.security.auth.Subject.doAs(Subject.java:356)[:1.7.0_45]
        at 
org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:133)[38:org.apache.karaf.shell.ssh:2.3.3]

Is this a known issue? Is there a solution to this problem?



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to