We usually got below error when we try to connect to remote system using JDBC drivers.
To resolve this you need to change property in setDomainEnv file.
Go to that file, you can find this file at below location.
Open this file and search for “WLS_JDBC_REMOTE_ENABLED” property. Earlier it was set to false, now change it to true.