I am using
ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor()
in my web app to accept a completable future with timeout. but in the vaadin webapp the class loader of executor threads is bootstrap class loader. I want to get this initialized by parallel webapp class loader to use libraries in web inf folder. (This is required to load glassfish jaxb) please assist. java version is 11 and tomcat version is 9.0.43