Author Topic: How can I detect a T-Server disconnection on PSDK 9?  (Read 745 times)

Offline Gabi

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 0
How can I detect a T-Server disconnection on PSDK 9?
« on: August 23, 2021, 09:00:53 PM »
I am maintaining a custom Java application which connects to the T-Server. It used to work well when the server was 8.5, but since it was migrated to 9.0, the application no longer detects server disconnections.

ADDP is set up as indicated by the Genesys documentation:
Code: [Select]
PropertyConfiguration serverConfig = new PropertyConfiguration();
serverConfig.setUseAddp(true);
serverConfig.setAddpServerTimeout(20);
serverConfig.setAddpClientTimeout(10);
serverConfig.setAddpTraceMode(AddpTraceMode.Both);

However, nothing happens when the T-Server disconnects. The application is no longer notified of an unexpected disconnection until it attempts to interact with the fallen T-Server and gets an error.

Is there a way to make the application identify when the connection is closed?

Thanks in advance.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7411
  • Karma: 56330
Re: How can I detect a T-Server disconnection on PSDK 9?
« Reply #1 on: August 24, 2021, 12:08:46 AM »
You have a listener for the Disconnect Event?