Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 76623 invoked from network); 7 Oct 2009 14:53:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Oct 2009 14:53:47 -0000 Received: (qmail 94151 invoked by uid 500); 7 Oct 2009 14:53:46 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 94128 invoked by uid 500); 7 Oct 2009 14:53:46 -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 94120 invoked by uid 99); 7 Oct 2009 14:53:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 14:53:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 14:53:36 +0000 Received: by ewy20 with SMTP id 20so712576ewy.16 for ; Wed, 07 Oct 2009 07:53:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.211.188.4 with SMTP id q4mr6657364ebp.46.1254927196080; Wed, 07 Oct 2009 07:53:16 -0700 (PDT) From: David Date: Wed, 7 Oct 2009 16:52:56 +0200 Message-ID: <941d0e330910070752s4268161dqeb0f730e0f37dc2b@mail.gmail.com> Subject: Problem when parsing dao.xml To: user-java@ibatis.apache.org Content-Type: multipart/alternative; boundary=001636d34524bdcb3f04755981d9 X-Virus-Checked: Checked by ClamAV on apache.org --001636d34524bdcb3f04755981d9 Content-Type: text/plain; charset=ISO-8859-1 Hi at all. I am trying to make a simple example with ibatis, but I get a error when parsing dao.xml Exception in thread "main" java.lang.RuntimeException: Could not initialize DAOConfig. Cause: com.ibatis.dao.client.DaoException: Error while configuring DaoManager. Cause: com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: com.ibatis.common.xml.*NodeletException*: Error parsing XML. Cause: java.net.ConnectException: *Connection timed out: connect* Caused by: java.net.ConnectException: Connection timed out: connect Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.net.ConnectException: Connection timed out: connect Caused by: java.net.ConnectException: Connection timed out: connect Caused by: com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.net.ConnectException: Connection timed out: connect Caused by: java.net.ConnectException: Connection timed out: connect Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.net.ConnectException: Connection timed out: connect Caused by: java.net.ConnectException: Connection timed out: connect at es.foro.dao.DAOConfig.getDAOManager(DAOConfig.java:37) at es.foro.presentacion.Main.main(Main.java:16) Anybody know what might be the connection error while parsing the xml? It may be a thing of the dtd? Why then do work other applications? --001636d34524bdcb3f04755981d9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi at all.
I am trying to make a simple example with ibatis, but I get a= error when parsing dao.xml


Exception in thread "main"= java.lang.RuntimeException: Could not initialize DAOConfig.=A0 Cause: com.= ibatis.dao.client.DaoException: Error while configuring DaoManager.=A0 Caus= e: com.ibatis.common.exception.NestedRuntimeException: Error occurred.=A0 C= ause: com.ibatis.common.xml.NodeletException: Error parsing XML.=A0 = Cause: java.net.ConnectException: Connection timed out: connect
Caused by: java.net.ConnectException: Connection timed out: connect
Caus= ed by: com.ibatis.common.xml.NodeletException: Error parsing XML.=A0 Cause:= java.net.ConnectException: Connection timed out: connect
Caused by: jav= a.net.ConnectException: Connection timed out: connect
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error occurr= ed.=A0 Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.=A0= Cause: java.net.ConnectException: Connection timed out: connect
Caused = by: java.net.ConnectException: Connection timed out: connect
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.=A0 Ca= use: java.net.ConnectException: Connection timed out: connect
Caused by:= java.net.ConnectException: Connection timed out: connect
=A0=A0=A0 at e= s.foro.dao.DAOConfig.getDAOManager(DAOConfig.java:37)
=A0=A0=A0 at es.foro.presentacion.Main.main(Main.java:16)

Anybody know what might be the connection error while parsing the xml? It may be a thing of the dtd? Why then do work other applications?

--001636d34524bdcb3f04755981d9--