000030125 - RSA Via Lifecycle & Governance Access Fulfillment Express (AFX) start fails with error: could not resolve placeholder 'afx.server.activemq.password'

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000030125
Applies ToRSA Product Set: Identity Management and Governance (IMG), Via Lifecycle & Governance (L&G)
RSA Product/Service Type: Access Fulfillment Express (AFX)
RSA Version/Condition: 6.x and above
Platform: All Platforms
Platform (Other): AFX (all versions)
 
IssueAFX fails to start, the following is found in the /opt/AFX/esb/logs/esb_ee.log:
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy app '15_AFX-MAIN', see below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.DeploymentInitException: BeanDefinitionStoreException: Invalid bean definition with name 'jmsConnector'
defined in null: Could not resolve placeholder 'afx.server.activemq.password'
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:221)
at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64)
at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:46)
at org.mule.module.launcher.DeploymentService.guardedDeploy(DeploymentService.java:398)
at org.mule.module.launcher.DeploymentService.start(DeploymentService.java:181)
at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:56)
at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:3925)
Caused by: org.mule.api.config.ConfigurationException: Invalid bean definition with name 'jmsConnector' defined in null:
Could not resolve placeholder 'afx.server.activemq.password' (org.mule.api.lifecycle.InitialisationException)
(org.mule.api.config.ConfigurationException)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:52)
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78)
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80)
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:209)
... 11 more

CauseThis issue is caused because the authentication credentials in the AFX Connector are invalid.
This issue can also be a domino effect caused by other components that prevented activemq startup.  To determine if this is the case, open the /home/oracle/AFX/mule/logs/AFX-INIT.log and look for other errors that might have occurred during startup.  
ResolutionTo resolve the issue, follow the steps below.
  1. Go into the UI and put in the proper password.
  2. Go to AFX > Build Connectors and click on the connector.
  3. Click Edit then Settings.
  4. Click OK (This seems superfluous, but this will cause the password entry to be written to files in the back-end).
  5. Repeat the steps for any other connectors.
  6. Restart AFX as the oracle user via the command line using the command below.
    afx restart

NotesAdditional errors that may appear when issue occurs.
In the /home/oracle/AFX/mule/logs/AFX-INIT.log
[ERROR] org.mule.module.launcher.application.DefaultMuleApplication:365 - null
java.lang.Exception: HTTP response error. Response code=401

In the mule.AFX-MAIN.log
[ERROR] org.mule.module.launcher.application.DefaultMuleApplication:365 - null
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'jmsConnector' defined in null:
Could not resolve placeholder 'afx.server.activemq.password'

Attachments

    Outcomes