Integration messages not logging. "An error occurred while monitoring integration messages..... There is already a listener on IP endpoint 0.0.0.0.5159"
Symptom
Integration messages are not logged and the error "An error occurred while monitoring the integration messages....
Environment
Environments where multiple integrations running on network and connected to same system database.
Fix/Answer
If the Admin console is running multiple integrations, these integrations are using the same port to receive messages. This causes a port conflict.
There are 2 possible ways to resolve:
1. Stop the BarTender system service, BarTender Integration Service and BarTender Print Scheduler service. (this will stop printing)
2. Navigate to C:\Program Files\Seagull\BarTender Suite and open the file called AdminConsole.exe.config
3. Look for the setting
<add key="MessagingClient.NumberOfClients" value="1" />
and change the value of 1 to the number of integrations running on network. Do this on all computers running integration.
OR
1. Stop the BarTender system service, BarTender Integration Service and BarTender Print Scheduler service. (this will stop printing)
2. Navigate to C:\Program Files\Seagull\BarTender Suite and open the file called AdminConsole.exe.config
3. Look for the setting
<add key="MessagingClient.ServicePort" value="5159" />
and change the port from 5159 to another open port. This needs to be done until all integrations have a different port