ISPN-4498 OutOfMemoryError when CI is ran with tracing

* Commented out usage of NDC for now
Validate the cache mode when a cache configuration is added to the cache manager