BACKLOG-3841 jBPM 4.4 to jBPM 6 upgrade
- Fix remaining compilation issues