<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1262 "Lock obtain timed out" error thrown when starting the application server</title><link>https://community.appian.com/support/w/kb/624/kb-1262-lock-obtain-timed-out-error-thrown-when-starting-the-application-server</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1262 "Lock obtain timed out" error thrown when starting the application server</title><link>https://community.appian.com/support/w/kb/624/kb-1262-lock-obtain-timed-out-error-thrown-when-starting-the-application-server</link><pubDate>Mon, 23 Jul 2018 03:42:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae25f61d-f2b5-4c66-a66c-f1343178f5c3</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/624/kb-1262-lock-obtain-timed-out-error-thrown-when-starting-the-application-server#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 7/23/2018 3:42:04 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;[Appian ReschedulingTimerTask - SearchIndexSyncTimerTask - XXXXX] ERROR com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask - [Search index sync: jdbc/XXXX] XXXX consecutive errors. Will try again in XXXX ms.&lt;br /&gt; ...&lt;br /&gt; Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:&amp;lt;APPIAN_HOME&amp;gt;/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry/write.lock&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error typically occurs when the application server is improperly shut down.&lt;/p&gt;
&lt;p&gt;In a distributed environment, this error can occur if the network drive where &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin&lt;/code&gt; resides becomes unavailable while the application server is starting up or shutting down. The network drive becoming unavailable would prevent the deletion of the &lt;strong&gt;write.lock&lt;/strong&gt; file.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Stop the application server.&lt;/li&gt;
&lt;li&gt;Delete the &lt;strong&gt;write.lock&lt;/strong&gt; file in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Restart the application server.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: June 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1262 "Lock obtain timed out" error thrown when starting the application server</title><link>https://community.appian.com/support/w/kb/624/kb-1262-lock-obtain-timed-out-error-thrown-when-starting-the-application-server/revision/2</link><pubDate>Thu, 16 Nov 2017 08:33:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae25f61d-f2b5-4c66-a66c-f1343178f5c3</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/624/kb-1262-lock-obtain-timed-out-error-thrown-when-starting-the-application-server#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 11/16/2017 8:33:03 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;[Appian ReschedulingTimerTask - SearchIndexSyncTimerTask - XXXXX] ERROR com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask - [Search index sync: jdbc/XXXX] XXXX consecutive errors. Will try again in XXXX ms.&lt;br /&gt; ...&lt;br /&gt; Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:&amp;lt;APPIAN_HOME&amp;gt;/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry/write.lock&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error typically occurs when the application server is improperly shut down.&lt;/p&gt;
&lt;p&gt;In a distributed environment, this error can occur if the network drive where &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin&lt;/code&gt; resides becomes unavailable while the application server is starting up or shutting down. The network drive becoming unavailable would prevent the deletion of the &lt;strong&gt;write.lock&lt;/strong&gt; file.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Stop the application server.&lt;/li&gt;
&lt;li&gt;Delete the &lt;strong&gt;write.lock&lt;/strong&gt; file in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Restart the application server.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: June 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server&lt;/div&gt;
</description></item><item><title>KB-1262 "Lock obtain timed out" error thrown when starting the application server</title><link>https://community.appian.com/support/w/kb/624/kb-1262-lock-obtain-timed-out-error-thrown-when-starting-the-application-server/revision/1</link><pubDate>Mon, 12 Jun 2017 17:39:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae25f61d-f2b5-4c66-a66c-f1343178f5c3</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/624/kb-1262-lock-obtain-timed-out-error-thrown-when-starting-the-application-server#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 6/12/2017 5:39:01 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;[Appian ReschedulingTimerTask - SearchIndexSyncTimerTask - XXXXX] ERROR com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask - [Search index sync: jdbc/XXXX] XXXX consecutive errors. Will try again in XXXX ms.&lt;br /&gt; ...&lt;br /&gt; Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out:&amp;lt;APPIAN_HOME&amp;gt;/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry/write.lock&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error typically occurs when the application server is improperly shut down.&lt;/p&gt;
&lt;p&gt;In a distributed environment, this error can occur if the network drive where &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin&lt;/code&gt; resides becomes unavailable while the application server is starting up or shutting down. The network drive becoming unavailable would prevent the deletion of the &lt;strong&gt;write.lock&lt;/strong&gt; file.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;1. Stop the application server.&lt;br /&gt;1. Delete the &lt;strong&gt;write.lock&lt;/strong&gt; file in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search-local/index-primary/com.appiancorp.tempo.rdbms.EventFeedEntry&lt;/code&gt;.&lt;br /&gt;1. Restart the application server.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: June 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server&lt;/div&gt;
</description></item></channel></rss>