-
1. Re: GraphSession.deleteProcessInstance taking over 10 minute
enazareno Mar 9, 2006 8:28 PM (in response to fallow)Hi,
Not related to your version but for those using 3.1 disabling logs is quite easy. For the information of others using 3.1, locate the file jbpm.cfg.xml and uncomment the org.jbpm.logging.db.DbLoggingServiceFactory entry. I have not used 3.02 for a long time now but maybe you can check the configuration that is similar to this.
Regards,
Elmo -
2. Re: GraphSession.deleteProcessInstance taking over 10 minute
im_ytk Mar 9, 2006 9:30 PM (in response to fallow)Dear Fallow,
I am using jBPM 3.1. In file jbpm-starters-kit-3.1\jbpm\src\java.jbpm\org\jbpm\logging\db\DbLoggingService.java, function log():public void log(ProcessLog processLog) { if (session!=null) { session.save(processLog); } }
I have commented out session.save(processLog);. Somehow it will carry out all the logging processes, but it will not write anything to the database. In my case, it significantly improves the performance.
I am not if the codes are similar in 3.0.1, I guess it is worthwhile to have a try.
Hope it helps.
Philip -
3. Re: GraphSession.deleteProcessInstance taking over 10 minute
tom.baeyens Mar 10, 2006 3:00 AM (in response to fallow)in jBPM 3.1 you should be able to just comment the line
<service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
in the jbpm.cfg.xml configuration file. No coding should be necessary.
regards, tom. -
4. Re: GraphSession.deleteProcessInstance taking over 10 minute
fallow Mar 10, 2006 10:46 AM (in response to fallow)Tom,
Thanks for the response. We are currently using 3.0.1, is there a similar capability? The closest file I can locate to jbpm.cfg.xml is hibernate.cfg.xml, which does not map the services the same way.
Thanks,
Fallow