If someone uses custom tomcat for hybris, be aware that latest version of Tomcat 8.5.32 is not compatible with all versions of hybris and datahub due to implementation in Tomcat of Java EE v.8 specification(EE 5.3.3), which defines that deployment should fail if the lookup element of an annotation or the lookup-name element in a deployment descriptor entry does not specify a name with an explicit java:
namespace. This breakable changes was added in apache tomcat commit. Accordint to tomcat’s bugzilla in next release this breaking changes will be reverted.
UPD 2018-09-24
In Tomcat 8.5.32 changes was reverted, so it is compatible with hybris again.
UPD 2018-10-25
Tomcat was updated to 8.5.32 in hybris 1808.02 (Patch 2). All related issues with hybris was fixed. Datahub application wasn’t updated and is still not compatible.