[ http://jira.codehaus.org/browse/MOJO-545?page=all ]
Dan Tran closed MOJO-545.
-------------------------
Assignee: Dan Tran
Resolution: Fixed
applied. Thanks
> dbunit-maven-plugin doesn't disconnect from PostgreSQL database
> ---------------------------------------------------------------
>
> Key: MOJO-545
> URL: http://jira.codehaus.org/browse/MOJO-545
> Project: Mojo
> Issue Type: Bug
> Components: dbunit
> Reporter: Matt Raible
> Assigned To: Dan Tran
> Attachments: dbunit-closeconnection.patch,
> dbunit-closeconnection2.patch
>
>
> From http://issues.appfuse.org/browse/APF-485:
> In my custom set up, the database server is shutdown after the dao tests have
> run using a script that called the postgres command "pg_ctl stop".
> Initially I was using maven to call the antrun plugin to run dbunit to load
> the sample data. This worked fine.
> After I had changed to using the maven dbunit plugin, the database stop
> script hung.
> My conclusion is that dbunit, run from the maven plug in, is not closing its
> database connection.
> My solutions was to use:
> pg_ctl stop -m f
> This will shutdown the database without waiting for all clients to
> disconnect, forcing a role back for any currently open transactions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email