I guess the JBPM_HOME substring stands for an absolute path in your file system, right? In that case the form of parseEntitiesResource() that takes a String is not the right one to use, because the string identifies a resource in your classpath. Try this instead
InputStream entitiesStream = new BufferedInputStream(new FileInputStream("JBPM_HOME/jbpm/src/resources/hsqldb/identity.db.xml")); Entity entities = IdentityXmlParser.parseEntitiesResource(entitiesStream); entitiesStream.close();
But Just FYI Even If I provide full path like
"/home/jbpm-starters-kit-3.0.2/..." I get same error in previous case but solution you have provided works perfect in either case.