9 Replies Latest reply on Nov 14, 2008 8:10 AM by salaboy21

    JDBCConnectionException: Cannot open connection

    asique

      Hi all

      when i run ant build "create.jbpm.configuration" i get this exception message in console
      i m using jbpm-starter-kit-3.1.3 and using default properties of hibernate and hsql i did not change any property file

      the whole console track is


      Buildfile:
      D:\app\jbpm-starters-kit-3.1.3\jbpm\build.deploy.xml
      delete.jbpm.configuration:
      build.webapp:
      compile.jbpm:
      compile.identity:
      compile.jbpm.test:
      compile.webapp:
      compile.identity.test:
      compile.examples:
      compile:
      build.webapp:
      build.service.archive:
      compile.jbpm:
      build.jbpm:
      compile.identity:
      build.identity:
      build.service.archive:
      declare.jbpm.tasks:
      compile.jbpm:
      build.jbpm:
      build.jbpm.src:
      compile.identity:
      build.identity:
      build.identity.src:
      compile.jbpm.test:
      compile.webapp:
      compile.identity.test:
      compile.examples:
      compile:
      build.webapp:
      build.service.archive:
      build.converter:
      build:
      db.clean:
      [delete] Deleting directory
      D:\app\jbpm-starters-kit-3.1.3\jbpm\build\db
      [mkdir] Created dir:
      D:\app\jbpm-starters-kit-3.1.3\jbpm\build\db
      db.start:
      [starthsqldb] starting 'java -cp D:app\starters-kit-3.1.3jbpm-server/server/default/lib/hsqldb.jar org.hsqldb.Server -database D:\app\jbpm-starters-kit-3.1.3\jbpm/build/db/localDB -port 1701'...
      [starthsqldb] Exception in thread "Thread-1" java.lang.NullPointerException
      [starthsqldb] at org.apache.tools.ant.Project.fireMessageLoggedEvent(Project.java:1981)
      [starthsqldb] at org.apache.tools.ant.Project.fireMessageLogged(Project.java:2058)
      [starthsqldb] at org.apache.tools.ant.Project.log(Project.java:367)
      [starthsqldb] at org.apache.tools.ant.Task.log(Task.java:346)
      [starthsqldb] at org.apache.tools.ant.Task.log(Task.java:334)
      [starthsqldb] at org.jbpm.ant.Launcher.run(Launcher.java:51)
      create.db:
      [jbpmschema] 16:00:39,897 [main] DEBUG AntHelper : creating hibernate configuration from cfg 'D:\app\jbpm-starters-kit-3.1.3\jbpm/src/config.files/hibernate.cfg.xml' and properties 'D:\app\bpm-starters-kit-3.1.3\jbpm/src/resources/hsqldb/create.db.hibernate.properties'
      [jbpmschema] 16:00:40,069 [main] INFO Environment : Hibernate 3.1
      [jbpmschema] 16:00:40,084 [main] INFO Environment : hibernate.properties not found
      [jbpmschema] 16:00:40,100 [main] INFO Environment : using CGLIB reflection optimizer
      [jbpmschema] 16:00:40,100 [main] INFO Environment : using JDK 1.4 java.sql.Timestamp handling
      [jbpmschema] 16:00:40,381 [main] INFO Configuration : configuring from file: hibernate.cfg.xml
      [jbpmschema] 16:00:40,631 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/action/Script.hbm.xml
      [jbpmschema] 16:00:40,944 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/User.hbm.xml
      [jbpmschema] 16:00:41,037 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.User -> JBPM_ID_USER
      [jbpmschema] 16:00:41,225 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.User.permissions -> JBPM_ID_PERMISSIONS
      [jbpmschema] 16:00:41,225 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/Group.hbm.xml
      [jbpmschema] 16:00:41,303 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.Group -> JBPM_ID_GROUP
      [jbpmschema] 16:00:41,569 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.permissions -> JBPM_ID_PERMISSIONS
      [jbpmschema] 16:00:41,569 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/Membership.hbm.xml
      [jbpmschema] 16:00:41,616 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.Membership -> JBPM_ID_MEMBERSHIP
      [jbpmschema] 16:00:41,631 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Membership.permissions -> JBPM_ID_PERMISSIONS
      [jbpmschema] 16:00:41,631 [main] INFO Configuration : Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml
      [jbpmschema] 16:00:41,741 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
      [jbpmschema] 16:00:41,834 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
      [jbpmschema] 16:00:41,928 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml
      [jbpmschema] 16:00:42,022 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
      [jbpmschema] 16:00:42,053 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml
      [jbpmschema] 16:00:42,163 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
      [jbpmschema] 16:00:42,178 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml
      [jbpmschema] 16:00:42,522 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
      [jbpmschema] 16:00:42,538 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Action.hbm.xml
      [jbpmschema] 16:00:42,553 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
      [jbpmschema] 16:00:42,585 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/SuperState.hbm.xml
      [jbpmschema] 16:00:42,835 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
      [jbpmschema] 16:00:42,835 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/ExceptionHandler.hbm.xml
      [jbpmschema] 16:00:42,913 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
      [jbpmschema] 16:00:42,913 [main] INFO Configuration : Reading mappings from resource: org/jbpm/instantiation/Delegation.hbm.xml
      [jbpmschema] 16:00:43,022 [main] INFO HbmBinder : Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
      [jbpmschema] 16:00:43,038 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/StartState.hbm.xml
      [jbpmschema] 16:00:43,038 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
      [jbpmschema] 16:00:43,069 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/EndState.hbm.xml
      [jbpmschema] 16:00:43,085 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
      [jbpmschema] 16:00:43,116 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/ProcessState.hbm.xml
      [jbpmschema] 16:00:43,225 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
      [jbpmschema] 16:00:43,225 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Decision.hbm.xml
      [jbpmschema] 16:00:43,241 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
      [jbpmschema] 16:00:43,257 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDITIONS
      [jbpmschema] 16:00:43,257 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Fork.hbm.xml
      [jbpmschema] 16:00:43,319 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
      [jbpmschema] 16:00:43,319 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Join.hbm.xml
      [jbpmschema] 16:00:43,319 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
      [jbpmschema] 16:00:43,319 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/State.hbm.xml
      [jbpmschema] 16:00:43,413 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
      [jbpmschema] 16:00:43,413 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/TaskNode.hbm.xml
      [jbpmschema] 16:00:43,429 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
      [jbpmschema] 16:00:43,444 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/def/ContextDefinition.hbm.xml
      [jbpmschema] 16:00:43,460 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/def/VariableAccess.hbm.xml
      [jbpmschema] 16:00:43,522 [main] INFO HbmBinder : Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
      [jbpmschema] 16:00:43,538 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml
      [jbpmschema] 16:00:43,538 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/Swimlane.hbm.xml
      [jbpmschema] 16:00:43,569 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
      [jbpmschema] 16:00:43,585 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/Task.hbm.xml
      [jbpmschema] 16:00:43,632 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
      [jbpmschema] 16:00:43,694 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/TaskController.hbm.xml
      [jbpmschema] 16:00:43,710 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
      [jbpmschema] 16:00:43,710 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/def/ModuleDefinition.hbm.xml
      [jbpmschema] 16:00:43,725 [main] INFO HbmBinder : Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
      [jbpmschema] 16:00:43,804 [main] INFO Configuration : Reading mappings from resource: org/jbpm/bytes/ByteArray.hbm.xml
      [jbpmschema] 16:00:43,819 [main] INFO HbmBinder : Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
      [jbpmschema] 16:00:43,819 [main] INFO HbmBinder : Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
      [jbpmschema] 16:00:43,835 [main] INFO Configuration : Reading mappings from resource: org/jbpm/file/def/FileDefinition.hbm.xml
      [jbpmschema] 16:00:43,835 [main] INFO HbmBinder : Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
      [jbpmschema] 16:00:43,850 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/def/CreateTimerAction.hbm.xml
      [jbpmschema] 16:00:43,850 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
      [jbpmschema] 16:00:43,913 [main] INFO JbpmConfiguration : using jbpm configuration resource 'jbpm.cfg.xml'
      [jbpmschema] 16:00:43,944 [main] DEBUG JbpmConfiguration : loading defaults in jbpm configuration
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.hibernate.cfg.xml'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.msg.wait.timout'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.byte.block.size'
      [jbpmschema] 16:00:44,163 [main] DEBUG ObjectFactoryImpl : adding object info 'mail.smtp.host'
      [jbpmschema] 16:00:44,179 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.task.instance.factory'
      [jbpmschema] 16:00:44,179 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.variable.resolver'
      [jbpmschema] 16:00:44,179 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.address.resolver'
      [jbpmschema] 16:00:44,179 [main] DEBUG JbpmConfiguration : loading specific configuration...
      [jbpmschema] 16:00:44,194 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/def/CancelTimerAction.hbm.xml
      [jbpmschema] 16:00:44,194 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
      [jbpmschema] 16:00:44,194 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/Comment.hbm.xml
      [jbpmschema] 16:00:44,210 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
      [jbpmschema] 16:00:44,210 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml
      [jbpmschema] 16:00:44,257 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
      [jbpmschema] 16:00:44,272 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/Token.hbm.xml
      [jbpmschema] 16:00:44,351 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
      [jbpmschema] 16:00:44,366 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/RuntimeAction.hbm.xml
      [jbpmschema] 16:00:44,382 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
      [jbpmschema] 16:00:44,382 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/exe/ModuleInstance.hbm.xml
      [jbpmschema] 16:00:44,397 [main] INFO HbmBinder : Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
      [jbpmschema] 16:00:44,397 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/ContextInstance.hbm.xml
      [jbpmschema] 16:00:44,460 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
      [jbpmschema] 16:00:44,460 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/TokenVariableMap.hbm.xml
      [jbpmschema] 16:00:44,476 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
      [jbpmschema] 16:00:44,476 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/VariableInstance.hbm.xml
      [jbpmschema] 16:00:44,554 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,569 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml
      [jbpmschema] 16:00:44,569 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,585 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml
      [jbpmschema] 16:00:44,585 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,585 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml
      [jbpmschema] 16:00:44,601 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,601 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml
      [jbpmschema] 16:00:44,679 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,679 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
      [jbpmschema] 16:00:44,694 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,694 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml
      [jbpmschema] 16:00:44,726 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,726 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml
      [jbpmschema] 16:00:44,741 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.NullInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,741 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
      [jbpmschema] 16:00:44,757 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:44,757 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/Message.hbm.xml
      [jbpmschema] 16:00:44,773 [main] INFO HbmBinder : Mapping class: org.jbpm.msg.Message -> JBPM_MESSAGE
      [jbpmschema] 16:00:44,898 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/db/TextMessage.hbm.xml
      [jbpmschema] 16:00:44,913 [main] INFO HbmBinder : Mapping subclass: org.jbpm.msg.db.TextMessage -> JBPM_MESSAGE
      [jbpmschema] 16:00:44,913 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/ExecuteActionCommand.hbm.xml
      [jbpmschema] 16:00:44,913 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.ExecuteActionCommand -> JBPM_MESSAGE
      [jbpmschema] 16:00:44,929 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/ExecuteNodeCommand.hbm.xml
      [jbpmschema] 16:00:44,991 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.ExecuteNodeCommand -> JBPM_MESSAGE
      [jbpmschema] 16:00:45,007 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/SignalCommand.hbm.xml
      [jbpmschema] 16:00:45,007 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.SignalCommand -> JBPM_MESSAGE
      [jbpmschema] 16:00:45,023 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/TaskInstanceEndCommand.hbm.xml
      [jbpmschema] 16:00:45,241 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.TaskInstanceEndCommand -> JBPM_MESSAGE
      [jbpmschema] 16:00:45,257 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml
      [jbpmschema] 16:00:45,257 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.exe.TaskMgmtInstance -> JBPM_MODULEINSTANCE
      [jbpmschema] 16:00:45,273 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
      [jbpmschema] 16:00:45,288 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.TaskInstance -> JBPM_TASKINSTANCE
      [jbpmschema] 16:00:45,366 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL
      [jbpmschema] 16:00:45,366 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/PooledActor.hbm.xml
      [jbpmschema] 16:00:45,445 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR
      [jbpmschema] 16:00:45,460 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL
      [jbpmschema] 16:00:45,491 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml
      [jbpmschema] 16:00:45,554 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE
      [jbpmschema] 16:00:45,554 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/exe/Timer.hbm.xml
      [jbpmschema] 16:00:45,570 [main] INFO HbmBinder : Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER
      [jbpmschema] 16:00:45,585 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/ProcessLog.hbm.xml
      [jbpmschema] 16:00:45,663 [main] INFO HbmBinder : Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG
      [jbpmschema] 16:00:45,663 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/MessageLog.hbm.xml
      [jbpmschema] 16:00:45,679 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.log.MessageLog -> JBPM_LOG
      [jbpmschema] 16:00:45,679 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/CompositeLog.hbm.xml
      [jbpmschema] 16:00:45,757 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.log.CompositeLog -> JBPM_LOG
      [jbpmschema] 16:00:45,773 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ActionLog.hbm.xml
      [jbpmschema] 16:00:45,788 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ActionLog -> JBPM_LOG
      [jbpmschema] 16:00:45,788 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/NodeLog.hbm.xml
      [jbpmschema] 16:00:45,804 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.NodeLog -> JBPM_LOG
      [jbpmschema] 16:00:45,820 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml
      [jbpmschema] 16:00:45,866 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ProcessInstanceCreateLog -> JBPM_LOG
      [jbpmschema] 16:00:45,866 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml
      [jbpmschema] 16:00:45,898 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ProcessInstanceEndLog -> JBPM_LOG
      [jbpmschema] 16:00:45,898 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ProcessStateLog.hbm.xml
      [jbpmschema] 16:00:45,960 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ProcessStateLog -> JBPM_LOG
      [jbpmschema] 16:00:45,960 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/SignalLog.hbm.xml
      [jbpmschema] 16:00:45,976 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.SignalLog -> JBPM_LOG
      [jbpmschema] 16:00:45,976 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TokenCreateLog.hbm.xml
      [jbpmschema] 16:00:45,992 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TokenCreateLog -> JBPM_LOG
      [jbpmschema] 16:00:45,992 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TokenEndLog.hbm.xml
      [jbpmschema] 16:00:46,085 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TokenEndLog -> JBPM_LOG
      [jbpmschema] 16:00:46,101 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TransitionLog.hbm.xml
      [jbpmschema] 16:00:46,117 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TransitionLog -> JBPM_LOG
      [jbpmschema] 16:00:46,117 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableLog.hbm.xml
      [jbpmschema] 16:00:46,179 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableLog -> JBPM_LOG
      [jbpmschema] 16:00:46,179 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableCreateLog.hbm.xml
      [jbpmschema] 16:00:46,195 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableCreateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,195 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableDeleteLog.hbm.xml
      [jbpmschema] 16:00:46,210 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableDeleteLog -> JBPM_LOG
      [jbpmschema] 16:00:46,210 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,304 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,304 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,429 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.ByteArrayUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,429 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,445 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.DateUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,445 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,538 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.DoubleUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,538 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,632 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.HibernateLongUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,632 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,648 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,648 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,648 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.LongUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,648 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
      [jbpmschema] 16:00:46,664 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.StringUpdateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,679 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskLog.hbm.xml
      [jbpmschema] 16:00:46,789 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskLog -> JBPM_LOG
      [jbpmschema] 16:00:46,820 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml
      [jbpmschema] 16:00:46,820 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskCreateLog -> JBPM_LOG
      [jbpmschema] 16:00:46,867 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml
      [jbpmschema] 16:00:46,882 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskAssignLog -> JBPM_LOG
      [jbpmschema] 16:00:46,898 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml
      [jbpmschema] 16:00:46,898 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskEndLog -> JBPM_LOG
      [jbpmschema] 16:00:46,898 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
      [jbpmschema] 16:00:46,914 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneLog -> JBPM_LOG
      [jbpmschema] 16:00:46,929 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml
      [jbpmschema] 16:00:46,992 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneCreateLog -> JBPM_LOG
      [jbpmschema] 16:00:47,007 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml
      [jbpmschema] 16:00:47,007 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneAssignLog -> JBPM_LOG
      [jbpmschema] 16:00:47,023 [main] INFO Configuration : Configured SessionFactory: null
      [jbpmschema] 16:00:47,117 [main] INFO Dialect : Using dialect: org.hibernate.dialect.HSQLDialect
      [jbpmschema] 16:00:47,367 [main] INFO Dialect : Using dialect: org.hibernate.dialect.HSQLDialect
      [jbpmschema] 16:00:47,367 [main] INFO Configuration : processing extends queue
      [jbpmschema] 16:00:47,367 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.action.Script -> JBPM_ACTION
      [jbpmschema] 16:00:47,414 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.def.ContextDefinition -> JBPM_MODULEDEFINITION
      [jbpmschema] 16:00:47,414 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.def.TaskMgmtDefinition -> JBPM_MODULEDEFINITION
      [jbpmschema] 16:00:47,429 [main] INFO Configuration : processing collection mappings
      [jbpmschema] 16:00:47,539 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.User.memberships -> JBPM_ID_MEMBERSHIP
      [jbpmschema] 16:00:47,539 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.children -> JBPM_ID_GROUP
      [jbpmschema] 16:00:47,539 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.memberships -> JBPM_ID_MEMBERSHIP
      [jbpmschema] 16:00:47,539 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.events -> JBPM_EVENT
      [jbpmschema] 16:00:47,554 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [jbpmschema] 16:00:47,554 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.nodes -> JBPM_NODE
      [jbpmschema] 16:00:47,554 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.actions -> JBPM_ACTION
      [jbpmschema] 16:00:47,554 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.definitions -> JBPM_MODULEDEFINITION
      [jbpmschema] 16:00:47,554 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.events -> JBPM_EVENT
      [jbpmschema] 16:00:47,554 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [jbpmschema] 16:00:47,586 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.leavingTransitions -> JBPM_TRANSITION
      [jbpmschema] 16:00:47,586 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.arrivingTransitions -> JBPM_TRANSITION
      [jbpmschema] 16:00:47,586 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Transition.events -> JBPM_EVENT
      [jbpmschema] 16:00:47,679 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Transition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [jbpmschema] 16:00:47,679 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Event.actions -> JBPM_ACTION
      [jbpmschema] 16:00:47,679 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.SuperState.nodes -> JBPM_NODE
      [jbpmschema] 16:00:47,679 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ExceptionHandler.actions -> JBPM_ACTION
      [jbpmschema] 16:00:47,679 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.ProcessState.variableAccesses -> JBPM_VARIABLEACCESS
      [jbpmschema] 16:00:47,851 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.TaskNode.tasks -> JBPM_TASK
      [jbpmschema] 16:00:47,851 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Swimlane.tasks -> JBPM_TASK
      [jbpmschema] 16:00:47,851 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Task.events -> JBPM_EVENT
      [jbpmschema] 16:00:47,851 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Task.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      [jbpmschema] 16:00:47,929 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskController.variableAccesses -> JBPM_VARIABLEACCESS
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.file.def.FileDefinition.processFiles -> JBPM_BYTEARRAY
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.ProcessInstance.runtimeActions -> JBPM_RUNTIMEACTION
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.ProcessInstance.instances -> JBPM_MODULEINSTANCE
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.Token.children -> JBPM_TOKEN
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.Token.comments -> JBPM_COMMENT
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.exe.ContextInstance.tokenVariableMaps -> JBPM_TOKENVARIABLEMAP
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.exe.TokenVariableMap.variableInstances -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.swimlaneInstances -> JBPM_SWIMLANEINSTANCE
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.taskInstances -> JBPM_TASKINSTANCE
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR
      [jbpmschema] 16:00:47,945 [main] INFO HbmBinder : Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG
      [jbpmschema] 16:00:48,086 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS
      [jbpmschema] 16:00:48,086 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
      [jbpmschema] 16:00:48,195 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
      [jbpmschema] 16:00:48,211 [main] INFO Configuration : processing association property references
      [jbpmschema] 16:00:48,211 [main] INFO Configuration : processing foreign key constraints
      [jbpmschema] 16:00:48,570 [main] INFO Configuration : processing extends queue
      [jbpmschema] 16:00:48,570 [main] INFO Configuration : processing collection mappings
      [jbpmschema] 16:00:48,570 [main] INFO Configuration : processing association property references
      [jbpmschema] 16:00:48,570 [main] INFO Configuration : processing foreign key constraints
      [jbpmschema] 16:00:48,633 [main] INFO SchemaExport : Running hbm2ddl schema export
      [jbpmschema] 16:00:48,664 [main] INFO SchemaExport : exporting generated schema to database
      [jbpmschema] 16:00:48,680 [main] INFO DriverManagerConnectionProvider : Using Hibernate built-in connection pool (not for production use!)
      [jbpmschema] 16:00:48,680 [main] INFO DriverManagerConnectionProvider : Hibernate connection pool size: 20
      [jbpmschema] 16:00:48,680 [main] INFO DriverManagerConnectionProvider : autocommit mode: false
      [jbpmschema] 16:00:48,742 [main] INFO DriverManagerConnectionProvider : using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:hsql://localhost:1701
      [jbpmschema] 16:00:48,742 [main] INFO DriverManagerConnectionProvider : connection properties: {user=sa, password=****}
      [jbpmschema] 16:00:49,977 [main] ERROR SchemaExport : schema export unsuccessful
      [jbpmschema] java.sql.SQLException: socket creation error
      [jbpmschema] at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      [jbpmschema] at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
      [jbpmschema] at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
      [jbpmschema] at org.hsqldb.jdbcDriver.connect(Unknown Source)
      [jbpmschema] at java.sql.DriverManager.getConnection(DriverManager.java:562)
      [jbpmschema] at java.sql.DriverManager.getConnection(DriverManager.java:155)
      [jbpmschema] at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
      [jbpmschema] at org.hibernate.tool.hbm2ddl.SchemaExport$ProviderConnectionHelper.getConnection(SchemaExport.java:467)
      [jbpmschema] at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:183)
      [jbpmschema] at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:135)
      [jbpmschema] at org.jbpm.ant.JbpmSchemaTask.execute(JbpmSchemaTask.java:65)
      [jbpmschema] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [jbpmschema] at org.apache.tools.ant.Task.perform(Task.java:364)
      [jbpmschema] at org.apache.tools.ant.Target.execute(Target.java:341)
      [jbpmschema] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [jbpmschema] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      [jbpmschema] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      [jbpmschema] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      [jbpmschema] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
      [jbpmschema] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      [jbpmschema] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
      [jbpmschema] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
      [loadidentities] 16:00:50,008 [main] DEBUG JbpmConfiguration : creating jbpm configuration from xml string
      [loadidentities] 16:00:50,008 [main] DEBUG JbpmConfiguration : loading defaults in jbpm configuration
      [loadidentities] 16:00:50,008 [main] DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
      [loadidentities] 16:00:50,008 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.hibernate.cfg.xml'
      [loadidentities] 16:00:50,008 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
      [loadidentities] 16:00:50,008 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
      [loadidentities] 16:00:50,008 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
      [loadidentities] 16:00:50,024 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
      [loadidentities] 16:00:50,024 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
      [loadidentities] 16:00:50,024 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
      [loadidentities] 16:00:50,024 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
      [loadidentities] 16:00:50,024 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.msg.wait.timout'
      [loadidentities] 16:00:50,024 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.byte.block.size'
      [loadidentities] 16:00:50,024 [main] DEBUG ObjectFactoryImpl : adding object info 'mail.smtp.host'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.task.instance.factory'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.variable.resolver'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.address.resolver'
      [loadidentities] 16:00:50,039 [main] DEBUG JbpmConfiguration : loading specific configuration...
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
      [loadidentities] 16:00:50,039 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
      [loadidentities] 16:00:50,039 [main] DEBUG AntHelper : got hibernate configuration from cfg 'D:\app\jbpm-starters-kit-3.1.3\jbpm/src/config.files/hibernate.cfg.xml' and properties 'D:\app\jbpm-starters-kit-3.1.3\jbpm/src/resources/hsqldb/create.db.hibernate.properties' from the cache
      [loadidentities] 16:00:50,070 [main] DEBUG JbpmContextInfo : creating jbpm context with service factories '[persistence]'
      [loadidentities] 16:00:50,070 [main] DEBUG JbpmContext : creating JbpmContext
      [loadidentities] 16:00:50,070 [main] DEBUG JbpmContext : closing JbpmContext
      [loadidentities] loading identities from D:\app\jbpm-starters-kit-3.1.3\jbpm/src/resources/hsqldb/identity.db.xml ...
      [loadidentities] 16:00:50,086 [main] DEBUG JbpmContextInfo : creating jbpm context with service factories '[persistence]'
      [loadidentities] 16:00:50,102 [main] DEBUG JbpmContext : creating JbpmContext
      [loadidentities] 16:00:50,102 [main] DEBUG DbPersistenceServiceFactory : creating persistence service
      [loadidentities] 16:00:50,102 [main] DEBUG DbPersistenceServiceFactory : building hibernate session factory
      [loadidentities] 16:00:50,102 [main] INFO Configuration : processing extends queue
      [loadidentities] 16:00:50,117 [main] INFO Configuration : processing collection mappings
      [loadidentities] 16:00:50,117 [main] INFO Configuration : processing association property references
      [loadidentities] 16:00:50,117 [main] INFO Configuration : processing foreign key constraints
      16:00:50,383 [Finalizer thread] INFO DriverManagerConnectionProvider : cleaning up connection pool: jdbc:hsqldb:hsql://localhost:1701
      [loadidentities] 16:00:50,383 [main] INFO DriverManagerConnectionProvider : Using Hibernate built-in connection pool (not for production use!)
      [loadidentities] 16:00:50,383 [main] INFO DriverManagerConnectionProvider : Hibernate connection pool size: 20
      [loadidentities] 16:00:50,383 [main] INFO DriverManagerConnectionProvider : autocommit mode: false
      [loadidentities] 16:00:50,383 [main] INFO DriverManagerConnectionProvider : using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:hsql://localhost:1701
      [loadidentities] 16:00:50,383 [main] INFO DriverManagerConnectionProvider : connection properties: {user=sa, password=****}
      [loadidentities] 16:00:51,383 [main] WARN SettingsFactory : Could not obtain connection metadata
      [loadidentities] java.sql.SQLException: socket creation error
      [loadidentities] at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      [loadidentities] at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
      [loadidentities] at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
      [loadidentities] at org.hsqldb.jdbcDriver.connect(Unknown Source)
      [loadidentities] at java.sql.DriverManager.getConnection(DriverManager.java:562)
      [loadidentities] at java.sql.DriverManager.getConnection(DriverManager.java:155)
      [loadidentities] at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
      [loadidentities] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
      [loadidentities] at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
      [loadidentities] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
      [loadidentities] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
      [loadidentities] at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
      [loadidentities] at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
      [loadidentities] at org.jbpm.JbpmContext.getSession(JbpmContext.java:464)
      [loadidentities] at org.jbpm.identity.ant.LoadIdentitiesTask.execute(LoadIdentitiesTask.java:62)
      [loadidentities] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [loadidentities] at org.apache.tools.ant.Task.perform(Task.java:364)
      [loadidentities] at org.apache.tools.ant.Target.execute(Target.java:341)
      [loadidentities] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [loadidentities] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      [loadidentities] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      [loadidentities] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      [loadidentities] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
      [loadidentities] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      [loadidentities] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
      [loadidentities] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
      [loadidentities] 16:00:51,399 [main] INFO Dialect : Using dialect: org.hibernate.dialect.HSQLDialect
      [loadidentities] 16:00:51,399 [main] INFO TransactionFactoryFactory : Using default transaction strategy (direct JDBC transactions)
      [loadidentities] 16:00:51,399 [main] INFO TransactionManagerLookupFactory : No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
      [loadidentities] 16:00:51,399 [main] INFO SettingsFactory : Automatic flush during beforeCompletion(): disabled
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : Automatic session close at end of transaction: disabled
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : Scrollable result sets: disabled
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : JDBC3 getGeneratedKeys(): disabled
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : Connection release mode: auto
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : Default batch fetch size: 1
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : Generate SQL with comments: disabled
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : Order SQL updates by primary key: disabled
      [loadidentities] 16:00:51,414 [main] INFO SettingsFactory : Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      [loadidentities] 16:00:51,430 [main] INFO ASTQueryTranslatorFactory : Using ASTQueryTranslatorFactory
      [loadidentities] 16:00:51,430 [main] INFO SettingsFactory : Query language substitutions: {}
      [loadidentities] 16:00:51,430 [main] INFO SettingsFactory : Second-level cache: enabled
      [loadidentities] 16:00:51,430 [main] INFO SettingsFactory : Query cache: disabled
      [loadidentities] 16:00:51,430 [main] INFO SettingsFactory : Cache provider: org.hibernate.cache.HashtableCacheProvider
      [loadidentities] 16:00:51,430 [main] INFO SettingsFactory : Optimize cache for minimal puts: disabled
      [loadidentities] 16:00:51,430 [main] INFO SettingsFactory : Structured second-level cache entries: disabled
      [loadidentities] 16:00:51,461 [main] INFO SettingsFactory : Echoing all SQL to stdout
      [loadidentities] 16:00:51,461 [main] INFO SettingsFactory : Statistics: disabled
      [loadidentities] 16:00:51,461 [main] INFO SettingsFactory : Deleted entity synthetic identifier rollback: disabled
      [loadidentities] 16:00:51,461 [main] INFO SettingsFactory : Default entity-mode: pojo
      [loadidentities] 16:00:51,664 [main] INFO SessionFactoryImpl : building session factory
      [loadidentities] 16:00:56,228 [main] INFO SessionFactoryObjectFactory : Not binding factory to JNDI, no JNDI name configured
      [loadidentities] 16:00:56,243 [main] INFO SessionFactoryImpl : Checking 28 named HQL queries
      [loadidentities] 16:00:57,103 [main] INFO SessionFactoryImpl : Checking 0 named SQL queries
      [loadidentities] 16:00:57,103 [main] DEBUG DbPersistenceService : creating hibernate session
      [loadidentities] 16:00:57,416 [main] DEBUG DbPersistenceService : beginning hibernate transaction
      [loadidentities] 16:00:58,431 [main] WARN JDBCExceptionReporter : SQL Error: -80, SQLState: 08000
      [loadidentities] 16:00:58,431 [main] ERROR JDBCExceptionReporter : socket creation error
      [loadidentities] 16:00:58,431 [main] DEBUG JbpmContext : closing JbpmContext
      [loadidentities] 16:00:58,431 [main] DEBUG Services : closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@78b878b8
      [loadidentities] 16:00:58,431 [main] DEBUG DbPersistenceService : flushing hibernate session
      [loadidentities] 16:00:58,431 [main] DEBUG DbPersistenceService : closing hibernate session

      BUILD FAILED
      D:\app\projects\jbpm-starters-kit-3.1.3\jbpm\build.deploy.xml:50: org.hibernate.exception.JDBCConnectionException: Cannot open connection

      Total time: 28 seconds


        • 1. Re: JDBCConnectionException: Cannot open connection
          salaboy21

          can you post us the content of the hibernate.cfg.xml file?
          did you configure the Database connection?

          • 2. Re: JDBCConnectionException: Cannot open connection
            asique

            Thanks for ur quick reply
            here is the contents of hibernate.cfg.xml
            i did nothing just run ant build

            <?xml version='1.0' encoding='utf-8'?>
            
            <!DOCTYPE hibernate-configuration PUBLIC
             "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
             "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
            
            <hibernate-configuration>
             <session-factory>
            
             <!-- jdbc connection properties -->
             <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
             <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
             <property name="hibernate.connection.url">jdbc:hsqldb:mem:.;sql.enforce_strict_size=true</property>
             <property name="hibernate.connection.username">sa</property>
             <property name="hibernate.connection.password"></property>
            
             <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
            
             <!-- other hibernate properties
             <property name="hibernate.show_sql">true</property>
             <property name="hibernate.format_sql">true</property>
             <property name="hibernate.use_sql_comments">true</property>
             -->
            
             <!-- ############################################ -->
             <!-- # mapping files with external dependencies # -->
             <!-- ############################################ -->
            
             <!-- following mapping file has a dependendy on -->
             <!-- 'bsh-{version}.jar'. -->
             <!-- uncomment this if you don't have bsh on your -->
             <!-- classpath. you won't be able to use the -->
             <!-- script element in process definition files -->
             <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
            
             <!-- following mapping files have a dependendy on -->
             <!-- 'jbpm-identity-{version}.jar', mapping files -->
             <!-- of the pluggable jbpm identity component. -->
             <!-- comment out the following 3 lines if you don't-->
             <!-- want to use the default jBPM identity mgmgt -->
             <!-- component -->
             <mapping resource="org/jbpm/identity/User.hbm.xml"/>
             <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
             <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>
            
             <!-- ###################### -->
             <!-- # jbpm mapping files # -->
             <!-- ###################### -->
            
             <!-- hql queries and type defs -->
             <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />
            
             <!-- graph.def mapping files -->
             <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
             <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
             <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
             <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
             <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
             <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
             <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
             <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
            
             <!-- graph.node mapping files -->
             <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
             <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
             <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
             <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
             <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
             <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
             <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
             <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
            
             <!-- context.def mapping files -->
             <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
             <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
            
             <!-- taskmgmt.def mapping files -->
             <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
            
             <!-- module.def mapping files -->
             <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
            
             <!-- bytes mapping files -->
             <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
            
             <!-- file.def mapping files -->
             <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
            
             <!-- scheduler.def mapping files -->
             <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
             <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
            
             <!-- graph.exe mapping files -->
             <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
             <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
             <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
             <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
            
             <!-- module.exe mapping files -->
             <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
            
             <!-- context.exe mapping files -->
             <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
             <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
            
             <!-- msg.db mapping files -->
             <mapping resource="org/jbpm/msg/Message.hbm.xml"/>
             <mapping resource="org/jbpm/msg/db/TextMessage.hbm.xml"/>
             <mapping resource="org/jbpm/command/ExecuteActionCommand.hbm.xml"/>
             <mapping resource="org/jbpm/command/ExecuteNodeCommand.hbm.xml"/>
             <mapping resource="org/jbpm/command/SignalCommand.hbm.xml"/>
             <mapping resource="org/jbpm/command/TaskInstanceEndCommand.hbm.xml"/>
            
             <!-- taskmgmt.exe mapping files -->
             <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
            
             <!-- scheduler.exe mapping files -->
             <mapping resource="org/jbpm/scheduler/exe/Timer.hbm.xml"/>
            
             <!-- logging mapping files -->
             <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
             <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
             <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
             <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
             <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>
            
             </session-factory>
            </hibernate-configuration>
            




            • 3. Re: JDBCConnectionException: Cannot open connection
              salaboy21

              are you using jbpm-starter-kit-3.1.3 (i think is jbpm-starter-kit-3.2.3) for any particular reason?

              With what DB did you like to use jBPM?

              • 4. Re: JDBCConnectionException: Cannot open connection
                asique

                Yes i m using starter kit 3.1.3 and i m trying to use default db that is hsql
                according to my knowledge this db is already configured but i m facing the problem that i have mentioned in first post

                • 5. Re: JDBCConnectionException: Cannot open connection
                  salaboy21

                  where did you configure the Database and with what database?

                  • 6. Re: JDBCConnectionException: Cannot open connection
                    asique

                    i did not use any database
                    i m trying to use hypersonicSQL which is i think default one and
                    no need to configure hypersonicSQL as u can see in hibernate.cfg.xml

                    • 7. Re: JDBCConnectionException: Cannot open connection
                      salaboy21

                      Ok, i see that..
                      can you see this configuration file??

                      create.db.hibernate.properties??

                      • 8. Re: JDBCConnectionException: Cannot open connection
                        kukeltje

                        what I'm curious about is why so many people seem to start fresh with jBPM and use a 3.1.x release? Why not use 3.2.... Or even 3.3 that was just kind of released...

                        • 9. Re: JDBCConnectionException: Cannot open connection
                          salaboy21

                          Yes.. i was asking me the same... is very odd...