Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 56002 invoked from network); 26 Sep 2008 15:07:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2008 15:07:50 -0000 Received: (qmail 34002 invoked by uid 500); 26 Sep 2008 15:07:45 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 33979 invoked by uid 500); 26 Sep 2008 15:07:44 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 33941 invoked by uid 99); 26 Sep 2008 15:07:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 08:07:44 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 15:06:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KjEub-0002yw-5C for user-java@ibatis.apache.org; Fri, 26 Sep 2008 08:07:17 -0700 Message-ID: <19690286.post@talk.nabble.com> Date: Fri, 26 Sep 2008 08:07:17 -0700 (PDT) From: xianwinwin To: user-java@ibatis.apache.org Subject: Re: JDBC.ConnectionURL problem. Changed from 'localhost' to 'IP-number' In-Reply-To: <19679603.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: xianwinwin@gmail.com References: <19679603.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org mmm.....no, that's not the reason (though good catch!) I double checked the code is: and the error message is: --- Cause: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused: connect STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) -- View this message in context: http://www.nabble.com/JDBC.ConnectionURL-problem.-Changed-from-%27localhost%27-to-%27IP-number%27-tp19679603p19690286.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.