Please use the following link that will give you some idea how to configure jbpm outside jbpm installer:
I just want to start a process using persistence. (for begining: not using Human Taks, or an Application Server). I allready wrote the code for this:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.persistence.jpa");
Environment env = KnowledgeBaseFactory.newEnvironment();
StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env);
But I am wondering how to tell this process about location of my configuration files: jBPM.properties, persistence.xml ?
Also I need to use hibernate ?