My Oracle Support Banner

Task Fails with Logged Message "DomainOfflineException","cause":"Failed to obtain offline lock after 240 seconds". Why? (Doc ID 2708943.1)

Last updated on JULY 30, 2024

Applies to:

Oracle Retail Merchandise Financial Planning Enterprise Edition Cloud Service - Version 19.0 and later
Oracle Retail Demand Forecasting Cloud Service - Version 19.0 and later
Oracle Retail Assortment & Item Planning Enterprise Edition Cloud Service - Version 19.0 and later
Information in this document applies to any platform.

Goal

During a domain patch task, the patch log shows the following failure.  What does this mean and how can it be resolved?

<E 2020Sep08 15:50:35.236> DomainOfflineException:
<E 2020Sep08 15:50:35.236> Failed to obtain offline lock after 240 seconds
<E 2020Sep08 15:50:35.236>
<E 2020Sep08 15:50:35.236> Processes locking file 'server/server.lck':
<E 2020Sep08 15:50:35.236>
<E 2020Sep08 15:50:35.236> READ 12345 (convoserver -startPort <port> -endPort <port> -daemonFifo ../../../server/ldip_config/fifo/convoserver_<id>.fifo -domainRoot . -user <user> -ssl 3 -sessionid <sessionid> -loglevel error)
<E 2020Sep08 15:50:35.236>
<W 20200908 15:50:41.815> ServerRunUtilityJsonException: {"returncode":"54","id":"t20200908<id>","exception":"DomainOfflineException","cause":"Failed to obtain offline lock after 240 seconds","server_name":"<server>"}
<W 20200908 15:50:41.815> Set task status to 'failed'
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.