Deployment of a BDS application results in the below error -
[AMXAdminTask] 08 Mar 2019 13:08:50 INFO - Processing 1 objects [AMXAdminTask] 08 Mar 2019 13:08:50 INFO - Deploying application... [AMXAdminTask] 08 Mar 2019 13:08:51 INFO - Deploying Application 'com.abccorp.abc_bom-1' in background : TIBCO-AMX-ADMIN-012015: Deployment succeeded for application 'com.abccorp.abc_bom-1' at 3/8/19 6:08 PM on node(s): 'BPMNode'. [AMXAdminTask] 08 Mar 2019 13:08:51 INFO - 3/8/19 1:08 PM - detail = TIBCO-AMX-ADMIN-012146: Feature 'com.abccorp.abc_bom.model.bds.1.0.0.20190308130740253' was auto-enabled in node 'BPMNode' [AMXAdminTask] [AMXAdminTask] 08 Mar 2019 13:08:51 INFO - 3/8/19 1:08 PM - detail = TIBCO-AMX-ADMIN-012146: Feature 'com.abccorp.abc_bom.da.bds.1.0.0.20190308130740253' was auto-enabled in node 'BPMNode' [AMXAdminTask] [AMXAdminTask] 08 Mar 2019 13:08:51 INFO - Action finished in Admin at 3/8/19 1:08 PM in 0.928 seconds. Waiting for runtime tasks to be finished. [AMXAdminTask] 08 Mar 2019 13:08:53 INFO - . [AMXAdminTask] 08 Mar 2019 13:08:54 ERROR - Application Deploy with Start failed [AMXAdminTask] 08 Mar 2019 13:08:54 ERROR - Configure admin component 'bds' failed : com.tibco.bds.core.exception.DocumentServiceAccessException: A problem occurred with the connection to the Document Store [AMXAdminTask] 08 Mar 2019 13:08:54 ERROR - com.tibco.bds.core.exception.DocumentServiceAccessException: A problem occurred with the connection to the Document Store [AMXAdminTask] caused by: com.tibco.bpm.cm.core.ecmfacade.api.exception.ECMRepoConnectionException: Unable to connect to Content Management Repository [AMXAdminTask] caused by: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Service factory not available! Configuration problem? [AMXAdminTask] 08 Mar 2019 13:08:54 ERROR - Start component 'bds' on node 'BPMNode' cancelled because Configure admin component 'bds' failed [AMXAdminTask] 08 Mar 2019 13:08:54 ERROR - Action failed at 3/8/19 1:08 PM in 3.171 seconds
Issue/Introduction
Deployment of Global Data project may fail if connection to Content Management Repository is not successful
Environment
ALL
Resolution
The BDS deployment is trying to connect to the Content Management Interoperability Services (CMIS) repository to create the necessary folder structure. Review the CMIS repository configuration in cm.properties file.
If you do not use CMIS, then this connection to the repository can be disabled in the bds.properties file -
useCMISRepository=true
Your next steps are - 1. Force Undeploy this application from AMX Administrator 2. Correct the CMIS repository in cm.properties file or disable this connection in bds.properties file 3. Deploy the same application version
The location of cm.properties & bds.properties can be determined from the BPM node's JVM configuration. From AMX Administrator, Infrastructure > Nodes > (select the BPM node) > Configuration (in bottom panel) - JVM Configuration - under JVM Argument String (last section) - find the argument - n2.config.location.