Classloading issues running flowable 6.4.0 on Karaf


#21

@tijs I updated my example to flowable 6.4.1 but the problem is stell present


#22

@tijs When I change the classloading behaviour in org.flowable.common.engine.impl.javax.el.ExpressionFactory (line 112) from

classLoader = Thread.currentThread().getContextClassLoader();

to

classLoader = ExpressionFactory.class.getClassLoader();

everthing works as expected. Is there any chance to get rid of the ContextClassLoader?


#23

I came around this issue by setting the ContextClassloader in a CommandInterceptor:

Ideally, the org.flowable.osgi.blueprint.ProcessEngineFactory.init() Method would do this, so this issue would be solved for everybody using OSGi