0

I'm trying to connect to an IBM DB2 in AS400 using JT400 driver but it thows Connection was dropped unexpectedly exception.

enter image description here

My application.properties :

enter image description here

I even tryed it with the hardcode way :

enter image description here

I just have a question, is this error is related to the configuration ? the credentials are valid (tested with DB2 connect but it's not free). Or it's related to the AS400 firewall or something else ? To put you in the context, this application is in the client server, which as he said, that the connection to db2 can be established only within the server given.

  • please confirm the exact version of the jt400 driver you are using, and also confirm the version of the i-series (as/400) to which you try to connect. – mao Nov 27 '20 at 11:07
  • JT400 v10.4, DB2 AS400 v9.7 – Alae Essaki Nov 27 '20 at 11:14
  • some mistake, the version of the i-series seems not correct, double check – mao Nov 27 '20 at 11:24
  • 2
    I suspecting you are specifying a port number on the URL. Don't specify a port number and the correct port should be used. – jweberhard Nov 28 '20 at 12:41
  • there was no probleme with the application, it was the clients fault, he was blocking ports with the firewall. after i communicated with him he opened the firewall and i was able to connect. NB : and i didnt use any port number, as @mao said, the correct port used. – Alae Essaki Nov 30 '20 at 11:47
  • 1
    I'm voting to close this as the problem was not with you, and it is no longer an issue. – jmarkmurphy Dec 01 '20 at 14:09

0 Answers0