I use ojdbc6.jar connect to db with ip scan,
Url connect:
jdbc:oracle:thin:@IP_SCAN:1521/SERVICE_NAME
but it return error 'java.net.UnknownHostException: h-cluster02-n1'
Why it returned exception,
Please help me!
Thanks!
I use ojdbc6.jar connect to db with ip scan,
Url connect:
jdbc:oracle:thin:@IP_SCAN:1521/SERVICE_NAME
but it return error 'java.net.UnknownHostException: h-cluster02-n1'
Why it returned exception,
Please help me!
Thanks!
editor your hosts file, add new line : h-cluster02-n1 ip