12 Replies Latest reply on Oct 16, 2018 5:06 AM by Vagelis Savvas

    DataSource addition and removal without server reload

    Vagelis Savvas Newbie



      in a multitenant environment it is quite usual to have to add and then remove a tenant's DataSource (say programmatically)

      With a stock Wildfly 14 server and the latest PostgreSQL driver the server asks to reload when removing a DataSource.

      That means the application will re-deploy which is not good in a multitenant environment.

      I have tried to directly 'remove' a DataSource or to first 'disable' and then 'remove' it but neither worked.


      So is it possible to remove DataSources programmatically without the server asking to reload?

      If it is not currently, is it under consideration or even better planned? It would be great for multitenant apps.