JDBC를 연결했을때 Communication Link 에러가 발생합니다.
JDBC 드라이버도 인식했고, IP와 PORT도 확인을 했습니다만
이상이 없습니다.
서버도 잘 떠있구요. JDBC를 사용해본것은 처음이고 다음과
같은 소스를 사용했습니다만... 원인을 알수가 없군요.
경험있으신 분들의 도움을 바랍니다.
final String url = "jdbc:Cache://127.0.0.1:1972/USER";
final String Drv = "com.intersys.jdbc.CacheDriver";
final String user = "_SYSTEM";
final String password = "sys";
protected Repository() throws Exception
{
try {
Class.forName(Drv);
con = DriverManager.getConnection(url, user, password);
}
catch (Exception e) {
throw e;
}
}
|