[jboss-user] [JBoss jBPM] - Slow getSession

srsuarez do-not-reply at jboss.com
Tue Mar 13 10:16:28 EDT 2007


I am ussing jbpm on a web application. I have a problem: every time I call "jbpmContext.getSession();", I get a lot of debug messages and it  spent a lot of time. The problem is that it spend about 20 seconds to run. Why it occurs? How can I avoid it?
Thanks.

2007-03-13 14:12:43,767 [http-8080-Processor24] INFO  org.logicalcobwebs.proxool.ProxoolFacade - Proxool 0.9.0RC3+
  | 2007-03-13 14:12:54,980 [http-8080-Processor24] INFO  org.medianias.actions.LogonAction - Validación correcta del usuario 'nancy'; IP: 127.0.0.1
  | 2007-03-13 14:13:02,403 [http-8080-Processor24] INFO  org.hibernate.cfg.Environment - Hibernate 3.1.2
  | 2007-03-13 14:13:02,471 [http-8080-Processor24] INFO  org.hibernate.cfg.Environment - hibernate.properties not found
  | 2007-03-13 14:13:02,481 [http-8080-Processor24] INFO  org.hibernate.cfg.Environment - using CGLIB reflection optimizer
  | 2007-03-13 14:13:02,646 [http-8080-Processor24] INFO  org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
  | 2007-03-13 14:13:03,439 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - configuring from resource: hibernate.cfg.xml
  | 2007-03-13 14:13:03,443 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - Configuration resource: hibernate.cfg.xml
  | 2007-03-13 14:13:05,022 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - Reading mappings from resource: org/jbpm/graph/action/Script.hbm.xml
  | 2007-03-13 14:13:05,466 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml
  | 2007-03-13 14:13:05,784 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
  | 2007-03-13 14:13:06,019 [http-8080-Processor24] INFO  org.hibernate.cfg.HbmBinder - Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
  | 2007-03-13 14:13:06,739 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml
  | 2007-03-13 14:13:06,797 [http-8080-Processor24] INFO  org.hibernate.cfg.HbmBinder - Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
  | 2007-03-13 14:13:06,964 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml
  | 2007-03-13 14:13:07,020 [http-8080-Processor24] INFO  org.hibernate.cfg.HbmBinder - Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
  | 2007-03-13 14:13:07,032 [http-8080-Processor24] INFO  org.hibernate.cfg.Configuration - Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml
  | .....
  | 2007-03-13 14:13:17,546 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
  | 2007-03-13 14:13:17,863 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
  | 2007-03-13 14:13:18,410 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
  | 2007-03-13 14:13:19,624 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
  | 2007-03-13 14:13:20,031 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
  | 2007-03-13 14:13:20,058 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
  | 2007-03-13 14:13:20,746 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
  | 2007-03-13 14:13:21,036 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
  | 2007-03-13 14:13:21,359 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
  | 2007-03-13 14:13:21,770 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
  | 2007-03-13 14:13:22,351 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
  | 2007-03-13 14:13:22,448 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults.
  | 2007-03-13 14:13:22,557 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults.
  | 2007-03-13 14:13:22,562 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
  | 2007-03-13 14:13:22,565 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
  | 2007-03-13 14:13:22,570 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
  | 2007-03-13 14:13:22,574 [http-8080-Processor24] WARN  org.hibernate.cache.EhCacheProvider - Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults.
  | 2
  | .....
  | 

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

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




More information about the jboss-user mailing list