<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>&#1047;&#1076;&#1088;&#1072;&#1074;&#1089;&#1090;&#1074;&#1091;&#1081;&#1090;&#1077;!<br><br>&#1055;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1072; &#1089; &#1088;&#1072;&#1073;&#1086;&#1090;&#1086;&#1081; &#1087;&#1086;&#1089;&#1083;&#1077;&#1076;&#1085;&#1077;&#1075;&#1086; &#1085;&#1072; &#1087;&#1077;&#1088;&#1074;&#1086;&#1084; &#1095;&#1077;&#1088;&#1077;&#1079; JDBC &#1076;&#1088;&#1072;&#1081;&#1074;&#1077;&#1088; - &#1074;&#1076;&#1088;&#1091;&#1075; &#1082;&#1090;&#1086; &#1089;&#1090;&#1072;&#1083;&#1082;&#1080;&#1074;&#1072;&#1083;&#1089;&#1103;.<br><br>Resource Exception. Unable to complete network request to host "127.0.0.1".<br><br>&#1055;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1072; &#1089;&#1082;&#1086;&#1088;&#1077;&#1077; &#1074;&#1089;&#1077;&#1075;&#1086; &#1085;&#1077; &#1074; &#1103;&#1074;&#1077;&#1096;&#1085;&#1086;&#1084; &#1082;&#1086;&#1076;&#1077;, &#1072; &#1074; &#1082;&#1086;&#1085;&#1092;&#1080;&#1075;&#1091;&#1088;&#1072;&#1094;&#1080;&#1080; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1099; - &#1095;&#1090;&#1086; &#1084;&#1086;&#1078;&#1085;&#1086; &#1074;&#1099;&#1085;&#1077;&#1089;&#1090;&#1080; &#1080;&#1079; &#1076;&#1072;&#1085;&#1085;&#1086;&#1075;&#1086; &#1090;&#1088;&#1077;&#1076;&#1072;: http://forum.java.sun.com/thread.jspa?threadID=554002&amp;messageID=2789343. &#1054;&#1090;&#1090;&#1091;&#1076;&#1072; &#1085;&#1080;&#1095;&#1077;&#1075;&#1086; &#1085;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1083;&#1086;, &#1087;&#1086;&#1101;&#1090;&#1086;&#1084;&#1091; &#1080; &#1086;&#1073;&#1088;&#1072;&#1097;&#1072;&#1102;&#1089;&#1100; &#1082; &#1074;&#1072;&#1084;.<br><br><pre class="src"># ./isql localhost:/opt/firebird/examples/employee.fdb -u sysdba -p masterkey<br># ./isql <font color="darkblue"><b>127</b></font>.<font color="darkblue"><b>0</b></font>.<font color="darkblue"><b>0</b></font>.<font color="darkblue"><b>1</b></font>:/opt/firebird/examples/employee.fdb -u sysdba -p masterkey<br><br>&#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1102;&#1090; &#1079;&#1072;&#1084;&#1077;&#1095;&#1072;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086; - &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084; &#1085;&#1077;&#1090;.<br><br>&#1040; &#1074;&#1086;&#1090; &#1076;&#1088;&#1072;&#1081;&#1074;&#1077;&#1088; &#1082;&#1086;&#1085;&#1085;&#1077;&#1082;&#1090;&#1080;&#1090;&#1089;&#1103; &#1085;&#1077; &#1093;&#1086;&#1095;&#1077;&#1090; (&#1087;&#1088;&#1080; &#1101;&#1090;&#1086;&#1084; &#1085;&#1072; &#1074;&#1080;&#1085;&#1076;&#1086;&#1074;&#1086;&#1081; &#1084;&#1072;&#1096;&#1080;&#1085;&#1077; &#1089; &#1090;&#1077;&#1084; &#1078;&#1077; url <br>(jdbc:firebirdsql:127.0.0.1:/opt/firebird/examples/employee.fdb) &#1074;&#1089;&#1077; &#1087;&#1091;&#1090;&#1077;&#1084;).<br><br>&#1043;&#1086;&#1074;&#1086;&#1088;&#1103;&#1090;, &#1084;&#1086;&#1078;&#1077;&#1090; &#1073;&#1099;&#1090;&#1100; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1072; &#1074; &#1090;&#1086;&#1084;, &#1095;&#1090;&#1086; FireBird &#1084;&#1077;&#1085;&#1103;&#1077;&#1090; &#1087;&#1077;&#1088;&#1084;&#1080;&#1096;&#1085;&#1099; &#1085;&#1072; 600 &#1076;&#1083;&#1103; /etc/services<br>&#1085;&#1086; &#1091; &#1084;&#1077;&#1085;&#1103; &#1090;&#1072;&#1084; 644, &#1074;&#1089;&#1077; &#1085;&#1086;&#1088;&#1084;&#1072;&#1083;&#1100;&#1085;&#1086;<br><br>&#1057;&#1086;&#1074;&#1077;&#1090;&#1091;&#1102;&#1090; &#1076;&#1086;&#1073;&#1072;&#1074;&#1080;&#1090;&#1100; localhost &#1074; /etc/hosts, &#1085;&#1086; &#1086;&#1085; &#1080; &#1090;&#1072;&#1082; &#1090;&#1072;&#1084; &#1077;&#1089;&#1090;&#1100;:<br><br>127.0.0.1        localhost.localdomain        localhost<br><br>&#1042; /etc/xinetd.conf &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1077;&#1077;:<br><br>defaults<br>{<br>        log_type = SYSLOG authpriv info<br>        log_on_success = PID HOST DURATION<br>        log_on_failure = HOST<br>        instances = 100<br>        per_source = 5<br>        only_from = 127.0.0.1<br>}<br><br>includedir /etc/xinetd.d<br><br>&#1042; /etc/xinetd.d/firebird:<br><br><br>service gds_db<br>{<br>        flags                        = REUSE<br>        socket_type                = stream<br>        wait                        = no<br>        user                        = firebird<br># These lines cause problems with Windows XP SP2 clients<br># using default firewall configuration (SF#1065511)<br>#        log_on_success                += USERID<br>#        log_on_failure                 += USERID<br>        server                        = /opt/firebird/bin/fb_inet_server<br>    disable         = no<br>    log_type                         = SYSLOG daemon debug <br>}<br></pre>&#1057;&#1077;&#1088;&#1074;&#1080;&#1089; gds_db &#1075;&#1088;&#1091;&#1079;&#1080;&#1090;&#1089;&#1103; &#1085;&#1086;&#1088;&#1084;&#1072;&#1083;&#1100;&#1085;&#1086; (&#1086; &#1095;&#1077;&#1084; &#1075;&#1086;&#1074;&#1086;&#1088;&#1103;&#1090; &#1083;&#1086;&#1075;&#1080; &#1080;, &#1076;&#1091;&#1084;&#1072;&#1102;, &#1074;&#1077;&#1088;&#1085;&#1086; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1102;&#1097;&#1080;&#1081; isql)<br><br><div><br>&#1045;&#1089;&#1083;&#1080; &#1082;&#1090;&#1086; &#1084;&#1086;&#1078;&#1077;&#1090;, &#1087;&#1086;&#1084;&#1086;&#1075;&#1080;&#1090;&#1077; &#1087;&#1086;&#1078;&#1072;&#1083;&#1091;&#1081;&#1089;&#1090;&#1072;!<br><br>&#1057; &#1091;&#1074;&#1072;&#1078;&#1077;&#1085;&#1080;&#1077;&#1084;, &#1040;&#1085;&#1090;&#1086;&#1085; &#1050;&#1086;&#1090;&#1077;&#1085;&#1082;&#1086; <br></div></div></FONT>