[ https://issues.apache.org/jira/browse/KARAF-5640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400084#comment-16400084 ]
vijay p commented on KARAF-5640: --------------------------------- Even after having JAVA env set, I get the same error. > Unable to acquire the state change lock for apache.felix.fileinstall > -------------------------------------------------------------------- > > Key: KARAF-5640 > URL: https://issues.apache.org/jira/browse/KARAF-5640 > Project: Karaf > Issue Type: Question > Components: karaf-osgi > Affects Versions: 4.1.4 > Reporter: vijay p > Priority: Major > > Hi , > I tried to install karaf 4.1.4 and i am getting the following error . > {code} > 2018-02-22T14:56:12.912+0100 | ERROR | blisher@6eebc39e | o.a.f.fileinstall | > ogback.internal.FrameworkHandler 144 | 9 - org.apache.felix.fileinstall - > 3.6.4 | FrameworkEvent ERROR - org.apache.felix.fileinstall > org.osgi.framework.BundleException: Unable to acquire the state change lock > for the module: osgi.identity; osgi.identity="org.apache.felix.fileinstall"; > type="osgi.bundle"; version:Version="3.6.4" [id=9] STOPPED [STOPPED] > at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337) > at org.eclipse.osgi.container.Module.stop(Module.java:490) > at > org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661) > at > org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580) > at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270) > at > org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147) > at org.eclipse.osgi.container.Module.doStop(Module.java:636) > at org.eclipse.osgi.container.Module.stop(Module.java:498) > at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202) > at > org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 > seconds to acquire the lock. > at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334) > ... 10 common frames omitted > {code} > May i know where am i wrong and could you give me a solution on how to > resolve this. -- This message was sent by Atlassian JIRA (v7.6.3#76005)