where does your test code run? most of the time this is a classloader issue
The code runs in an EJB which is deployed on a JBoss server.
Perhaps I should mention that it is an EJB2 and not EJB3.0. Are there general problems with jBPM and EJB2?
Solved the problem:
tag of my jboss-app.xml.