Sap AFX connectors stuck in deployed state in RSA Governance and Lifecycle
Last Modified: 2023-10-06
Article Number
000068257
Applies To
RSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.x.x
Issue
All connectors are in a Running state, except for the SAP connectors which are all stuck in the Deployed state. The following errors are found:

In the Mule_ee.log:
+ Failed to deploy artifact 'AFX-CONN-SAP-SRM-SRD-102_1',  +
+ see below                                                +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.DeploymentInitException: InitialisationException: Property "scriptText, scriptFile" not set.  One or more of them must be set
 
at org.mule.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:360)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:750)
Caused by: org.mule.api.config.ConfigurationException: Error creating bean with name 'SAP-SRM-SRD-102_1': Cannot create inner bean '(inner bean)#59a01ca4' of type 
 

In the aveksaServer.log:

Unable to find migrator for connector template SAP_Template
 
org.mule.module.launcher.DeploymentInitException: InitialisationException: Property "scriptText, scriptFile" not set. One or more of them must be set

In the connector log:

2023-06-01 13:30:18.695 [INFO] org.springframework.beans.factory.support.DefaultListableBeanFactory:193 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@43cef44c: defining beans

 

 
 

 

 

Cause

The SAP connector template is modified or corrupt.

Resolution

Check the connector type name and ensure it is "SAP" straight from the DB using the following query

select * from t_av_afx_connector_type where root_type_id in
(select root_type_id from t_av_afx_connector_type where id in
(select conn_type_id from T_AV_AFX_CONNECTOR where name like '%<connector_name>%'));
Log into my.RSA and download the premium connector templates

Import the templates into the system

Notes

Redeployment of fresh AFX did not work.