Daniel Cinnamon

AFX Failure - Address already in use

Blog Post created by Daniel Cinnamon Employee on May 12, 2017

Pretty informal post here- I just finished troubleshooting an issue with AFX at a client site.  It's an error I've seen before and wanted to give a shout out because others are likely to run into it as well.


They were having issues with the server not fully starting up.  In the mule_ee.log file, there was a complaint about "address already in use".


This is an error I've seen before, and it's because SPLUNK uses port 8089 as one of it's defaults, which AFX also requires for web service asynchronous callback functionality.


The easiest way to get around this issue is to modify /home/oracle/AFX/esb/lib/user/afx-config.properties, and modify the afx.async.callback.port parameter to a port that's not in use by the system.


I do think it'd be a good idea to get a callout in our install guide, knowing that splunk is a pretty common service to have running on a server, but wanted to get something out there in case it helps someone.