Pgsql: Connectivity issue due to pgsql driver (42.2.16) - Compatible till 13005

Pgsql: Connectivity issue due to pgsql driver (42.2.16) - Compatible till 13005

Why?
      PostgreSQL updated the default fallback behavior in the 42.2.16 driver in a way that breaks support for PostgreSQL instances. This version of the driver was bundled into ServiceDeskplus build version less than 13006. This PostgreSQL bug will affect only certain environments which is caused due to configurations, resource constraints, version discrepancies in the hosted environment. 

This Article is only applicable for build versions less than 13006

Reference Traces : 
  1. Caused by: java.net.SocketException: Connection reset
(OR)
  1. org.postgresql.util.PSQLException: Connection attempt timed out.
(OR)
  1. invalid frontend protocol
How to resolve this issue ?
                        An immediate workaround for this issue is by replacing the probelamatic version of postgresql driver with the bug fixed driver which is of version "42.2.19".
  1. Shut Down the Application Service, If it is running.
  2. Navigate to "<Product_Installation_Directory> \ lib " folder and move the "postgresql-42.2.16.jar" to a different location as a backup.
  3. Now download the  attached zip, extract it and then place the "postgresql-42.2.16.jar"  extracted from the zip inside the above lib folder.
  4. Now try to start the database using "startDB" script present in the "<product_installation_location> \ bin". 
    1. If the database is started, you are good to proceed with your operations.
    2. If it fails to start, then please report it to our support Team with the "<product_installation_location>\logs" folder.

                  New to ADSelfService Plus?