container-prov-node-1_-4 2015/11/05 14:01:23,338 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:01:35,597 GMT+0000 INFO [Petals.Container.Components.petals-se-activiti] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:03,646 GMT+0000 INFO [Petals.Container.Components.petals-se-activiti] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:06,905 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:07,664 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:08,438 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:08,510 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:08,693 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:08,846 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:09,017 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:09,108 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:02:25,964 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:10,949 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:11,152 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:11,309 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:11,438 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:11,487 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:11,558 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:11,581 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:33,629 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:33,753 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:33,967 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
container-prov-node-1_-4 2015/11/05 14:03:34,287 GMT+0000 INFO [Petals.Container.Components.petals-bc-soap] : Placeholders reloaded.
IMO, we can fix the synchronization problem using a simple Semaphore(max size of ws client pool):
This should be sufficient to synchronize place holders reloading with ws-client pool usages.
- the semaphore is unitary acquired into SoapComponentContext.borrowServiceClient when borrowing the ws-client from its pool,
- the semaphore is unitary released when returning the ws-client to its pool,
- deleting ws-client pools, the semaphore is acquired with a number of permits equals to the max size of ws-client pools before deleting pool, and released just after.
This should be sufficient to synchronize place holders reloading with ws-client pool usages.