-2

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!

Gopi
  • 620
  • 8
  • 16
Hoang Vinh
  • 193
  • 1
  • 2
  • 11

1 Answers1

0

editor your hosts file, add new line : h-cluster02-n1 ip

GaoKuo
  • 1