Validation of deployment queue completed with error: No valid Maintenance Certificate found on AS Java with SID

While deploying any components for a Java system, in case there was no valid maintenance certificate installed, the validation of the deployment queue was only ending with status warning and it was possible to continue with deployment without being mandatory to install the certificate, like this:

 

 

 

 

 

 

 

But with the latest SUM versions, I am not sure since when exactly, but I think it is somewhere since some patch of SUM SP21 this has changed and the installation of the maintenance certificate cannot be skipped anymore and this error will show up: “Validation of deployment queue completed with error: No valid Maintenance Certificate found on AS Java with SID XXX. For more information, refer to SAP Note 1236587 … ”

 

 

 

 

 

 

So in order to pass the error a valid maintenance certificate is mandatory to be installed for the Java application server. How to do that? First generate a new certificate on SAP Support Portal:

https://launchpad.support.sap.com/ => System Operations and Maintenance -> License Keys -> Select installation number -> Select the respective SID from the list -> Select the current HW key, License type Licence Entitlement and press button Renew certificate or if there is already one that has a validity date that is not expired, press download button:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Now that we have the license, we can also install it. This can be done from NWA -> Configuration -> Infrastructure -> Licenses -> Select the Maintenance certificate from the list -> Install from file button

And now we have an up to date maintenance certificate, retry the step from SUM, that should continue with success.

com.sap.engine.services.dc.cm.deploy.AllItemsAlreadyDeployedValidationException: ASJ.dpl_dc.003456 All batch items are marked as AlreadyDeployed because of Version check.

This post should be of interest for you if you want to deploy 3rd party drivers for the JDBC and JMS adapters within the com.sap.aii.adapter.lib.sda archive. I will not insist on the preparations that need to be done for this, but you can find the answer in this note: 1770304 – PI: Preparing the com.sap.aii.adapter.lib.sda for deployment. What I would like to discuss is the error that is showing up when the archive package will be deployed.
The deployment is done via SUM tool and the error appears during configuration phase:

[Error ]: The following problem has occurred during step execution: com.sap.sdt.util.diag.DiagException: Validation of deployment queue completed with error:
 com.sap.engine.services.dc.api.deploy.AllItemsAlreadyDeployedValidaionException: [ERROR CODE DPL.DCAPI.1031] AllItemsAlreadyDeployedValidationException.
 Reason: ASJ.dpl_dc.003456 All batch items are marked as AlreadyDeployed because of Version check.
 com.sap.engine.services.dc.api.deploy.AllItemsAlreadyDeployedValidaionException: [ERROR CODE DPL.DCAPI.1031] AllItemsAlreadyDeployedValidationException.
 Reason: ASJ.dpl_dc.003456 All batch items are marked as AlreadyDeployed because of Version check.
 com.sap.engine.services.dc.cm.deploy.AllItemsAlreadyDeployedValidationException: ASJ.dpl_dc.003456 All batch items are marked as AlreadyDeployed
 because of Version check.

 

 

 

 

 

 

If you already got this error, SUM tool has to be stopped. Then, SUM has to be configured to run in force-mode, this can be done by adding the two parameters:

/jspm/deployVersionRule = updateAll
/jspm/forceMode = true

in /sdt/param/jspm_config.txt file.

After the parameters were set, restart SUM and follow the same steps to deploy the drivers, this time the error should not appear anymore.
More information can be found in SAP note 1138877 – How to Deploy External Drivers JDBC/JMS Adapters, note that should be read actually before deploying such drivers. What you will not find in the note is the error that appears in case SUM is not started with this option.

SAP One Support launchpad availability

Do you often experience problems accessing SAP Portal? Yes, I know, we all like that, especially when it happens exactly when we need it the most and it usually does . But maybe sometimes you are not sure where the problem resides, maybe you also have some problems with the internet connection…
I want to share that there is an official site where you can check the status of the Portal and in case there are some problems, these are announced here. If it is an unexpected issue or if it is a planned unavailability you can check here and maybe plan your activities accordingly. You also have the option to subscribe here for any updates, so you can receive automatically an email or even SMS to stay informed about any changes, which I find very convenient. Here it is:

https://status.support.sap.com/#