Thanks a lot rr! for your suggestions.. my problem was solved..
I added the cipher suites as the one you gave..
props.setProperty("oracle.net.ssl_cipher_suites",
"(TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA)");
Also imported the server certificat
I'm not very into Java but you might get more details if you add
-Djavax.net.debug=SSL,handshake or -Djavax.net.debug=all
The current error is not very explanatory (at least to me) and from nginx side
the client just closes connection.
You could test the nginx side with cipherscan
https://git