// load up the knowledge base
Environment env = PersistenceUtil.createEnvironment(context);
env.set(EnvironmentName.OBJECT_MARSHALLING_STRATEGIES, new ObjectMarshallingStrategy[] {
new ProcessInstanceResolverStrategy(),
new InfinispanPlaceholderResolverStrategy(env),
new SerializablePlaceholderResolverStrategy(ClassObjectMarshallingStrategyAcceptor.DEFAULT) }
);
KnowledgeBase kbase = loadKnowledgeBase();
// create session