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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929204#3929204

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929204


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to