org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\Documents and Settings\Administrator\liferay\lucene\0\write.lock

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Icesoft by petar_b, 1 year ago
Lock obtain timed out: SimpleFSLock@C:\Documents and Settings\Administrator\liferay\lucene\0\write.lock
via liferay.com by Unknown author, 2 years ago
Lock obtain timed out: SimpleFSLock@C:\liferay-repository\lucene\0\write.lock
via wordpress.com by Unknown author, 1 year ago
via google.com by Unknown author, 2 years ago
Lock obtain timed out: NativeFSLock@/Users/Eliot/dev/ditto/ditto-appengine/WEB-INF/appengine-generated/indexes/dGVzdA/b2ZmZXJzU2VhcmNoSW5kZXg..P/write.lock
via Eclipse Bugzilla by grant_gayed, 1 year ago
Lock obtain timed out: NativeFSLock@/bluebird/teamswt/ggayed/37RC3/solaris-x86/eclipse/configuration/org.eclipse.help.base/index/en_US/write.lock: java.io.IOException: Invalid argument
via Sonatype JIRA by Peter Lynch, 1 year ago
Lock obtain timed out: NativeFSLock@/app/nexus-testing/2.3.1-01/nexus-professional-2.3.1-01-bundle-2/sonatype-work/nexus/indexer/hosted-1-ctx/write.lock
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\Documents and Settings\Administrator\liferay\lucene\0\write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:70)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:598)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:410)
at com.liferay.portal.lucene.IndexWriterFactory.getWriter(IndexWriterFactory.java:188)
at com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:338)
at com.liferay.portal.lucene.LuceneUtil.getWriter(LuceneUtil.java:332)
at com.liferay.portal.plugin.PluginPackageIndexer.addPluginPackage(PluginPackageIndexer.java:76)
at com.liferay.portal.plugin.PluginPackageIndexer.updatePluginPackage(PluginPackageIndexer.java:221)
at com.liferay.portal.plugin.PluginPackageUtil._indexPluginPackage(PluginPackageUtil.java:494)
at com.liferay.portal.plugin.PluginPackageUtil._parseRepositoryXml(PluginPackageUtil.java:784)
at com.liferay.portal.plugin.PluginPackageUtil._loadRepository(PluginPackageUtil.java:684)
at com.liferay.portal.plugin.PluginPackageUtil._getRepository(PluginPackageUtil.java:430)
at com.liferay.portal.plugin.PluginPackageUtil._getAvailablePluginPackages(PluginPackageUtil.java:343)
at com.liferay.portal.plugin.PluginPackageUtil._unregisterInstalledPluginPackage(PluginPackageUtil.java:1290)
at com.liferay.portal.plugin.PluginPackageUtil.unregisterInstalledPluginPackage(PluginPackageUtil.java:249)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireUndeployEvent(HotDeployUtil.java:104)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:46)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4516)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4380)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.