Symptoms


On attempt to import a PPR file for Inhouse Product application, the process is failed with an error

Default service template not found for owner account 1


with an error in inhouse-products pod log

19-05-2022;11:33:41,652 WFLYEJB0034: Jakarta Enterprise Beans Invocation failed on component ExcelConfigManagementBean for method public abstract com.odin.platform.excel.rest.ConfigurationInfo com.od
in.platform.excel.api.ExcelConfigManagement.parseExcelConfig(byte[],int): javax.ejb.EJBException: Default service template not found for owner account 1
        at deployment.inhouse-products-backend.war//com.odin.platform.excel.ejb.ExcelConfigManagementBean.lambda$getServiceTemplateInfo$36(ExcelConfigManagementBean.java:522)
        at java.base/java.util.Optional.orElseThrow(Optional.java:408)
        at deployment.inhouse-products-backend.war//com.odin.platform.excel.ejb.ExcelConfigManagementBean.getServiceTemplateInfo(ExcelConfigManagementBean.java:522)
        at deployment.inhouse-products-backend.war//com.odin.platform.excel.ejb.ExcelConfigManagementBean.parseExcelConfig(ExcelConfigManagementBean.java:205)

Cause

The product is not imported from the Connect to Commerce side and the Service Template for the product doesn't exist.


Resolution

Make sure that the product is imported and task "Execute operation '/appDetails/PRD-XXX-YYY/import'" is completed and re-import PPR file.