1 Reply Latest reply on Nov 17, 2006 1:34 AM by lucluc

    Problema on jBPM and MicroContainer ManagedHibernateSession

    lucluc

      Hi to all,
      I'm trying to mixing and matching 'hibernate' and 'todo' seam samples to conform to my use case (on front end) where I have seam, hibernate and pojo (and I would like to have jbpm).
      I do have some troubles because even if every piece works well alone, the bundle is not working.
      I think the root cause is that both microcontainer and jbpm scan hibernate.cfg.xml and do the mapping: so this operation happens twice.
      Accidentally the exception I get is

      org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="cbi.model.Distint
      a"/>
      
      No surprise on that becasue jbpm is not configured as microcontainer.

      My config is:
      jboss-seam-CVS.20061115, jdk1.5.0.04, win xp.

      Here is the full stack trace:

      C:\jetty-6.0.1>java -jar start.jar
      2006-11-16 15:16:38.892::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
      2006-11-16 15:16:39.096::INFO: jetty-6.0.1
      2006-11-16 15:16:39.486::INFO: Extract jar:file:/C:/jetty-6.0.1/webapps/TODO.war!/ to C:\DOCUME~1\CR00570\IMPOST~1\Temp
      \Jetty_0_0_0_0_8080__TODO_\webapp
      15:16:41,721 INFO [ServletContextListener] Welcome to Seam 1.1.0.BETA2
      15:16:41,752 INFO [Initialization] Mapping namespace http://jboss.com/products/seam/framework to package org.jboss.sea
      m.framework with prefix=
      15:16:41,767 INFO [Scanner] scanning: /C:/Documents and Settings/CR00570/Impostazioni locali/Temp/Jetty_0_0_0_0_8080__T
      ODO_/webapp/WEB-INF/lib/TODO.jar
      15:16:41,767 INFO [Initialization] reading /WEB-INF/components.xml
      15:16:41,861 INFO [Initialization] reading properties from: /seam.properties
      15:16:41,861 INFO [Initialization] reading properties from: /jndi.properties
      15:16:41,877 INFO [Initialization] initializing Seam
      15:16:41,877 INFO [Scanner] scanning: /C:/Documents and Settings/CR00570/Impostazioni locali/Temp/Jetty_0_0_0_0_8080__T
      ODO_/webapp/WEB-INF/lib/TODO.jar
      15:16:41,955 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jbos
      s.seam.core.Init
      15:16:41,971 INFO [Component] Component: expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.E
      xpressions
      15:16:41,971 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jbo
      ss.seam.core.Pages
      15:16:41,986 INFO [Component] Component: org.jboss.seam.core.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.
      seam.core.FacesPage
      15:16:41,986 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events

      15:16:41,986 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, clas
      s: org.jboss.seam.core.ConversationEntries
      15:16:42,002 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.s
      eam.core.Manager
      15:16:42,002 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
      15:16:42,002 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Red
      irect
      15:16:42,002 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Htt
      pError
      15:16:42,002 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core
      .UserPrincipal
      15:16:42,017 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.
      IsUserInRole
      15:16:42,017 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core
      .Conversation
      15:16:42,017 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Con
      versationList
      15:16:42,017 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Co
      nversationStack
      15:16:42,017 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.
      FacesContext
      15:16:42,017 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.P
      ageContext
      15:16:42,033 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.
      EventContext
      15:16:42,033 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.cor
      e.SessionContext
      15:16:42,033 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam
      .core.ApplicationContext
      15:16:42,033 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.sea
      m.core.ConversationContext
      15:16:42,033 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.
      seam.core.BusinessProcessContext
      15:16:42,049 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
      15:16:42,049 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages

      15:16:42,049 INFO [Component] Component: theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
      15:16:42,049 INFO [Component] Component: themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Th
      emeSelector
      15:16:42,064 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.In
      terpolator
      15:16:42,064 INFO [Component] Component: org.jboss.seam.core.validation, scope: APPLICATION, type: JAVA_BEAN, class: or
      g.jboss.seam.core.Validation
      15:16:42,080 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.cor
      e.FacesMessages
      15:16:42,080 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Re
      sourceBundle
      15:16:42,096 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Lo
      caleSelector
      15:16:42,096 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiC
      omponent
      15:16:42,111 INFO [Component] Component: org.jboss.seam.core.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: o
      rg.jboss.seam.core.SafeActions
      15:16:42,111 INFO [Component] Component: org.jboss.seam.core.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN,
      class: org.jboss.seam.core.PersistenceContexts
      15:16:42,127 INFO [Component] Component: currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framewor
      k.CurrentDate
      15:16:42,142 INFO [Component] Component: currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framewor
      k.CurrentTime
      15:16:42,158 INFO [Component] Component: currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.fram
      ework.CurrentDatetime
      15:16:42,158 INFO [Component] Component: org.jboss.seam.core.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: or
      g.jboss.seam.core.Exceptions
      15:16:42,174 INFO [Component] Component: org.jboss.seam.securityManager, scope: APPLICATION, type: JAVA_BEAN, class: or
      g.jboss.seam.security.SeamSecurityManager
      15:16:42,174 INFO [Component] Component: org.jboss.seam.remoting.remotingConfig, scope: APPLICATION, type: JAVA_BEAN, c
      lass: org.jboss.seam.remoting.RemotingConfig
      15:16:42,189 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, ty
      pe: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
      15:16:42,189 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Poj
      oCache
      15:16:42,221 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.j
      boss.seam.debug.Introspector
      15:16:42,236 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org
      .jboss.seam.debug.Contexts
      15:16:42,236 INFO [Component] Component: actor, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Actor
      15:16:42,252 INFO [Component] Component: businessProcess, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.c
      ore.BusinessProcess
      15:16:42,252 INFO [Component] Component: pageflow, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pag
      eflow
      15:16:42,267 INFO [Component] Component: transition, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.T
      ransition
      15:16:42,267 INFO [Component] Component: pooledTask, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Po
      oledTask
      15:16:42,361 INFO [Component] Component: taskInstance, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.
      TaskInstance
      15:16:42,361 INFO [Component] Component: processInstance, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.co
      re.ProcessInstance
      15:16:42,377 INFO [Component] Component: taskInstanceList, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.c
      ore.TaskInstanceList
      15:16:42,377 INFO [Component] Component: pooledTaskInstanceList, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.
      seam.core.PooledTaskInstanceList
      15:16:42,392 INFO [Component] Component: taskInstanceListForType, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss
      .seam.core.TaskInstanceListForType
      15:16:42,408 INFO [Component] Component: jbpmContext, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Managed
      JbpmContext
      15:16:42,408 INFO [Component] Component: cbiFeDatabase, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.cor
      e.ManagedHibernateSession
      15:16:42,424 INFO [Component] Component: hibernateSessionFactory, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss
      .seam.core.HibernateSessionFactory
      15:16:42,424 INFO [Component] Component: org.jboss.seam.core.microcontainer, scope: APPLICATION, type: JAVA_BEAN, class
      : org.jboss.seam.core.Microcontainer
      15:16:42,439 INFO [Component] Component: org.jboss.seam.core.jbpm, scope: APPLICATION, type: JAVA_BEAN, class: org.jbos
      s.seam.core.Jbpm
      15:16:42,439 INFO [Component] Component: distMng, scope: EVENT, type: JAVA_BEAN, class: bean.DistinteManager
      15:16:42,455 INFO [Component] Component: login, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.todo.Login

      15:16:42,455 INFO [Component] Component: todoList, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.todo.To
      doList
      15:16:42,471 INFO [Component] Component: distinta, scope: CONVERSATION, type: ENTITY_BEAN, class: cbi.model.Distinta
      15:16:42,486 INFO [Lifecycle] starting up: isUserInRole
      15:16:42,486 INFO [Lifecycle] starting up: processInstance
      15:16:42,486 INFO [Lifecycle] starting up: org.jboss.seam.core.microcontainer
      15:16:42,939 WARN [BeanSchemaBinding] You should use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-d
      eployer:2.0'
      15:16:43,017 INFO [TransactionManagerFactory] starting JTA transaction manager
      15:16:43,142 INFO [DataSourceFactory] starting Datasource at JNDI name: java:/DefaultDS
      15:16:43,174 INFO [LocalTxDataSource] Bound datasource to JNDI name 'java:/DefaultDS'
      15:16:43,189 INFO [Version] Hibernate Annotations 3.2.0.CR1
      15:16:43,205 INFO [Environment] Hibernate 3.2 cr2
      15:16:43,221 INFO [Environment] hibernate.properties not found
      15:16:43,221 INFO [Environment] Bytecode provider name : cglib
      15:16:43,236 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
      15:16:43,283 INFO [Configuration] configuring from resource: /hibernate.cfg.xml
      15:16:43,283 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
      15:16:43,346 INFO [Configuration] Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml
      15:16:43,392 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
      15:16:43,517 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml
      15:16:43,564 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml
      15:16:43,580 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml
      15:16:43,611 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Action.hbm.xml
      15:16:43,627 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/SuperState.hbm.xml
      15:16:43,642 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/ExceptionHandler.hbm.xml
      15:16:43,674 INFO [Configuration] Reading mappings from resource: org/jbpm/instantiation/Delegation.hbm.xml
      15:16:43,689 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/StartState.hbm.xml
      15:16:43,689 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/EndState.hbm.xml
      15:16:43,705 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/ProcessState.hbm.xml
      15:16:43,721 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/Decision.hbm.xml
      15:16:43,736 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/Fork.hbm.xml
      15:16:43,752 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/Join.hbm.xml
      15:16:43,767 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/State.hbm.xml
      15:16:43,861 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/TaskNode.hbm.xml
      15:16:43,892 INFO [Configuration] Reading mappings from resource: org/jbpm/context/def/ContextDefinition.hbm.xml
      15:16:43,892 INFO [Configuration] Reading mappings from resource: org/jbpm/context/def/VariableAccess.hbm.xml
      15:16:43,908 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml
      15:16:43,924 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/Swimlane.hbm.xml
      15:16:43,939 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/Task.hbm.xml
      15:16:43,955 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/TaskController.hbm.xml
      15:16:43,971 INFO [Configuration] Reading mappings from resource: org/jbpm/module/def/ModuleDefinition.hbm.xml
      15:16:43,986 INFO [Configuration] Reading mappings from resource: org/jbpm/bytes/ByteArray.hbm.xml
      15:16:43,986 INFO [Configuration] Reading mappings from resource: org/jbpm/file/def/FileDefinition.hbm.xml
      15:16:44,002 INFO [Configuration] Reading mappings from resource: org/jbpm/scheduler/def/CreateTimerAction.hbm.xml
      15:16:44,017 INFO [Configuration] Reading mappings from resource: org/jbpm/scheduler/def/CancelTimerAction.hbm.xml
      15:16:44,033 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/Comment.hbm.xml
      15:16:44,127 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml
      15:16:44,142 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/Token.hbm.xml
      15:16:44,158 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/RuntimeAction.hbm.xml
      15:16:44,174 INFO [Configuration] Reading mappings from resource: org/jbpm/module/exe/ModuleInstance.hbm.xml
      15:16:44,174 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/ContextInstance.hbm.xml
      15:16:44,189 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/TokenVariableMap.hbm.xml
      15:16:44,205 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/VariableInstance.hbm.xml
      15:16:44,221 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/ByteArrayInstan
      ce.hbm.xml
      15:16:44,236 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/DateInstance.hb
      m.xml
      15:16:44,236 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/DoubleInstance.
      hbm.xml
      15:16:44,252 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateLongIn
      stance.hbm.xml
      15:16:44,267 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateString
      Instance.hbm.xml
      15:16:44,283 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/LongInstance.hb
      m.xml
      15:16:44,299 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/NullInstance.hb
      m.xml
      15:16:44,408 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/StringInstance.
      hbm.xml
      15:16:44,424 INFO [Configuration] Reading mappings from resource: org/jbpm/msg/Message.hbm.xml
      15:16:44,424 INFO [Configuration] Reading mappings from resource: org/jbpm/msg/db/TextMessage.hbm.xml
      15:16:44,439 INFO [Configuration] Reading mappings from resource: org/jbpm/command/ExecuteActionCommand.hbm.xml
      15:16:44,455 INFO [Configuration] Reading mappings from resource: org/jbpm/command/ExecuteNodeCommand.hbm.xml
      15:16:44,455 INFO [Configuration] Reading mappings from resource: org/jbpm/command/SignalCommand.hbm.xml
      15:16:44,471 INFO [Configuration] Reading mappings from resource: org/jbpm/command/TaskInstanceEndCommand.hbm.xml
      15:16:44,486 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml
      15:16:44,486 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
      15:16:44,502 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/PooledActor.hbm.xml
      15:16:44,517 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml
      15:16:44,533 INFO [Configuration] Reading mappings from resource: org/jbpm/scheduler/exe/Timer.hbm.xml
      15:16:44,533 INFO [Configuration] Reading mappings from resource: org/jbpm/logging/log/ProcessLog.hbm.xml
      15:16:44,549 INFO [Configuration] Reading mappings from resource: org/jbpm/logging/log/MessageLog.hbm.xml
      15:16:44,564 INFO [Configuration] Reading mappings from resource: org/jbpm/logging/log/CompositeLog.hbm.xml
      15:16:44,564 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/ActionLog.hbm.xml
      15:16:44,674 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/NodeLog.hbm.xml
      15:16:44,689 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml
      15:16:44,689 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml
      15:16:44,705 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/SignalLog.hbm.xml
      15:16:44,721 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/TokenCreateLog.hbm.xml
      15:16:44,721 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/TokenEndLog.hbm.xml
      15:16:44,736 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/TransitionLog.hbm.xml
      15:16:44,736 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableLog.hbm.xml
      15:16:44,752 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableCreateLog.hbm.xml
      15:16:44,767 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableDeleteLog.hbm.xml
      15:16:44,767 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableUpdateLog.hbm.xml
      15:16:44,783 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/ByteArrayUpdate
      Log.hbm.xml
      15:16:44,799 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/DateUpdateLog.h
      bm.xml
      15:16:44,814 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/DoubleUpdateLog
      .hbm.xml
      15:16:44,814 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateLongUp
      dateLog.hbm.xml
      15:16:44,924 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateString
      UpdateLog.hbm.xml
      15:16:44,939 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/LongUpdateLog.h
      bm.xml
      15:16:44,955 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/StringUpdateLog
      .hbm.xml
      15:16:44,971 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskLog.hbm.xml
      15:16:44,971 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml
      15:16:44,986 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml
      15:16:44,986 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml
      15:16:45,002 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
      15:16:45,017 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml
      15:16:45,017 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml
      15:16:45,033 INFO [Configuration] Configured SessionFactory: null
      15:16:45,111 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
      15:16:45,189 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
      15:16:45,205 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
      15:16:45,205 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
      15:16:45,205 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
      15:16:45,252 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
      15:16:45,252 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
      15:16:45,252 INFO [HbmBinder] Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
      15:16:45,252 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
      15:16:45,252 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
      15:16:45,267 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
      15:16:45,267 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
      15:16:45,267 INFO [HbmBinder] Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDI
      TIONS
      15:16:45,283 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
      15:16:45,283 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
      15:16:45,283 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
      15:16:45,283 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
      15:16:45,299 INFO [HbmBinder] Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
      15:16:45,299 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
      15:16:45,299 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
      15:16:45,299 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
      15:16:45,314 INFO [HbmBinder] Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
      15:16:45,314 INFO [HbmBinder] Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
      15:16:45,314 INFO [HbmBinder] Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
      15:16:45,314 INFO [HbmBinder] Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
      15:16:45,314 INFO [HbmBinder] Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
      15:16:45,330 INFO [HbmBinder] Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
      15:16:45,330 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
      15:16:45,330 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
      15:16:45,346 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
      15:16:45,346 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
      15:16:45,361 INFO [HbmBinder] Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
      15:16:45,361 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
      15:16:45,361 INFO [HbmBinder] Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
      15:16:45,361 INFO [HbmBinder] Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
      15:16:45,377 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABL
      EINSTANCE
      15:16:45,377 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINST
      ANCE
      15:16:45,377 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEIN
      STANCE
      15:16:45,377 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VAR
      IABLEINSTANCE
      15:16:45,392 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_V
      ARIABLEINSTANCE
      15:16:45,392 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINST
      ANCE
      15:16:45,392 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.NullInstance -> JBPM_VARIABLEINST
      ANCE
      15:16:45,408 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEIN
      STANCE
      15:16:45,408 INFO [HbmBinder] Mapping class: org.jbpm.msg.Message -> JBPM_MESSAGE
      15:16:45,408 INFO [HbmBinder] Mapping subclass: org.jbpm.msg.db.TextMessage -> JBPM_MESSAGE
      15:16:45,424 INFO [HbmBinder] Mapping subclass: org.jbpm.command.ExecuteActionCommand -> JBPM_MESSAGE
      15:16:45,424 INFO [HbmBinder] Mapping subclass: org.jbpm.command.ExecuteNodeCommand -> JBPM_MESSAGE
      15:16:45,424 INFO [HbmBinder] Mapping subclass: org.jbpm.command.SignalCommand -> JBPM_MESSAGE
      15:16:45,424 INFO [HbmBinder] Mapping subclass: org.jbpm.command.TaskInstanceEndCommand -> JBPM_MESSAGE
      15:16:45,424 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.exe.TaskMgmtInstance -> JBPM_MODULEINSTANCE
      15:16:45,439 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.TaskInstance -> JBPM_TASKINSTANCE
      15:16:45,439 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL

      15:16:45,455 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR
      15:16:45,455 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL

      15:16:45,455 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE
      15:16:45,455 INFO [HbmBinder] Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER
      15:16:45,471 INFO [HbmBinder] Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG
      15:16:45,471 INFO [HbmBinder] Mapping subclass: org.jbpm.logging.log.MessageLog -> JBPM_LOG
      15:16:45,471 INFO [HbmBinder] Mapping subclass: org.jbpm.logging.log.CompositeLog -> JBPM_LOG
      15:16:45,471 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.ActionLog -> JBPM_LOG
      15:16:45,471 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.NodeLog -> JBPM_LOG
      15:16:45,486 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.ProcessInstanceCreateLog -> JBPM_LOG
      15:16:45,486 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.ProcessInstanceEndLog -> JBPM_LOG
      15:16:45,486 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.SignalLog -> JBPM_LOG
      15:16:45,486 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.TokenCreateLog -> JBPM_LOG
      15:16:45,486 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.TokenEndLog -> JBPM_LOG
      15:16:45,486 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.TransitionLog -> JBPM_LOG
      15:16:45,502 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableLog -> JBPM_LOG
      15:16:45,502 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableCreateLog -> JBPM_LOG
      15:16:45,502 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableDeleteLog -> JBPM_LOG
      15:16:45,502 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableUpdateLog -> JBPM_LOG
      15:16:45,502 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.ByteArrayUpdateLog -> JBPM_LOG
      15:16:45,502 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.DateUpdateLog -> JBPM_LOG
      15:16:45,517 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.DoubleUpdateLog -> JBPM_LOG
      15:16:45,517 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.HibernateLongUpdateLog -> JBPM_LO
      G
      15:16:45,517 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog -> JBPM_
      LOG
      15:16:45,517 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.LongUpdateLog -> JBPM_LOG
      15:16:45,533 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.StringUpdateLog -> JBPM_LOG
      15:16:45,533 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskLog -> JBPM_LOG
      15:16:45,533 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskCreateLog -> JBPM_LOG
      15:16:45,533 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskAssignLog -> JBPM_LOG
      15:16:45,533 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskEndLog -> JBPM_LOG
      15:16:45,533 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneLog -> JBPM_LOG
      15:16:45,549 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneCreateLog -> JBPM_LOG
      15:16:45,549 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneAssignLog -> JBPM_LOG
      15:16:45,549 INFO [AnnotationBinder] Binding entity from annotated class: cbi.model.Distinta
      15:16:45,564 INFO [EntityBinder] Bind entity cbi.model.Distinta on table Distinta
      15:16:45,596 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.def.TaskMgmtDefinition -> JBPM_MODULEDEFINITION
      15:16:45,596 INFO [HbmBinder] Mapping subclass: org.jbpm.context.def.ContextDefinition -> JBPM_MODULEDEFINITION
      15:16:45,596 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.events -> JBPM_EVENT
      15:16:45,596 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers -> JBPM_EXCEPT
      IONHANDLER
      15:16:45,611 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.nodes -> JBPM_NODE
      15:16:45,611 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.actions -> JBPM_ACTION
      15:16:45,611 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.definitions -> JBPM_MODULEDEFINI
      TION
      15:16:45,611 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.events -> JBPM_EVENT
      15:16:45,611 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      15:16:45,627 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.leavingTransitions -> JBPM_TRANSITION
      15:16:45,627 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.arrivingTransitions -> JBPM_TRANSITION
      15:16:45,627 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Transition.events -> JBPM_EVENT
      15:16:45,627 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Transition.exceptionHandlers -> JBPM_EXCEPTIONHAND
      LER
      15:16:45,627 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Event.actions -> JBPM_ACTION
      15:16:45,642 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.SuperState.nodes -> JBPM_NODE
      15:16:45,642 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ExceptionHandler.actions -> JBPM_ACTION
      15:16:45,642 INFO [HbmBinder] Mapping collection: org.jbpm.graph.node.ProcessState.variableAccesses -> JBPM_VARIABLEACC
      ESS
      15:16:45,642 INFO [HbmBinder] Mapping collection: org.jbpm.graph.node.TaskNode.tasks -> JBPM_TASK
      15:16:45,642 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.Swimlane.tasks -> JBPM_TASK
      15:16:45,658 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.Task.events -> JBPM_EVENT
      15:16:45,658 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.Task.exceptionHandlers -> JBPM_EXCEPTIONHANDLER

      15:16:45,658 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskController.variableAccesses -> JBPM_VARIABL
      EACCESS
      15:16:45,658 INFO [HbmBinder] Mapping collection: org.jbpm.file.def.FileDefinition.processFiles -> JBPM_BYTEARRAY
      15:16:45,674 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.ProcessInstance.runtimeActions -> JBPM_RUNTIMEACTI
      ON
      15:16:45,674 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.ProcessInstance.instances -> JBPM_MODULEINSTANCE
      15:16:45,674 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.Token.children -> JBPM_TOKEN
      15:16:45,783 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.Token.comments -> JBPM_COMMENT
      15:16:45,783 INFO [HbmBinder] Mapping collection: org.jbpm.context.exe.ContextInstance.tokenVariableMaps -> JBPM_TOKENV
      ARIABLEMAP
      15:16:45,783 INFO [HbmBinder] Mapping collection: org.jbpm.context.exe.TokenVariableMap.variableInstances -> JBPM_VARIA
      BLEINSTANCE
      15:16:45,799 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.swimlaneInstances -> JBPM_SWIM
      LANEINSTANCE
      15:16:45,799 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.taskInstances -> JBPM_TASKINST
      ANCE
      15:16:45,799 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLE
      INSTANCE
      15:16:45,814 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT
      15:16:45,814 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACT
      OR
      15:16:45,814 INFO [HbmBinder] Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG
      15:16:45,814 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
      15:16:45,814 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
      15:16:46,080 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOn
      lyContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      15:16:46,080 INFO [DatasourceConnectionProvider] Using datasource: java:/DefaultDS
      15:16:46,299 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.22-community-nt
      15:16:46,299 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.3 ( $Date: 200
      6-07-26 17:26:47 +0200 (Wed, 26 Jul 2006) $, $Revision: 5553 $ )
      15:16:46,330 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
      15:16:46,330 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
      15:16:46,330 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOn
      lyContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      15:16:46,346 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.J
      BossTransactionManagerLookup
      15:16:46,346 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      15:16:46,346 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.J
      BossTransactionManagerLookup
      15:16:46,361 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      15:16:46,361 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
      15:16:46,361 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
      15:16:46,361 INFO [SettingsFactory] JDBC batch size: 15
      15:16:46,361 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
      15:16:46,361 INFO [SettingsFactory] Scrollable result sets: enabled
      15:16:46,377 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
      15:16:46,377 INFO [SettingsFactory] Connection release mode: after_statement
      15:16:46,377 INFO [SettingsFactory] Maximum outer join fetch depth: 2
      15:16:46,377 INFO [SettingsFactory] Default batch fetch size: 1
      15:16:46,377 INFO [SettingsFactory] Generate SQL with comments: disabled
      15:16:46,377 INFO [SettingsFactory] Order SQL updates by primary key: disabled
      15:16:46,392 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      15:16:46,392 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      15:16:46,392 INFO [SettingsFactory] Query language substitutions: {}
      15:16:46,392 INFO [SettingsFactory] Second-level cache: enabled
      15:16:46,392 INFO [SettingsFactory] Query cache: disabled
      15:16:46,392 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
      15:16:46,408 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
      15:16:46,408 INFO [SettingsFactory] Structured second-level cache entries: disabled
      15:16:46,408 INFO [SettingsFactory] Echoing all SQL to stdout
      15:16:46,408 INFO [SettingsFactory] Statistics: disabled
      15:16:46,408 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      15:16:46,424 INFO [SettingsFactory] Default entity-mode: pojo
      15:16:46,455 INFO [SessionFactoryImpl] building session factory
      15:16:47,783 INFO [JbpmConfiguration] using jbpm configuration resource 'jbpm.cfg.xml'
      15:16:48,392 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
      15:16:48,392 INFO [SchemaUpdate] Running hbm2ddl schema update
      15:16:48,392 INFO [SchemaUpdate] fetching database metadata
      15:16:48,408 INFO [SchemaUpdate] updating schema
      15:16:48,439 INFO [DatabaseMetadata] table not found: Distinta
      15:16:48,486 INFO [TableMetadata] table found: todo.jbpm_action
      15:16:48,486 INFO [TableMetadata] columns: [event_, repeat_, isasync_, class, id_, exceptionhandlerindex_, exceptionhan
      dler_, referencedaction_, ispropagationallowed_, eventindex_, name_, actiondelegation_, timername_, actionexpression_, p
      rocessdefinition_, timeraction_, duedate_, transitionname_]
      15:16:48,502 INFO [TableMetadata] foreign keys: [fk_action_actndel, fk_action_expthdl, fk_crtetimeract_ta, fk_action_ev
      ent, fk_action_refact, fk_action_procdef]
      15:16:48,502 INFO [TableMetadata] indexes: [fk_action_actndel, primary, fk_action_expthdl, fk_crtetimeract_ta, fk_actio
      n_event, fk_action_refact, fk_action_procdef]
      15:16:48,533 INFO [TableMetadata] table found: todo.jbpm_bytearray
      15:16:48,533 INFO [TableMetadata] columns: [name_, filedefinition_, id_]
      15:16:48,533 INFO [TableMetadata] foreign keys: [fk_bytearr_fildef]
      15:16:48,533 INFO [TableMetadata] indexes: [primary, fk_bytearr_fildef]
      15:16:48,549 INFO [TableMetadata] table found: todo.jbpm_byteblock
      15:16:48,564 INFO [TableMetadata] columns: [bytes_, index_, processfile_]
      15:16:48,564 INFO [TableMetadata] foreign keys: [fk_byteblock_file]
      15:16:48,564 INFO [TableMetadata] indexes: [primary, fk_byteblock_file]
      15:16:48,580 INFO [TableMetadata] table found: todo.jbpm_comment
      15:16:48,580 INFO [TableMetadata] columns: [message_, taskinstance_, time_, token_, actorid_, version_, taskinstanceind
      ex_, id_, tokenindex_]
      15:16:48,596 INFO [TableMetadata] foreign keys: [fk_comment_tsk, fk_comment_token]
      15:16:48,596 INFO [TableMetadata] indexes: [primary, fk_comment_tsk, fk_comment_token]
      15:16:48,611 INFO [TableMetadata] table found: todo.jbpm_decisionconditions
      15:16:48,611 INFO [TableMetadata] columns: [decision_, expression_, transitionname_, index_]
      15:16:48,611 INFO [TableMetadata] foreign keys: [fk_deccond_dec]
      15:16:48,611 INFO [TableMetadata] indexes: [primary, fk_deccond_dec]
      15:16:48,642 INFO [TableMetadata] table found: todo.jbpm_delegation
      15:16:48,642 INFO [TableMetadata] columns: [classname_, processdefinition_, configuration_, id_, configtype_]
      15:16:48,642 INFO [TableMetadata] foreign keys: [fk_delegation_prcd]
      15:16:48,642 INFO [TableMetadata] indexes: [primary, fk_delegation_prcd]
      15:16:48,658 INFO [TableMetadata] table found: todo.jbpm_event
      15:16:48,674 INFO [TableMetadata] columns: [type_, processdefinition_, node_, task_, eventtype_, id_, transition_, grap
      helement_]
      15:16:48,674 INFO [TableMetadata] foreign keys: [fk_event_task, fk_event_procdef, fk_event_trans, fk_event_node]
      15:16:48,674 INFO [TableMetadata] indexes: [fk_event_task, primary, fk_event_procdef, fk_event_trans, fk_event_node]
      15:16:48,689 INFO [TableMetadata] table found: todo.jbpm_exceptionhandler
      15:16:48,689 INFO [TableMetadata] columns: [type_, processdefinition_, node_, task_, id_, graphelementindex_, transitio
      n_, graphelement_, exceptionclassname_]
      15:16:48,705 INFO [TableMetadata] foreign keys: []
      15:16:48,705 INFO [TableMetadata] indexes: [primary]
      15:16:48,736 INFO [TableMetadata] table found: todo.jbpm_log
      15:16:48,736 INFO [TableMetadata] columns: [child_, newlongidclass_, token_, oldlongidclass_, taskactorid_, oldlongvalu
      e_, class_, id_, newlongvalue_, newstringidvalue_, parent_, node_, olddoublevalue_, newlongidvalue_, date_, newdatevalue
      _, olddatevalue_, swimlaneinstance_, oldstringvalue_, sourcenode_, newstringvalue_, leave_, enter_, oldbytearray_, newby
      tearray_, oldstringidclass_, exception_, destinationnode_, oldlongidvalue_, duration_, index_, message_, taskinstance_,
      newstringidclass_, newdoublevalue_, variableinstance_, transition_, action_, taskoldactorid_, oldstringidvalue_]
      15:16:48,752 INFO [TableMetadata] foreign keys: [fk_log_destnode, fk_log_transition, fk_log_action, fk_log_varinst, fk_
      log_parent, fk_log_sourcenode, fk_log_newbytes, fk_log_node, fk_log_childtoken, fk_log_oldbytes, fk_log_swiminst, fk_log
      _taskinst, fk_log_token]
      15:16:48,752 INFO [TableMetadata] indexes: [primary, fk_log_destnode, fk_log_transition, fk_log_action, fk_log_varinst,
      fk_log_parent, fk_log_sourcenode, fk_log_newbytes, fk_log_node, fk_log_childtoken, fk_log_oldbytes, fk_log_swiminst, fk
      _log_taskinst, fk_log_token]
      15:16:48,783 INFO [TableMetadata] table found: todo.jbpm_message
      15:16:48,783 INFO [TableMetadata] columns: [text_, destination_, taskinstance_, token_, node_, exception_, class_, id_,
      transitionname_, issuspended_, action_]
      15:16:48,783 INFO [TableMetadata] foreign keys: [fk_cmd_taskinst, fk_msg_token, fk_cmd_node, fk_cmd_action]
      15:16:48,799 INFO [TableMetadata] indexes: [primary, fk_cmd_taskinst, fk_cmd_action, fk_cmd_node, fk_msg_token]
      15:16:48,814 INFO [TableMetadata] table found: todo.jbpm_moduledefinition
      15:16:48,814 INFO [TableMetadata] columns: [name_, starttask_, processdefinition_, class_, id_]
      15:16:48,830 INFO [TableMetadata] foreign keys: [fk_tskdef_start, fk_moddef_procdef]
      15:16:48,830 INFO [TableMetadata] indexes: [fk_tskdef_start, primary, fk_moddef_procdef]
      15:16:48,846 INFO [TableMetadata] table found: todo.jbpm_moduleinstance
      15:16:48,846 INFO [TableMetadata] columns: [name_, processinstance_, taskmgmtdefinition_, class_, id_]
      15:16:48,846 INFO [TableMetadata] foreign keys: [fk_taskmgtinst_tmd, fk_modinst_prcinst]
      15:16:48,846 INFO [TableMetadata] indexes: [fk_modinst_prcinst, fk_taskmgtinst_tmd, primary]
      15:16:48,877 INFO [TableMetadata] table found: todo.jbpm_node
      15:16:48,877 INFO [TableMetadata] columns: [nodecollectionindex_, superstate_, subprocessdefinition_, isasync_, endtask
      s_, id_, class_, createtasks_, decisiondelegation, name_, processdefinition_, action_, decisionexpression_, signal_]
      15:16:48,877 INFO [TableMetadata] foreign keys: [fk_procst_sbprcdef, fk_node_action, fk_node_superstate, fk_node_procde
      f, fk_decision_deleg]
      15:16:48,892 INFO [TableMetadata] indexes: [fk_procst_sbprcdef, primary, fk_node_action, fk_node_superstate, fk_node_pr
      ocdef, fk_decision_deleg]
      15:16:48,908 INFO [TableMetadata] table found: todo.jbpm_pooledactor
      15:16:48,908 INFO [TableMetadata] columns: [actorid_, id_, swimlaneinstance_]
      15:16:48,908 INFO [TableMetadata] foreign keys: [fk_pooledactor_sli]
      15:16:48,908 INFO [TableMetadata] indexes: [primary, fk_pooledactor_sli]
      15:16:48,924 INFO [TableMetadata] table found: todo.jbpm_processdefinition
      15:16:48,924 INFO [TableMetadata] columns: [name_, version_, startstate_, id_, isterminationimplicit_]
      15:16:48,939 INFO [TableMetadata] foreign keys: [fk_procdef_strtsta]
      15:16:48,939 INFO [TableMetadata] indexes: [primary, fk_procdef_strtsta]
      15:16:48,955 INFO [TableMetadata] table found: todo.jbpm_processinstance
      15:16:48,955 INFO [TableMetadata] columns: [start_, processdefinition_, end_, version_, roottoken_, id_, superprocessto
      ken_, issuspended_]
      15:16:48,955 INFO [TableMetadata] foreign keys: [fk_procin_sproctkn, fk_procin_procdef, fk_procin_roottkn]
      15:16:48,955 INFO [TableMetadata] indexes: [fk_procin_sproctkn, primary, fk_procin_procdef, fk_procin_roottkn]
      15:16:48,986 INFO [TableMetadata] table found: todo.jbpm_runtimeaction
      15:16:48,986 INFO [TableMetadata] columns: [type_, version_, processinstance_, eventtype_, processinstanceindex_, id_,
      action_, graphelement_]
      15:16:48,986 INFO [TableMetadata] foreign keys: [fk_rtactn_procinst, fk_rtactn_action]
      15:16:48,986 INFO [TableMetadata] indexes: [fk_rtactn_procinst, primary, fk_rtactn_action]
      15:16:49,002 INFO [TableMetadata] table found: todo.jbpm_swimlane
      15:16:49,017 INFO [TableMetadata] columns: [name_, assignmentdelegation_, taskmgmtdefinition_, id_, pooledactorsexpress
      ion_, actoridexpression_]
      15:16:49,017 INFO [TableMetadata] foreign keys: [fk_swl_assdel, fk_swl_tskmgmtdef]
      15:16:49,017 INFO [TableMetadata] indexes: [fk_swl_assdel, primary, fk_swl_tskmgmtdef]
      15:16:49,033 INFO [TableMetadata] table found: todo.jbpm_swimlaneinstance
      15:16:49,033 INFO [TableMetadata] columns: [name_, actorid_, taskmgmtinstance_, swimlane_, id_]
      15:16:49,033 INFO [TableMetadata] foreign keys: [fk_swimlaneinst_sl, fk_swimlaneinst_tm]
      15:16:49,049 INFO [TableMetadata] indexes: [primary, fk_swimlaneinst_sl, fk_swimlaneinst_tm]
      15:16:49,064 INFO [TableMetadata] table found: todo.jbpm_task
      15:16:49,064 INFO [TableMetadata] columns: [assignmentdelegation_, taskcontroller_, swimlane_, taskmgmtdefinition_, id_
      , issignalling_, actoridexpression_, pooledactorsexpression_, name_, isblocking_, processdefinition_, startstate_, dueda
      te_, tasknode_, description_]
      15:16:49,064 INFO [TableMetadata] foreign keys: [fk_task_tasknode, fk_task_startst, fk_task_assdel, fk_task_swimlane, f
      k_tsk_tskctrl, fk_task_taskmgtdef, fk_task_procdef]
      15:16:49,080 INFO [TableMetadata] indexes: [primary, fk_task_startst, fk_task_tasknode, fk_task_assdel, fk_task_swimlan
      e, fk_tsk_tskctrl, fk_task_taskmgtdef, fk_task_procdef]
      15:16:49,096 INFO [TableMetadata] table found: todo.jbpm_taskactorpool
      15:16:49,096 INFO [TableMetadata] columns: [taskinstance_, pooledactor_]
      15:16:49,096 INFO [TableMetadata] foreign keys: [fk_tskactpol_plact, fk_taskactpl_tski]
      15:16:49,096 INFO [TableMetadata] indexes: [primary, fk_tskactpol_plact, fk_taskactpl_tski]
      15:16:49,111 INFO [TableMetadata] table found: todo.jbpm_taskcontroller
      15:16:49,111 INFO [TableMetadata] columns: [taskcontrollerdelegation_, id_]
      15:16:49,111 INFO [TableMetadata] foreign keys: [fk_tskctrl_deleg]
      15:16:49,127 INFO [TableMetadata] indexes: [fk_tskctrl_deleg, primary]
      15:16:49,142 INFO [TableMetadata] table found: todo.jbpm_taskinstance
      15:16:49,142 INFO [TableMetadata] columns: [start_, isopen_, token_, actorid_, swimlaninstance_, id_, class_, priority_
      , create_, issignalling_, name_, isblocking_, end_, taskmgmtinstance_, task_, duedate_, description_, iscancelled_, issu
      spended_]
      15:16:49,142 INFO [TableMetadata] foreign keys: [fk_taskinst_tminst, fk_taskinst_token, fk_taskinst_slinst, fk_taskinst
      _task]
      15:16:49,158 INFO [TableMetadata] indexes: [primary, fk_taskinst_tminst, fk_taskinst_token, fk_taskinst_slinst, fk_task
      inst_task]
      15:16:49,174 INFO [TableMetadata] table found: todo.jbpm_timer
      15:16:49,174 INFO [TableMetadata] columns: [repeat_, token_, exception_, id_, name_, taskinstance_, graphelementtype_,
      processinstance_, duedate_, transitionname_, issuspended_, action_, graphelement_]
      15:16:49,189 INFO [TableMetadata] foreign keys: [fk_timer_tskinst, fk_timer_action, fk_timer_prinst, fk_timer_token]
      15:16:49,189 INFO [TableMetadata] indexes: [primary, fk_timer_tskinst, fk_timer_action, fk_timer_prinst, fk_timer_token
      ]
      15:16:49,205 INFO [TableMetadata] table found: todo.jbpm_token
      15:16:49,221 INFO [TableMetadata] columns: [start_, id_, isabletoreactivateparent_, subprocessinstance_, nodeenter_, na
      me_, nextlogindex_, version_, end_, parent_, processinstance_, node_, isterminationimplicit_, issuspended_]
      15:16:49,221 INFO [TableMetadata] foreign keys: [fk_token_procinst, fk_token_subpi, fk_token_parent, fk_token_node]
      15:16:49,221 INFO [TableMetadata] indexes: [primary, fk_token_procinst, fk_token_subpi, fk_token_parent, fk_token_node]

      15:16:49,236 INFO [TableMetadata] table found: todo.jbpm_tokenvariablemap
      15:16:49,236 INFO [TableMetadata] columns: [contextinstance_, token_, id_]
      15:16:49,252 INFO [TableMetadata] foreign keys: [fk_tkvarmap_ctxt, fk_tkvarmap_token]
      15:16:49,252 INFO [TableMetadata] indexes: [primary, fk_tkvarmap_ctxt, fk_tkvarmap_token]
      15:16:51,158 INFO [TableMetadata] table found: todo.jbpm_transition
      15:16:51,158 INFO [TableMetadata] columns: [name_, processdefinition_, to_, fromindex_, id_, from_]
      15:16:51,158 INFO [TableMetadata] foreign keys: [fk_trans_procdef, fk_transition_to, fk_transition_from]
      15:16:51,174 INFO [TableMetadata] indexes: [primary, fk_trans_procdef, fk_transition_to, fk_transition_from]
      15:16:51,220 INFO [TableMetadata] table found: todo.jbpm_variableaccess
      15:16:51,220 INFO [TableMetadata] columns: [variablename_, access_, taskcontroller_, processstate_, mappedname_, id_, i
      ndex_]
      15:16:51,220 INFO [TableMetadata] foreign keys: [fk_varacc_tskctrl, fk_varacc_procst]
      15:16:51,220 INFO [TableMetadata] indexes: [primary, fk_varacc_tskctrl, fk_varacc_procst]
      15:16:51,252 INFO [TableMetadata] table found: todo.jbpm_variableinstance
      15:16:51,252 INFO [TableMetadata] columns: [stringvalue_, bytearrayvalue_, stringidclass_, token_, tokenvariablemap_, d
      oublevalue_, id_, class_, datevalue_, longvalue_, name_, taskinstance_, converter_, processinstance_, longidclass_]
      15:16:51,252 INFO [TableMetadata] foreign keys: [fk_varinst_tkvarmp, fk_byteinst_array, fk_var_tskinst, fk_varinst_prci
      nst, fk_varinst_tk]
      15:16:51,267 INFO [TableMetadata] indexes: [fk_varinst_tkvarmp, primary, fk_byteinst_array, fk_var_tskinst, fk_varinst_
      prcinst, fk_varinst_tk]
      15:16:51,267 INFO [DatabaseMetadata] table not found: Distinta
      15:16:51,470 INFO [SchemaUpdate] schema update complete
      15:16:51,486 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOn
      lyContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      15:16:51,642 WARN [FromElementType] Using non-qualified column reference [id -> ([ID_])]
      15:16:51,658 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      15:16:51,658 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      15:16:51,689 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      15:16:51,689 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      15:16:51,689 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      15:16:51,705 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      15:16:51,720 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      15:16:51,720 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      15:16:51,752 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
      15:16:51,767 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      15:16:51,783 INFO [Lifecycle] starting up: org.jboss.seam.core.jbpm
      15:16:51,783 INFO [Configuration] configuring from resource: hibernate.cfg.xml
      15:16:51,799 INFO [Configuration] Configuration resource: hibernate.cfg.xml
      2006-11-16 15:16:51.799::WARN: failed ContextHandler@7ae6d{/TODO,file:/C:/Documents%20and%20Settings/CR00570/Impostazio
      ni%20locali/Temp/Jetty_0_0_0_0_8080__TODO_/webapp/}
      2006-11-16 15:16:51.814::WARN: failed ContextHandlerCollection@4c94e5
      2006-11-16 15:16:51.814::WARN: failed HandlerCollection@fafd42
      2006-11-16 15:16:51.861::INFO: Started SelectChannelConnector @ 0.0.0.0:8080
      2006-11-16 15:16:51.861::WARN: failed Server@3c9616
      2006-11-16 15:16:51.861::WARN: EXCEPTION
      org.hibernate.MappingException: An AnnotationConfiguration instance is required to use
      at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1519)
      at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1474)
      at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1453)
      at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1427)
      at org.hibernate.cfg.Configuration.configure(Configuration.java:1347)
      at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:90)
      at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:68)
      at org.jboss.seam.core.Jbpm.initJbpmConfiguration(Jbpm.java:115)
      at org.jboss.seam.core.Jbpm.getJbpmConfiguration(Jbpm.java:81)
      at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:217)
      at org.jboss.seam.core.Jbpm.startup(Jbpm.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
      at org.jboss.seam.Component.callComponentMethod(Component.java:1743)
      at org.jboss.seam.Component.callCreateMethod(Component.java:1691)
      at org.jboss.seam.Component.newInstance(Component.java:1680)
      at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:153)
      at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:127)
      at org.jboss.seam.init.Initialization.init(Initialization.java:438)
      at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1129)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:457)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
      at org.mortbay.jetty.Server.doStart(Server.java:210)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
      at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:905)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.mortbay.start.Main.invokeMain(Main.java:183)
      at org.mortbay.start.Main.start(Main.java:497)
      at org.mortbay.start.Main.main(Main.java:115)