YorkU-Citrus/Citrus

Possible defect - database connection timeout issue

Closed this issue · 1 comments

mc256 commented

public Connection getConnection() { return this.db_connection; } in CitrusDAO.java

In case the connection idle for a long time, the connection might timeout, therefore, it requires to reconnect. Please do not forget the verify the connection before return.

mc256 commented

fixed by using context.xml and restructuring DAO classes