[rules-users] Persistence.createEntityManagerFactory NullPointerException

2010-09-01 Thread
hi: in my webapp, I use JPA to store the runtime state,i use this code in VdcService.java which is a sample java class: EntityManagerFactory emf =Persistence.createEntityManagerFactory( "org.drools.persistence.jpa" ); Environment env = KnowledgeBaseFactory.newEnvironment(); env.set( EnvironmentN

[rules-users] how to get a node which is runing in processes?

2010-08-24 Thread
hi all, I have some troubles on drools5.0. this is my questions: 1,There is a event node in ruleflow ,Is it able to customize the events? If its can, is it in the rules file to use @ role (event) to define? 2,In ruleflow, how to get a node which is runing in processes? Please help me .THS! _