Symptom
Deployment of a specific application (e.g sap.com_ui~five) is hanging (in most of the cases by SUM upgrade process). The following logs and traces are relevant:
- deploy.log shows the specific application is being deployed and deployment never ends:
#Info#/System/Server/Deployment#com.sap.ASJ.dpl_dc.001016#BC-JAS-DPL#tc~bl~deploy_controller#<...>#0#Deploy Coordinator Thread#Plain#com.sap.engine.services.monitor.mbeans.MonitorResourceBundle#The server is in inconsistent state. The locks were not cleared by the previous session but there are no post online items left for deployment. Clening up the DB locks#
- deploy.trc shows the following exceptions:
[...][EXCEPTION]com.sap.engine.services.dc.cm.deploy.DeploymentException: Unexpected interruption problem[...]Caused by: java.lang.InterruptedException[...][...]The ConfigurationManager must be initialized before usage.[EXCEPTION]com.sap.engine.frame.core.configuration.ConfigurationException: The ConfigurationManager must be initialized before usage.[...][...]Unexpected problem occured while processign the container started event[EXCEPTION]java.lang.NullPointerException: while trying to invoke the method com.sap.engine.frame.core.configuration.ConfigurationHandlerFactory.getConfigurationHandler() of a null object returned from com.sap.engine.frame.core.CoreContext.getConfigurationHandlerFactory()[...][...][EXCEPTION]com.sap.engine.services.dc.frame.ServiceStateProcessingException: <--Localization failed: ResourceBundle='com.sap.engine.services.dc.util.exception.resources.ResourceBundle', ID='ASJ.dpl_dc.0091 An error occurred while restarting the server.', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key ASJ.dpl_dc.0091 An error occurred while restarting the server.[...]Caused by: com.sap.engine.services.dc.cm.server.spi.RestartServerService$RestartServerServiceException: [ERROR CODE DPL.DC.3154] An error occurred while restarting the AS Java Cluster.[...]Caused by: com.sap.engine.lib.config.api.exceptions.ClusterConfigurationException: Cannot set startup mode SAFE and action UPGRADE for performerID ID<XXXXXXX>.[...]Caused by: com.sap.engine.frame.core.configuration.ConfigurationLockedException: Can not lock Configuration "cluster_config" because it is already locked.[...]Caused by: com.sap.engine.frame.core.locking.LockException: Cannot lock [<...>...................<XXXXXXX>, !J2EE_CONFIGURATION_MANAGER, 22352127/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@, X]; it is in use by another owner. The lock collision occurred with user <internal>.[...]OR:
[...]
Caused by: com.sap.engine.lib.config.api.exceptions.ClusterConfigurationException: Cannot set startup mode NORMAL and action NONE for performerID ID<XXXXXXX>.
[...]
Caused by: com.sap.engine.frame.core.configuration.ConfigurationLockedException: Can not lock Configuration "cluster_config" because it is already locked.
[...] - defaultTrace shows the following exceptions:
[...][EXCEPTION]com.sap.esi.esp.lib.mm.config.exceptions.TechnicalException: Error starting application : sap.com/tc~esi~esp~wsil. For more details check default trace : <...>[...]Caused by: com.sap.engine.services.dc.api.APIException: [ERROR CODE DPL.DCAPI.1102] Cannot get the Life Cycle Manager.Reason: [ERROR CODE DPL.DC.3218] Deploy controller is not ready to serve yet. Probably a un/deploy operation after offline phase is in progress at the moment. DC state is Deploying[...]Caused by: com.sap.engine.services.dc.cm.DCNotAvailableException: [ERROR CODE DPL.DC.3218] Deploy controller is not ready to serve yet. Probably a un/deploy operation after offline phase is in progress at the moment. DC state is Deploying[...][...]Global [update] operation of application [sap.com/ui~five] finished with non-critical warnings for [<XXXXXXX>] ms on server process [<XXXXXXX>][...]
Read more...
Environment
SAP NetWeaver Application Server Java 7.3/7.31/7.4/7.5
Product
SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3
Keywords
Safe mode, Startup mode, Normal mode, DCNotAvailableException, operation of application, ConfigurationException, ConfigurationManager must be initialized, InterruptedException, deplyoment hanging, hanging deployment, SUM , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-JAS-DPL , Deployment , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview