RSA VIA L&G / IMG / Aveksa - AFX fails to start times out and this error is in the logs A WebGroup/Virtual Host to handle /aveksa/afx/initialization has not been defined
3 years ago
Originally Published: 2015-08-19
Article Number
000062990
Applies To
RSA Product Set: Identity Management and Governance, RSA Via Lifecycle and Governance, Aveksa ACM
RSA Version/Condition: AFX implementations
Platform: Enterprise Software
O/S Version: Applies to all supported OS configurations for Websphere
Issue
When attempting to start AFX the status states that it timed out when attempting to start.

The following specific error is present in the mule.AFX-INIT.log under <afx user>/AFX/mule/logs
 
[ERROR] org.mule.module.launcher.application.DefaultMuleApplication:365 - null
java.lang.Exception: HTTP response error. Response code=404 : Reason=
<H1>SRVE0255E: A WebGroup/Virtual Host to handle /aveksa/afx/initialization has not been defined.</H1>
<BR><H3>SRVE0255E: A WebGroup/Virtual Host to handle img.vcloud.local:8444 has not been defined.</H3>
<BR><I>IBM WebSphere Application Server</I>



 
Cause
The cause of this error is that although the WebSphere server may have a port defined for AFX to connect, there is no mapping on which server should accept the incoming traffic for that specific header / virtual host.
Resolution
To rectify this specific failure access the Administration interface for the IBM WebSphere application server
In the following example port 8444 is demonstrated as the Agent / AFX return port, if using a different port follow the same steps just replace 8444 with your port.

Expand the Environment category on the left pane
Click on / Select Virtual Hosts
In the right pane Click default_host
On the far right click the hyperlink Host Aliases
Check to see if Port 8444 is defined in this list, if yes, make sure it is mapped to *, If not click the New button
For Host Name enter *
For Port enter 8444
Click the Apply button
Click the Save directly to the master configuration.  hyperlink at the top of the screen

User-added image


After making this change, restart the server instance that is hosting the IMG application for this change to be applied.
Then restart the AFX server and it will have a virtual host configured to accept the connection.