6 Replies Latest reply on Jan 26, 2007 3:17 PM by pailrider

    deployProcessDefinition helper function - throws NullPointer

      I am having an issue with programmatically deploying a process definition via the JbpmContext help functions. I am calling the following code within a struts action class when the user clicks a button. My config and code follow.

      The problem is that I get a null pointer exception during the call. see the exception below.

      Any ideas? TIA

      My hibernate.config.xml:

      <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
       <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
       <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:orclr2</property>
       <property name="hibernate.connection.username">system</property>
       <property name="hibernate.connection.password">core1234</property>
       <property name="hibernate.show_sql">true</property>
       <!-- property name="hibernate.c3p0.min_size">1</property>
       <property name="hibernate.c3p0.max_size">3</property-->
       <property name="hibernate.query.substitutions">true 1, false 0</property>
      


      My Code:


      
       public void deployProcessDefinition() {
      
       ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(
       "<process-definition name='hello world'>" +
       " <start-state name='start'>" +
       " <transition to='s' />" +
       " </start-state>" +
       " <state name='s'>" +
       " <transition to='end' />" +
       " </state>" +
       " <end-state name='end' />" +
       "</process-definition>"
       );
      
       // Lookup the pojo persistence context-builder that is configured above
       JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
       try {
       // Deploy the process definition in the database
       jbpmContext.deployProcessDefinition(processDefinition);
      
       } finally {
       // Tear down the pojo persistence context.
       // This includes flush the SQL for inserting the process definition
       // to the database.
       jbpmContext.close();
       }
       }
      
      


      The Exception

      [1/23/07 14:36:24:661 EST] 0000002f ServletWrappe A SRVE0242I: [/index.jsp]: Initialization successful.
      [1/23/07 14:36:24:677 EST] 0000002f PropertyMessa I Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
      [1/23/07 14:36:24:693 EST] 0000002f PropertyMessa I Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
      [1/23/07 14:36:26:192 EST] 00000040 ServletWrappe A SRVE0242I: [/applicant/applicantForm.jsp]: Initialization successful.
      [1/23/07 14:36:26:208 EST] 00000040 PropertyMessa I Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
      [1/23/07 14:36:26:208 EST] 00000040 PropertyMessa I Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
      [1/23/07 14:36:35:018 EST] 00000033 JbpmConfigura I using jbpm configuration resource 'jbpm.cfg.xml'
      [1/23/07 14:36:35:439 EST] 00000033 Environment I Hibernate 3.1
      [1/23/07 14:36:35:455 EST] 00000033 Environment I hibernate.properties not found
      [1/23/07 14:36:35:471 EST] 00000033 Environment I using CGLIB reflection optimizer
      [1/23/07 14:36:35:517 EST] 00000033 Environment I using JDK 1.4 java.sql.Timestamp handling
      [1/23/07 14:36:35:674 EST] 00000033 Configuration I configuring from resource: config.files/hibernate.cfg.xml
      [1/23/07 14:36:35:689 EST] 00000033 Configuration I Configuration resource: config.files/hibernate.cfg.xml
      [1/23/07 14:36:35:721 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/action/Script.hbm.xml
      [1/23/07 14:36:35:814 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml
      [1/23/07 14:36:35:892 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
      [1/23/07 14:36:35:939 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
      [1/23/07 14:36:36:189 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml
      [1/23/07 14:36:36:220 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
      [1/23/07 14:36:36:345 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml
      [1/23/07 14:36:36:392 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
      [1/23/07 14:36:36:392 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml
      [1/23/07 14:36:36:470 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
      [1/23/07 14:36:36:470 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/def/Action.hbm.xml
      [1/23/07 14:36:36:502 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
      [1/23/07 14:36:36:502 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/def/SuperState.hbm.xml
      [1/23/07 14:36:36:611 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
      [1/23/07 14:36:36:673 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/def/ExceptionHandler.hbm.xml
      [1/23/07 14:36:36:673 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
      [1/23/07 14:36:36:689 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/instantiation/Delegation.hbm.xml
      [1/23/07 14:36:36:736 EST] 00000033 HbmBinder I Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
      [1/23/07 14:36:36:767 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/StartState.hbm.xml
      [1/23/07 14:36:36:783 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
      [1/23/07 14:36:36:783 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/EndState.hbm.xml
      [1/23/07 14:36:36:845 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
      [1/23/07 14:36:36:845 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/ProcessState.hbm.xml
      [1/23/07 14:36:36:876 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
      [1/23/07 14:36:36:939 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/Decision.hbm.xml
      [1/23/07 14:36:36:955 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
      [1/23/07 14:36:36:955 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDITIONS
      [1/23/07 14:36:36:955 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/Fork.hbm.xml
      [1/23/07 14:36:37:017 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
      [1/23/07 14:36:37:017 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/Join.hbm.xml
      [1/23/07 14:36:37:033 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
      [1/23/07 14:36:37:079 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/State.hbm.xml
      [1/23/07 14:36:37:095 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
      [1/23/07 14:36:37:095 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/node/TaskNode.hbm.xml
      [1/23/07 14:36:37:111 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
      [1/23/07 14:36:37:189 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/def/ContextDefinition.hbm.xml
      [1/23/07 14:36:37:204 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/def/VariableAccess.hbm.xml
      [1/23/07 14:36:37:220 EST] 00000033 HbmBinder I Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
      [1/23/07 14:36:37:329 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml
      [1/23/07 14:36:37:345 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/def/Swimlane.hbm.xml
      [1/23/07 14:36:37:345 EST] 00000033 HbmBinder I Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
      [1/23/07 14:36:37:361 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/def/Task.hbm.xml
      [1/23/07 14:36:37:439 EST] 00000033 HbmBinder I Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
      [1/23/07 14:36:37:439 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/def/TaskController.hbm.xml
      [1/23/07 14:36:37:454 EST] 00000033 HbmBinder I Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
      [1/23/07 14:36:37:517 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/module/def/ModuleDefinition.hbm.xml
      [1/23/07 14:36:37:532 EST] 00000033 HbmBinder I Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
      [1/23/07 14:36:37:532 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/bytes/ByteArray.hbm.xml
      [1/23/07 14:36:37:548 EST] 00000033 HbmBinder I Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
      [1/23/07 14:36:37:611 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
      [1/23/07 14:36:37:611 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/file/def/FileDefinition.hbm.xml
      [1/23/07 14:36:37:626 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
      [1/23/07 14:36:37:689 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/scheduler/def/CreateTimerAction.hbm.xml
      [1/23/07 14:36:37:720 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
      [1/23/07 14:36:37:720 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/scheduler/def/CancelTimerAction.hbm.xml
      [1/23/07 14:36:37:736 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
      [1/23/07 14:36:37:814 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/exe/Comment.hbm.xml
      [1/23/07 14:36:37:829 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
      [1/23/07 14:36:37:845 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml
      [1/23/07 14:36:37:861 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
      [1/23/07 14:36:37:939 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/exe/Token.hbm.xml
      [1/23/07 14:36:37:954 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
      [1/23/07 14:36:38:032 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/exe/RuntimeAction.hbm.xml
      [1/23/07 14:36:38:079 EST] 00000033 HbmBinder I Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
      [1/23/07 14:36:38:079 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/module/exe/ModuleInstance.hbm.xml
      [1/23/07 14:36:38:095 EST] 00000033 HbmBinder I Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
      [1/23/07 14:36:38:095 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/ContextInstance.hbm.xml
      [1/23/07 14:36:38:157 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
      [1/23/07 14:36:38:157 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/TokenVariableMap.hbm.xml
      [1/23/07 14:36:38:189 EST] 00000033 HbmBinder I Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
      [1/23/07 14:36:38:298 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/VariableInstance.hbm.xml
      [1/23/07 14:36:38:298 EST] 00000033 HbmBinder I Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:313 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml
      [1/23/07 14:36:38:345 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:392 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml
      [1/23/07 14:36:38:407 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:407 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml
      [1/23/07 14:36:38:485 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:485 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml
      [1/23/07 14:36:38:501 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:501 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
      [1/23/07 14:36:38:563 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:563 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml
      [1/23/07 14:36:38:579 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:642 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml
      [1/23/07 14:36:38:657 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.NullInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:657 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
      [1/23/07 14:36:38:673 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:38:766 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/msg/Message.hbm.xml
      [1/23/07 14:36:38:782 EST] 00000033 HbmBinder I Mapping class: org.jbpm.msg.Message -> JBPM_MESSAGE
      [1/23/07 14:36:38:782 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/msg/db/TextMessage.hbm.xml
      [1/23/07 14:36:38:798 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.msg.db.TextMessage -> JBPM_MESSAGE
      [1/23/07 14:36:38:860 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/command/ExecuteActionCommand.hbm.xml
      [1/23/07 14:36:38:876 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.command.ExecuteActionCommand -> JBPM_MESSAGE
      [1/23/07 14:36:38:876 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/command/ExecuteNodeCommand.hbm.xml
      [1/23/07 14:36:38:970 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.command.ExecuteNodeCommand -> JBPM_MESSAGE
      [1/23/07 14:36:38:970 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/command/SignalCommand.hbm.xml
      [1/23/07 14:36:38:985 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.command.SignalCommand -> JBPM_MESSAGE
      [1/23/07 14:36:38:985 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/command/TaskInstanceEndCommand.hbm.xml
      [1/23/07 14:36:39:063 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.command.TaskInstanceEndCommand -> JBPM_MESSAGE
      [1/23/07 14:36:39:063 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml
      [1/23/07 14:36:39:079 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.exe.TaskMgmtInstance -> JBPM_MODULEINSTANCE
      [1/23/07 14:36:39:141 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
      [1/23/07 14:36:39:157 EST] 00000033 HbmBinder I Mapping class: org.jbpm.taskmgmt.exe.TaskInstance -> JBPM_TASKINSTANCE
      [1/23/07 14:36:39:173 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL
      [1/23/07 14:36:39:173 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/exe/PooledActor.hbm.xml
      [1/23/07 14:36:39:266 EST] 00000033 HbmBinder I Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR
      [1/23/07 14:36:39:266 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL
      [1/23/07 14:36:39:266 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml
      [1/23/07 14:36:39:329 EST] 00000033 HbmBinder I Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE
      [1/23/07 14:36:39:344 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/scheduler/exe/Timer.hbm.xml
      [1/23/07 14:36:39:344 EST] 00000033 HbmBinder I Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER
      [1/23/07 14:36:39:360 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/logging/log/ProcessLog.hbm.xml
      [1/23/07 14:36:39:423 EST] 00000033 HbmBinder I Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG
      [1/23/07 14:36:39:423 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/logging/log/MessageLog.hbm.xml
      [1/23/07 14:36:39:438 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.logging.log.MessageLog -> JBPM_LOG
      [1/23/07 14:36:39:501 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/logging/log/CompositeLog.hbm.xml
      [1/23/07 14:36:39:516 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.logging.log.CompositeLog -> JBPM_LOG
      [1/23/07 14:36:39:516 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/ActionLog.hbm.xml
      [1/23/07 14:36:39:532 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.ActionLog -> JBPM_LOG
      [1/23/07 14:36:39:594 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/NodeLog.hbm.xml
      [1/23/07 14:36:39:610 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.NodeLog -> JBPM_LOG
      [1/23/07 14:36:39:610 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml
      [1/23/07 14:36:39:672 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.ProcessInstanceCreateLog -> JBPM_LOG
      [1/23/07 14:36:39:704 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml
      [1/23/07 14:36:39:719 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.ProcessInstanceEndLog -> JBPM_LOG
      [1/23/07 14:36:39:719 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/SignalLog.hbm.xml
      [1/23/07 14:36:39:766 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.SignalLog -> JBPM_LOG
      [1/23/07 14:36:39:844 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/TokenCreateLog.hbm.xml
      [1/23/07 14:36:39:860 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.TokenCreateLog -> JBPM_LOG
      [1/23/07 14:36:39:860 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/TokenEndLog.hbm.xml
      [1/23/07 14:36:39:922 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.TokenEndLog -> JBPM_LOG
      [1/23/07 14:36:39:922 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/graph/log/TransitionLog.hbm.xml
      [1/23/07 14:36:39:938 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.log.TransitionLog -> JBPM_LOG
      [1/23/07 14:36:39:938 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/VariableLog.hbm.xml
      [1/23/07 14:36:40:000 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.VariableLog -> JBPM_LOG
      [1/23/07 14:36:40:016 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/VariableCreateLog.hbm.xml
      [1/23/07 14:36:40:016 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.VariableCreateLog -> JBPM_LOG
      [1/23/07 14:36:40:079 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/VariableDeleteLog.hbm.xml
      [1/23/07 14:36:40:079 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.VariableDeleteLog -> JBPM_LOG
      [1/23/07 14:36:40:094 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/VariableUpdateLog.hbm.xml
      [1/23/07 14:36:40:094 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.VariableUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:157 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml
      [1/23/07 14:36:40:157 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.variableinstance.ByteArrayUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:172 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml
      [1/23/07 14:36:40:235 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.variableinstance.DateUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:235 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml
      [1/23/07 14:36:40:235 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.variableinstance.DoubleUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:250 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml
      [1/23/07 14:36:40:297 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.variableinstance.HibernateLongUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:313 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml
      [1/23/07 14:36:40:313 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:375 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml
      [1/23/07 14:36:40:391 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.variableinstance.LongUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:391 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
      [1/23/07 14:36:40:407 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.log.variableinstance.StringUpdateLog -> JBPM_LOG
      [1/23/07 14:36:40:438 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/log/TaskLog.hbm.xml
      [1/23/07 14:36:40:453 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.log.TaskLog -> JBPM_LOG
      [1/23/07 14:36:40:453 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml
      [1/23/07 14:36:40:500 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.log.TaskCreateLog -> JBPM_LOG
      [1/23/07 14:36:40:500 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml
      [1/23/07 14:36:40:516 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.log.TaskAssignLog -> JBPM_LOG
      [1/23/07 14:36:40:516 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml
      [1/23/07 14:36:40:578 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.log.TaskEndLog -> JBPM_LOG
      [1/23/07 14:36:40:578 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
      [1/23/07 14:36:40:594 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneLog -> JBPM_LOG
      [1/23/07 14:36:40:641 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml
      [1/23/07 14:36:40:657 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneCreateLog -> JBPM_LOG
      [1/23/07 14:36:40:657 EST] 00000033 Configuration I Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml
      [1/23/07 14:36:40:672 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneAssignLog -> JBPM_LOG
      [1/23/07 14:36:40:719 EST] 00000033 Configuration I Configured SessionFactory: null
      [1/23/07 14:36:40:735 EST] 00000033 Configuration I processing extends queue
      [1/23/07 14:36:40:735 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.context.def.ContextDefinition -> JBPM_MODULEDEFINITION
      [1/23/07 14:36:40:781 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.taskmgmt.def.TaskMgmtDefinition -> JBPM_MODULEDEFINITION
      [1/23/07 14:36:40:781 EST] 00000033 HbmBinder I Mapping subclass: org.jbpm.graph.action.Script -> JBPM_ACTION
      [1/23/07 14:36:40:781 EST] 00000033 Configuration I processing collection mappings
      [1/23/07 14:36:40:797 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.ProcessDefinition.events -> JBPM_EVENT
      [1/23/07 14:36:40:844 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [1/23/07 14:36:40:875 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.ProcessDefinition.nodes -> JBPM_NODE
      [1/23/07 14:36:40:875 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.ProcessDefinition.actions -> JBPM_ACTION
      [1/23/07 14:36:40:875 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.ProcessDefinition.definitions -> JBPM_MODULEDEFINITION
      [1/23/07 14:36:40:875 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.Node.events -> JBPM_EVENT
      [1/23/07 14:36:40:938 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.Node.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [1/23/07 14:36:40:938 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.Node.leavingTransitions -> JBPM_TRANSITION
      [1/23/07 14:36:40:938 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.Node.arrivingTransitions -> JBPM_TRANSITION
      [1/23/07 14:36:40:985 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.Transition.events -> JBPM_EVENT
      [1/23/07 14:36:41:000 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.Transition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [1/23/07 14:36:41:000 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.Event.actions -> JBPM_ACTION
      [1/23/07 14:36:41:000 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.SuperState.nodes -> JBPM_NODE
      [1/23/07 14:36:41:031 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.def.ExceptionHandler.actions -> JBPM_ACTION
      [1/23/07 14:36:41:031 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.node.ProcessState.variableAccesses -> JBPM_VARIABLEACCESS
      [1/23/07 14:36:41:047 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.node.TaskNode.tasks -> JBPM_TASK
      [1/23/07 14:36:41:094 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.def.Swimlane.tasks -> JBPM_TASK
      [1/23/07 14:36:41:110 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.def.Task.events -> JBPM_EVENT
      [1/23/07 14:36:41:110 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.def.Task.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [1/23/07 14:36:41:110 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.def.TaskController.variableAccesses -> JBPM_VARIABLEACCESS
      [1/23/07 14:36:41:141 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.file.def.FileDefinition.processFiles -> JBPM_BYTEARRAY
      [1/23/07 14:36:41:156 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.exe.ProcessInstance.runtimeActions -> JBPM_RUNTIMEACTION
      [1/23/07 14:36:41:172 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.exe.ProcessInstance.instances -> JBPM_MODULEINSTANCE
      [1/23/07 14:36:41:219 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.exe.Token.children -> JBPM_TOKEN
      [1/23/07 14:36:41:219 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.exe.Token.comments -> JBPM_COMMENT
      [1/23/07 14:36:41:266 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.context.exe.ContextInstance.tokenVariableMaps -> JBPM_TOKENVARIABLEMAP
      [1/23/07 14:36:41:281 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.context.exe.TokenVariableMap.variableInstances -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:41:344 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.swimlaneInstances -> JBPM_SWIMLANEINSTANCE
      [1/23/07 14:36:41:359 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.taskInstances -> JBPM_TASKINSTANCE
      [1/23/07 14:36:41:359 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE
      [1/23/07 14:36:41:422 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT
      [1/23/07 14:36:41:422 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR
      [1/23/07 14:36:41:422 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG
      [1/23/07 14:36:41:422 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
      [1/23/07 14:36:41:484 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
      [1/23/07 14:36:41:484 EST] 00000033 HbmBinder I Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS
      [1/23/07 14:36:41:500 EST] 00000033 Configuration I processing association property references
      [1/23/07 14:36:41:531 EST] 00000033 Configuration I processing foreign key constraints
      [1/23/07 14:36:41:719 EST] 00000033 NamingHelper I JNDI InitialContext properties:{}
      [1/23/07 14:36:41:750 EST] 00000033 DatasourceCon I Using datasource: java:comp/env/DSSDARResRef
      [1/23/07 14:36:41:766 EST] 00000033 SettingsFacto I RDBMS: Oracle, version: Oracle9i Release 9.2.0.1.0 - Production
      JServer Release 9.2.0.1.0 - Production
      [1/23/07 14:36:41:797 EST] 00000033 SettingsFacto I JDBC driver: Oracle JDBC driver, version: 9.2.0.1.0
      [1/23/07 14:36:41:859 EST] 00000033 Dialect I Using dialect: org.hibernate.dialect.Oracle9Dialect
      [1/23/07 14:36:41:984 EST] 00000033 TransactionFa I Using default transaction strategy (direct JDBC transactions)
      [1/23/07 14:36:42:000 EST] 00000033 TransactionMa I No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
      [1/23/07 14:36:42:015 EST] 00000033 SettingsFacto I Automatic flush during beforeCompletion(): disabled
      [1/23/07 14:36:42:015 EST] 00000033 SettingsFacto I Automatic session close at end of transaction: disabled
      [1/23/07 14:36:42:062 EST] 00000033 SettingsFacto I JDBC batch size: 15
      [1/23/07 14:36:42:062 EST] 00000033 SettingsFacto I JDBC batch updates for versioned data: disabled
      [1/23/07 14:36:42:078 EST] 00000033 SettingsFacto I Scrollable result sets: enabled
      [1/23/07 14:36:42:125 EST] 00000033 SettingsFacto I JDBC3 getGeneratedKeys(): disabled
      [1/23/07 14:36:42:125 EST] 00000033 SettingsFacto I Connection release mode: auto
      [1/23/07 14:36:42:125 EST] 00000033 SettingsFacto I Default batch fetch size: 1
      [1/23/07 14:36:42:156 EST] 00000033 SettingsFacto I Generate SQL with comments: disabled
      [1/23/07 14:36:42:219 EST] 00000033 SettingsFacto I Order SQL updates by primary key: disabled
      [1/23/07 14:36:42:234 EST] 00000033 SettingsFacto I Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      [1/23/07 14:36:42:250 EST] 00000033 ASTQueryTrans I Using ASTQueryTranslatorFactory
      [1/23/07 14:36:42:422 EST] 00000033 SettingsFacto I Query language substitutions: {true=1, false=0}
      [1/23/07 14:36:42:422 EST] 00000033 SettingsFacto I Second-level cache: enabled
      [1/23/07 14:36:42:437 EST] 00000033 SettingsFacto I Query cache: disabled
      [1/23/07 14:36:42:437 EST] 00000033 SettingsFacto I Cache provider: org.hibernate.cache.EhCacheProvider
      [1/23/07 14:36:42:531 EST] 00000033 SettingsFacto I Optimize cache for minimal puts: disabled
      [1/23/07 14:36:42:531 EST] 00000033 SettingsFacto I Structured second-level cache entries: disabled
      [1/23/07 14:36:42:562 EST] 00000033 SettingsFacto I Echoing all SQL to stdout
      [1/23/07 14:36:42:625 EST] 00000033 SettingsFacto I Statistics: disabled
      [1/23/07 14:36:42:640 EST] 00000033 SettingsFacto I Deleted entity synthetic identifier rollback: disabled
      [1/23/07 14:36:42:656 EST] 00000033 SettingsFacto I Default entity-mode: pojo
      [1/23/07 14:36:42:734 EST] 00000033 SessionFactor I building session factory
      [1/23/07 14:36:42:812 EST] 00000033 Configurator W No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: wsjar:file:/C:/Documents and Settings/v2gra001/IBM/rationalsdp6.0/workspace/DD2875/WebContent/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
      [1/23/07 14:36:43:453 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
      [1/23/07 14:36:43:562 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
      [1/23/07 14:36:43:952 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
      [1/23/07 14:36:44:077 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
      [1/23/07 14:36:44:202 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
      [1/23/07 14:36:44:218 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
      [1/23/07 14:36:44:811 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
      [1/23/07 14:36:45:140 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
      [1/23/07 14:36:45:546 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
      [1/23/07 14:36:45:983 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
      [1/23/07 14:36:46:514 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
      [1/23/07 14:36:46:811 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults.
      [1/23/07 14:36:46:826 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults.
      [1/23/07 14:36:46:826 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
      [1/23/07 14:36:46:889 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
      [1/23/07 14:36:46:889 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
      [1/23/07 14:36:46:905 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults.
      [1/23/07 14:36:46:905 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using defaults.
      [1/23/07 14:36:46:967 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults.
      [1/23/07 14:36:46:983 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.
      [1/23/07 14:36:46:998 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults.
      [1/23/07 14:36:47:030 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.
      [1/23/07 14:36:47:061 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.
      [1/23/07 14:36:47:076 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.
      [1/23/07 14:36:47:076 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.
      [1/23/07 14:36:47:155 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaults.
      [1/23/07 14:36:47:155 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.
      [1/23/07 14:36:47:170 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.
      [1/23/07 14:36:47:217 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.
      [1/23/07 14:36:47:217 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defaults.
      [1/23/07 14:36:47:217 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.
      [1/23/07 14:36:47:217 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults.
      [1/23/07 14:36:47:295 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.
      [1/23/07 14:36:47:311 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.
      [1/23/07 14:36:47:326 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.
      [1/23/07 14:36:47:420 EST] 00000033 EhCacheProvid W Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.
      [1/23/07 14:36:48:107 EST] 00000033 SessionFactor I Not binding factory to JNDI, no JNDI name configured
      [1/23/07 14:36:48:107 EST] 00000033 SessionFactor I Checking 28 named HQL queries
      [1/23/07 14:36:48:826 EST] 00000033 SessionFactor I Checking 0 named SQL queries
      [1/23/07 14:36:48:935 EST] 00000033 SystemOut O Hibernate: select * from ( select processdef0_.ID_ as ID1_0_, processdef0_.NAME_ as NAME2_0_, processdef0_.VERSION_ as VERSION3_0_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_0_, processdef0_.STARTSTATE_ as STARTSTATE5_0_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc ) where rownum <= ?
      [1/23/07 14:36:49:123 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:170 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:170 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:170 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:185 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:185 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:201 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:201 EST] 00000033 SystemOut O Hibernate: select hibernate_sequence.nextval from dual
      [1/23/07 14:36:49:263 EST] 00000033 SystemOut O Hibernate: insert into JBPM_PROCESSDEFINITION (NAME_, VERSION_, ISTERMINATIONIMPLICIT_, STARTSTATE_, ID_) values (?, ?, ?, ?, ?)
      [1/23/07 14:36:49:263 EST] 00000033 SystemOut O Hibernate: insert into JBPM_NODE (NAME_, PROCESSDEFINITION_, ISASYNC_, ACTION_, SUPERSTATE_, CLASS_, ID_) values (?, ?, ?, ?, ?, 'R', ?)
      [1/23/07 14:36:49:263 EST] 00000033 SystemOut O Hibernate: insert into JBPM_TRANSITION (NAME_, PROCESSDEFINITION_, FROM_, TO_, ID_) values (?, ?, ?, ?, ?)
      [1/23/07 14:36:49:263 EST] 00000033 SystemOut O Hibernate: insert into JBPM_NODE (NAME_, PROCESSDEFINITION_, ISASYNC_, ACTION_, SUPERSTATE_, CLASS_, ID_) values (?, ?, ?, ?, ?, 'S', ?)
      [1/23/07 14:36:49:279 EST] 00000033 SystemOut O Hibernate: insert into JBPM_TRANSITION (NAME_, PROCESSDEFINITION_, FROM_, TO_, ID_) values (?, ?, ?, ?, ?)
      [1/23/07 14:36:49:279 EST] 00000033 Services E problem closing service 'persistence'
      [1/23/07 14:36:49:279 EST] 00000033 Services E TRAS0014I: The following exception was logged org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session
       at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:172)
       at org.jbpm.svc.Services.close(Services.java:211)
       at org.jbpm.JbpmContext.close(JbpmContext.java:139)
       at com.lmco.dd2875.actions.SubmitFormDataAction.deployProcessDefinition(SubmitFormDataAction.java:77)
       at com.lmco.dd2875.actions.SubmitFormDataAction.execute(SubmitFormDataAction.java:173)
       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
       at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
       at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
       at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
       at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
       at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
       at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
       at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
       at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
       at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
       at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
       at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
       at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
       at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
       at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
       at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
      Caused by: java.lang.NullPointerException
       at oracle.jdbc.dbaccess.DBData.clearItem(DBData.java:431)
       at oracle.jdbc.dbaccess.DBDataSetImpl.clearItem(DBDataSetImpl.java:3528)
       at oracle.jdbc.driver.OraclePreparedStatement.clearParameters(OraclePreparedStatement.java:3401)
       at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.resetStatement(WSJdbcConnection.java:2179)
       at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1830)
       at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1782)
       at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:442)
       at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:93)
       at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:86)
       at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:171)
       at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2048)
       at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2427)
       at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
       at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
       at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
       at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
       at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
       at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
       at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980)
       at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353)
       at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
       at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:162)
       ... 25 more
      .
      


        • 1. Re: deployProcessDefinition helper function - throws NullPoi
          aguizar

          The NPE is thrown when trying to commit the database transaction from the oracle drivers. I'd suggest you tried different versions of the driver. If this is not possible, try a different database, and if your app works there, then you know the problem is in the oracle driver. Otherwise, let us know.

          • 2. Re: deployProcessDefinition helper function - throws NullPoi

            Note that this is inside a Websphere container... and is using a Websphere-provided connection. Could the problem be with Websphere somehow? This would be an obvious concern with EJBs, but I don't know whether it's likely in a web app.

            If this seems at all likely, you may want to try running with Oracle, but outside of the container.

            It may not be fair to ask Alex for help in this Websphere area - given the competitive relationship between his employer and IBM/Websphere.

            -Ed Staub

            • 3. Re: deployProcessDefinition helper function - throws NullPoi

              Thanks for your replies!

              I tried the same code using a SQLServer database and it did work. So, I updated the hibernate.cfg.xml (see below) to use a direct datasource (i.e., provided the username/password in the xml file) as opposed to using a J2C authentication alias for component managed authentication.

               <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
               <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
               <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:orclr2</property>
               <property name="hibernate.connection.username">dssdaradmin</property>
               <property name="hibernate.connection.password">password</property>
               <property name="hibernate.show_sql">true</property <property name="hibernate.query.substitutions">true 1, false 0</property>
              
              


              If I use the above config, everything seems to work fine. Even though this seems to work, does not solve my original issue. I need to be able to abstract the credentials to the container, instead of putting them in an xml file, so that they can be changed without editing it manually during the deployment.

              The reason I went with that type was for ease of deployment, since the data source credentials wont be embedded in the xml file and therefore inside the EAR/WAR. The deployment env will not be consistant (database credentials may change).

              I have read that there could be issues with transactions, am I missing something concerning that end? Should I be disabling transactions in the container and letting jBPM handle them? Or is this maybe a red heering that I am looking at.

              Is this possibly a configuration issue with Hibernate? I searched for this problem, but could not fin any instances of anyone using this type of datasource.

              Thanks again for your help on this.


              • 4. Re: deployProcessDefinition helper function - throws NullPoi

                pail,

                If you don't get any answers here, I'd try posting the problem on a Hibernate forum. It's probably not at all specific to JBPM.

                I fear I may run into this problem myself, so please write back when you find a solution!

                -Ed Staub

                • 5. Re: deployProcessDefinition helper function - throws NullPoi

                  Thanks Ed! Good suggestion. I am new to jBPM and Hibernate, so may be that I am missing a config somewhere, but the code I feel is very straightforward and shouldn't cause me issues.

                  I will keep you posted.

                  - Randy

                  • 6. Re: deployProcessDefinition helper function - throws NullPoi

                    I seemed to have tracked down a solution to this error.

                    I did some testing and it seems like the error only occurred on the 2nd nand subsequent runs, if I restart the application, the first time the error would not show up. Then the second time...bang...NPE.

                    Searching the Oracle and Hibernate forums, I found that there may have been a bug in the version of the ojdbc14.jar I was using (early 9.2.0.1.0 version). I replaced the driver with the latest and greatest, but no solution then I found the post below that suggested that I set the hibernate property hibernate.jdbc.batch_size to 0. Seems to be working everytime I hit it now.

                    http://forums.oracle.com/forums/thread.jspa?threadID=190963

                    Thanks again.