jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petar Tahchiev" <paranoia...@gmail.com>
Subject Re: Cactus and dbunit
Date Fri, 21 Mar 2008 21:42:44 GMT
Hi Sergio,

IMHO it looks more like a DBUnit-related problem :-(.
But for the debugging of Cactus, you can configure your
logging and then look for the logs of the server or the client.

Hope that helps.

Cheers, Petar.

2008/3/20, Sérgio Vieira Rolanski <sergio@strategos.com.br>:
>
> Hi,
>
> I'm have a problem when trying to load a XLS file into a database. Here
> is my setUp method:
>
>     protected void setUp() throws Exception {
>         super.setUp();
>
>         IDataSet dataSet = null;
>
>         try {
>             System.out.println("Call createDatabaseTester");
>             databaseTester = createDatabaseTester();
>
>             System.out.println("Call getSetupDataSet");
>             dataSet = getDataSet();
>
>             System.out.println("Call setDataSet");
>             databaseTester.setDataSet( dataSet );
>
>             System.out.println("Call onSetup");
>             databaseTester.onSetup();
>
>             System.out.println("Done");
>         } catch(SQLException ex) {
>             System.out.println("SQLException!!!!");
>             ex.printStackTrace();
>         } catch(Exception ex) {
>             System.out.println("Exception!!!!");
>             ex.printStackTrace();
>         }
>     }
>
> What happens is that the "Done" is never printed out. It seems it get
> stuck at the onSetup() method. No exception is being thrown. The
> databaseTester is set correctly just as the dataSet is read from XLS
> correctly.
>
> Also I don't know how to debug cactus, therefore, I'm using these
> println (which is terribly) any advice on that would be nice as well.
>
> Thanks in advance,
>
> Sérgio
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>



-- 
Regards, Petar!
Karlovo, Bulgaria.

EOOXML Objections
http://www.grokdoc.net/index.php/EOOXML_objections

Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message