bug fixed for the ThreadDataLoader. ThreadExecutionFinished variable set to true if an exception occurs and Throwable exception managed in catch statement.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100807 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cc80af9d93
commit
326fb961c9
|
@ -3100,11 +3100,12 @@ public class GWTdbManagerServiceImpl extends RemoteServiceServlet implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch (Throwable e) {
|
||||||
|
logger.error("dbmanager-> ", e);
|
||||||
|
}finally{
|
||||||
// thread terminates its execution
|
// thread terminates its execution
|
||||||
setThreadExecutionFinished(true);
|
setThreadExecutionFinished(true);
|
||||||
logger.info("dbmanager-> Thread DataLoader execution terminated");
|
logger.info("dbmanager-> Thread DataLoader execution terminated");
|
||||||
} catch (Exception e) {
|
|
||||||
logger.error("dbmanager-> ", e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue