|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Problem when parsing dao.xmlHi 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? |
|||||||||||
|
|
Re: Problem when parsing dao.xmlIf you are creating an app that uses the ibatis dao... Stop. Now. Seriously.
It's dead. Look at using Guice (my preference) or Spring (if you love xml). Larry --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@... For additional commands, e-mail: user-java-help@... |
|||||||||||
|
|
Re: Problem when parsing dao.xmlWhy is it dead? I've been using it successfully in my project(s) so I
am really curious why are you saying this? On Wed, Oct 7, 2009 at 9:30 AM, Larry Meadors <larry.meadors@...> wrote: > If you are creating an app that uses the ibatis dao... Stop. Now. Seriously. > > It's dead. > > Look at using Guice (my preference) or Spring (if you love xml). > > Larry > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@... > For additional commands, e-mail: user-java-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@... For additional commands, e-mail: user-java-help@... |
|||||||||||
|
|
Re: Problem when parsing dao.xmlIt is deprecated and no additional work is being done on it or with it to ensure it works with future ibatis versions.
Brandon Goodin On Wed, Oct 7, 2009 at 10:16 AM, Ivan Bojer <ibojer@...> wrote: Why is it dead? I've been using it successfully in my project(s) so I |
|||||||||||
|
|
Re: Problem when parsing dao.xmlIt's dead as in: "we don't work on it anymore".
It can be alive for you... you can grab the source from the site and integrate it as part of your own software, and thus change it to be whatever you need it to be That said, even I've switched to Guice... Guice might be the greatest innovation in the Java Programming Language since... errrr. Yep, the greatest. :-) Cheers, Clinton
On Wed, Oct 7, 2009 at 11:16 AM, Ivan Bojer <ibojer@...> wrote: Why is it dead? I've been using it successfully in my project(s) so I |
|||||||||||
|
|
Re: Problem when parsing dao.xmlPS: It's probably the XML parser attempting to connect to the remote DTD.
Clinton
On Wed, Oct 7, 2009 at 8:52 AM, David <david@...> wrote: Hi at all. |
|||||||||||
|
|
Re: Problem when parsing dao.xmlNah, mockito is cooler than even guice. It's the shiz.
If you can't test your code with mockito...go home or become a manager. ;-) Larry --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@... For additional commands, e-mail: user-java-help@... |
|||||||||||
|
|
Re: Problem when parsing dao.xmlyeah but how cool are unit tests that use mockito and guice! BAM! f'in slick!
On Wed, Oct 7, 2009 at 12:13 PM, Larry Meadors <larry.meadors@...> wrote: Nah, mockito is cooler than even guice. It's the shiz. |
|||||||||||
|
|
Re: Problem when parsing dao.xml+infinity
but RSpec + Ruby + Rails makes me hotter Brandon On Wed, Oct 7, 2009 at 11:47 PM, Nathan Maves <nathan.maves@...> wrote: yeah but how cool are unit tests that use mockito and guice! BAM! f'in slick! |
|||||||||||
|
|
Re: Problem when parsing dao.xmloops... apologies... i forgot we are on the ibatis user list o_0
Brandon On Wed, Oct 7, 2009 at 11:51 PM, Brandon Goodin <brandon.goodin@...> wrote: +infinity |
|||||||||||
|
|
Re: Problem when parsing dao.xmlHi Nathan, I know this is not the proper list for this question but seeing as you are stating " how cool are unit tests that use mockito and guice! ", I was wondering if you could provide us with a simple example of how you are using Mockito with iBatis. While the Mockito website has some simple examples of how to use the library I think it would help me a great deal if I saw an actual real-world example with iBatis. If Mockito is so cool then I would like to become more familiar with it. Thanks.... Chris Mathrusse christopher.mathrusse@...
yeah but how cool are unit tests that use mockito and guice! BAM! f'in slick! On Wed, Oct 7, 2009 at 12:13 PM, Larry Meadors <larry.meadors@...> wrote: Nah, mockito is cooler than even guice. It's the shiz. If you can't test your code with mockito...go home or become a manager. ;-) Larry --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@... For additional commands, e-mail: user-java-help@... |
| Free embeddable forum powered by Nabble | Forum Help |