and fix TDQ-5190 use another way.
that mean need test tdq-5190 again and note some case is different which has commont on jira
git-svn-id: http://talendforge.org/svn/tos/branches/branch-5_2@100228 f6f1c999-d317-4740-80b0-e6d1abc6f99e
fixed reload function for mssql and oracle
make change the name of catalog instead of remove and add catalog.
git-svn-id: http://talendforge.org/svn/tos/trunk@92156 f6f1c999-d317-4740-80b0-e6d1abc6f99e
and add mapping between softwareSystem and dbconnection by hand to resolve it.
git-svn-id: http://talendforge.org/svn/tos/trunk@90853 f6f1c999-d317-4740-80b0-e6d1abc6f99e
- minor modification for clean communication between "LockerByKey" and "LockerByKeyUnrestricted"
- comment added/fixed
- memory test improved but waiting for build modification to activate it
git-svn-id: http://talendforge.org/svn/tos/trunk@88519 f6f1c999-d317-4740-80b0-e6d1abc6f99e
TDI-21984 Use the new "LockerByKey" everywhere where LockersManager.getExecTriggerableLocker() is used
=> resolved
TDI-21982 Use the new "LockerByKey" in "ServerInfoCentralizer"
=> minor change
TDI-21575 Deployment on virtual Jobserver work randomly and related task becomes blocked
=> return when locking is interrupted
git-svn-id: http://talendforge.org/svn/tos/trunk@88110 f6f1c999-d317-4740-80b0-e6d1abc6f99e
TDI-21979 Use the new "LockerByKey" in "TaskListenerRegister.notifyEvent(ExecutionTaskStatusEvent)"
TDI-21980 Use the new "LockerByKey" in "PlanListenerRegister.notifyEvent(PlanEvent)"
TDI-21575 Deployment on virtual Jobserver work randomly and related task becomes blocked
TDI-21576 Task blocked in TAC only reboot can help to recover it
=> refactor: LockerByKey moved to the dedicated package from "org.talend.commons.utils.threading" to "org.talend.commons.utils.threading.lockerbykey"
=> new "LockerByKeyUnrestricted" added, it allows to unlock from an other thread than the thread locker, this is a step before changing the caller implementation to accept the LockerByKey which is more reliable because it allows only the locker thread to unlock.
=> new JUnit test case "LockerByKeyUnrestrictedTest" added
=> Memory tests added in "LockerByKeyUnrestrictedTest" and "LockerByKeyTest"
git-svn-id: http://talendforge.org/svn/tos/trunk@88004 f6f1c999-d317-4740-80b0-e6d1abc6f99e
=> memory leak resolved by using the new locker "LockerByKey"
Secondary:
- TDI-21977 Use the new "LockerByKey" implementation instead of the deprecated "Locker" everywhere as possible
- TDI-21979 Use the new "LockerByKey" in "TaskListenerRegister.notifyEvent(ExecutionTaskStatusEvent)"
- Issue fixed in LockerByKey related to clean() operation
git-svn-id: http://talendforge.org/svn/tos/trunk@87858 f6f1c999-d317-4740-80b0-e6d1abc6f99e
TDI-21576 Task blocked in TAC only reboot can help to recover it
=> additional minor fix: implement the recommended practice which consists to follow a call to lock with a try block, and not include the lock in the same try/catch/finally block than the unlock operation.
git-svn-id: http://talendforge.org/svn/tos/trunk@87766 f6f1c999-d317-4740-80b0-e6d1abc6f99e
TDI-21576 Task blocked in TAC only reboot can help to recover it
=> shutdown() implemented and tested
=> only automatic clean() is now available, not manual, shutdown do a clean.
git-svn-id: http://talendforge.org/svn/tos/trunk@87706 f6f1c999-d317-4740-80b0-e6d1abc6f99e
TDI-21576 Task blocked in TAC only reboot can help to recover it
=> issue fixed, it remains to implement LockerByKey.shutdown() and do tests on LockerByKey.clean() and LockerByKey.shutdown()
git-svn-id: http://talendforge.org/svn/tos/trunk@87631 f6f1c999-d317-4740-80b0-e6d1abc6f99e
TDI-21576 Task blocked in TAC only reboot can help to recover it
=> regression on old Locker fixed
git-svn-id: http://talendforge.org/svn/tos/trunk@87515 f6f1c999-d317-4740-80b0-e6d1abc6f99e
TDI-21576 Task blocked in TAC only reboot can help to recover it
=> first step resolved:
- create a real thread safe implementation of the org.talend.utils.threading.Locker
- JUnit concurrency tests added to ensure thread safety of the new class org.talend.utils.threading.LockerByKey
git-svn-id: http://talendforge.org/svn/tos/trunk@87436 f6f1c999-d317-4740-80b0-e6d1abc6f99e