Set service name from the endpoint and fix up the classpath to remove

Tomcat and specific JRE