Setting the privileged attribute for an application changes the class loader to the Server class loader instead of the Shared class loader. Running an application in privileged mode allows an application to load the manager libraries.
Solution
Set the privileged attribute in all context.xml files to false unless it is required as for the manager application: <Context ... privileged="false" />