[JBoss-user] [JBoss jBPM] - Re: Terrible performance with jBPM/Tomcat 5.5/Oracle

2005-12-20 Thread ashkumar
Caching and connection pooling are good. But sometimes it is just a question of looking at your application and using jBPM appropriately. For example, you must consider paging when huge recordsets are returned. In any case, you will not be able to display thousands of records to the user. So wh

[JBoss-user] [JBoss jBPM] - Re: Prioritization

2005-12-14 Thread ashkumar
Sounds like you need a rule engine and not a workflow engine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912741#3912741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912741 ---

[JBoss-user] [JBoss jBPM] - Re: jBPM performance

2005-12-13 Thread ashkumar
I have 4 Integers associated with a taskInstance that are persisted in jbpm database. Strangely, retrieval of only one Integer takes a very long time. All others are retrieved very quickly. | Object value = contextInstance.getVariable(variableAccess.getVariableName(), token); | the abov

[JBoss-user] [JBoss jBPM] - Re: jBPM performance

2005-12-12 Thread ashkumar
I have discovered that this particular line | List formParameters = tInstance.getTaskFormParameters(); | is particularly time consuming. Almost 200 milliseconds per iteration. Any ideas why this may be the case? We have to assign variables (Form parameter) to tasks. After all it is only

[JBoss-user] [JBoss jBPM] - Re: jBPM performance

2005-12-12 Thread ashkumar
Hi, I did some timing and narrowed down the problem to the worst offender. | private static Map getMap (TaskInstance tInstance) | { | List formParameters = tInstance.getTaskFormParameters(); | Object object = null; | Map taskMap = new Ha

[JBoss-user] [JBoss jBPM] - Re: Prioritization

2005-12-10 Thread ashkumar
based on my understanding of the problem, there is a very simple solution to it. You just want to assign priority to taskinstances for a particular user. They way to do this would be assign variable called priority for that taskinstance. This variable will be persisted in the jbpm database and

[JBoss-user] [JBoss jBPM] - Re: org.hibernate.HibernateException: /hibernate.cfg.xml not

2005-12-09 Thread ashkumar
Place your config.files folder in the runtime classpath of your application server . Not the compile time classpath. That should get rid of the exception. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911782#3911782 Reply to the post : http://www.jboss.co

[JBoss-user] [JBoss jBPM] - jBPM performance

2005-12-09 Thread ashkumar
I am having a lot of performance related problems with my jBPM deployment. Currently, I have not integrated it with any application server. Inserting 500 tasks requires close to 30 seconds even when I am using the PreparedStatement batch insert via Hibernate. Getting a list of tasks is even wo