PS: It's probably the XML parser attempting to connect to the remote DTD. Clinton
On Wed, Oct 7, 2009 at 8:52 AM, David <da...@herrero.us> wrote: > 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? > >