Cannot connect to a broker

by sjnoh posted Aug 10, 2010

큐브리드를 일본어 버전 xp에 설치하고 다른 컴퓨터에서 연결하려고 하는데 Cannot connect to a broker 에러가 발생합니다.

// DB Connection 정보
        String db_user = "dba";
        String db_pw   = "";
        String db_ip   = "121.65.252.96";
        String db_name = "hanbat:::";
        String db_port = "33000";
        String db_conn = "jdbc:CUBRID:" + db_ip + ":" + db_port + ":" + db_name;

        // DB Connection
        Connection Conn = DriverManager.getConnection(db_conn,db_user,db_pw);

 

이부분이 연결하는 소스이고,

 

cubrid.jdbc.driver.CUBRIDException: Cannot connect to a broker
	cubrid.jdbc.jci.UConnection.<init>(UConnection.java:210)
	cubrid.jdbc.jci.UJCIManager.connect(UJCIManager.java:81)
	cubrid.jdbc.driver.CUBRIDDriver.connect(CUBRIDDriver.java:241)
	java.sql.DriverManager.getConnection(DriverManager.java:582)
	java.sql.DriverManager.getConnection(DriverManager.java:185)
	org.apache.jsp.aa_jsp._jspService(aa_jsp.java:74)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	com.k4m.bizweaver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:31)
이건 에러의 내용입니다. 
도대체 왜 연결이 안될까요??

Articles