What is RSS?
[JBoss jBPM] - Error in Process Definition Deployment.
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Java Programming > [JBoss jBPM] - Error in Process Definition Deployment. 21 April 2006 10:08:03

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

[JBoss jBPM] - Error in Process Definition Deployment.

Pganesh81 21 April 2006 10:08:03
 --------------------­--------------------­--------------------­-------------------

Hi,

I tried executing the code deploying process definition and creating an instance of it, given in this forum, but i received a different error showing SQLException error.
Do we have to make specific change in database configuration.
Could anyone help me in sorting out the problem
Below is the code which i tried.

Thanks in advance.

package MyPack;

import org.jbpm.graph.def.­ProcessDefinition;
import org.jbpm.graph.exe.­ProcessInstance;
import org.jbpm.JbpmConfig­uration;
import org.jbpm.db.GraphSe­ssion;
import org.jbpm.graph.exe.­Token;
import org.jbpm.JbpmContex­t;

public class StartProcess
{

/** Init */
public void init()
{
// Lookup the pojo persistence context-builder that is configured above
JbpmConfiguration jbpmConfiguration = JbpmConfiguration.g­etInstance();
JbpmContext jbpmContext = jbpmConfiguration.c­reateJbpmContext();

try
{
GraphSession graphSession = jbpmContext.getGrap­hSession();
ProcessDefinition processDefinition = graphSession.findLa­testProcessDefinitio­n("Initiator");

// With the processDefinition that we retrieved from the database,
// we can create an execution of the process definition just like
// in the hello world example (which was without persistence).
ProcessInstance processInstance = new ProcessInstance(pro­cessDefinition);
Token token = processInstance.get­RootToken();
//assertEquals("sta­rt new process", token.getNode().get­Name());

// Let's start the process execution
// processInstance.sig­nal();
token.signal();

// Now the process is in the state 'state1'.
// assertEquals("state­1", token.getNode().get­Name());

// Now the processInstance is saved in the database. So the
// current state of the execution of the process is stored in the
// database.
jbpmContext.save(pr­ocessInstance);
}
finally
{
// Tear down the pojo persistence context.
jbpmContext.close()­;
}
}


/** */
public static void main(String[] args)
{
try
{
StartProcess sp = new StartProcess();
sp.init();
}
catch(Exception exc)
{
System.err.println(­exc.getMessage());
exc.printStackTrace­();
}
}
}

-------------------­--------------------­--------------------­--------------------­-

This is the output in the output showing error




14:18:23,407 [main] INFO JbpmConfiguration : using jbpm configuration resource 'jbpm.cfg.xml'
14:18:23,610 [main] DEBUG JbpmConfiguration : creating jbpm configuration from input stream
14:18:23,688 [main] DEBUG JbpmContextInfo : creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'
14:18:23,688 [main] DEBUG JbpmContext : creating JbpmContext
14:18:23,688 [main] DEBUG DbPersistenceServic­eFactory : creating persistence service
14:18:23,719 [main] DEBUG DbPersistenceServic­eFactory : building hibernate session factory
14:18:23,829 [main] INFO Environment : Hibernate 3.1
14:18:23,829 [main] INFO Environment : hibernate.propertie­s not found
14:18:23,844 [main] INFO Environment : using CGLIB reflection optimizer
14:18:23,860 [main] INFO Environment : using JDK 1.4 java.sql.Timestamp handling
14:18:24,016 [main] DEBUG HibernateHelper : creating hibernate configuration resource 'hibernate.cfg.xml'­
14:18:24,016 [main] INFO Configuration : configuring from resource: hibernate.cfg.xml
14:18:24,016 [main] INFO Configuration : Configuration resource: hibernate.cfg.xml
14:18:24,204 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/acti­on/Script.hbm.xml
14:18:24,392 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/U­ser.hbm.xml
14:18:24,454 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.U­ser -> JBPM_ID_USER
14:18:24,532 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.U­ser.permissions -> JBPM_ID_PERMISSIONS­
14:18:24,548 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/G­roup.hbm.xml
14:18:24,579 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.G­roup -> JBPM_ID_GROUP
14:18:24,751 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.G­roup.permissions -> JBPM_ID_PERMISSIONS­
14:18:24,751 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/M­embership.hbm.xml
14:18:24,782 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.M­embership -> JBPM_ID_MEMBERSHIP
14:18:24,782 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.M­embership.permission­s -> JBPM_ID_PERMISSIONS­
14:18:24,782 [main] INFO Configuration : Reading mappings from resource: org/jbpm/db/hiberna­te.queries.hbm.xml
14:18:24,829 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/­ProcessDefinition.hb­m.xml
14:18:24,860 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.­ProcessDefinition -> JBPM_PROCESSDEFINIT­ION
14:18:24,907 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/­Node.hbm.xml
14:18:24,939 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.­Node -> JBPM_NODE
14:18:24,954 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/­Transition.hbm.xml
14:18:24,986 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.­Transition -> JBPM_TRANSITION
14:18:25,001 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/­Event.hbm.xml
14:18:25,017 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.­Event -> JBPM_EVENT
14:18:25,017 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/­Action.hbm.xml
14:18:25,064 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.­Action -> JBPM_ACTION
14:18:25,064 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/­SuperState.hbm.xml
14:18:25,189 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.def.­SuperState -> JBPM_NODE
14:18:25,204 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/­ExceptionHandler.hbm­.xml
14:18:25,220 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.­ExceptionHandler -> JBPM_EXCEPTIONHANDL­ER
14:18:25,220 [main] INFO Configuration : Reading mappings from resource: org/jbpm/instantiat­ion/Delegation.hbm.x­ml
14:18:25,236 [main] INFO HbmBinder : Mapping class: org.jbpm.instantiat­ion.Delegation -> JBPM_DELEGATION
14:18:25,251 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/StartState.hbm.xml
14:18:25,267 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.StartState -> JBPM_NODE
14:18:25,267 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/EndState.hbm.xml
14:18:25,283 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.EndState -> JBPM_NODE
14:18:25,283 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/ProcessState.hbm.xm­l
14:18:25,298 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.ProcessState -> JBPM_NODE
14:18:25,298 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/Decision.hbm.xml
14:18:25,329 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.Decision -> JBPM_NODE
14:18:25,345 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node­.Decision.decisionCo­nditions -> JBPM_DECISIONCONDIT­IONS
14:18:25,345 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/Fork.hbm.xml
14:18:25,361 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.Fork -> JBPM_NODE
14:18:25,361 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/Join.hbm.xml
14:18:25,408 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.Join -> JBPM_NODE
14:18:25,408 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/State.hbm.xml
14:18:25,423 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.State -> JBPM_NODE
14:18:25,423 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node­/TaskNode.hbm.xml
14:18:25,454 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node­.TaskNode -> JBPM_NODE
14:18:25,470 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/de­f/ContextDefinition.­hbm.xml
14:18:25,486 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/de­f/VariableAccess.hbm­.xml
14:18:25,533 [main] INFO HbmBinder : Mapping class: org.jbpm.context.de­f.VariableAccess -> JBPM_VARIABLEACCESS­
14:18:25,533 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/d­ef/TaskMgmtDefinitio­n.hbm.xml
14:18:25,564 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/d­ef/Swimlane.hbm.xml
14:18:25,580 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.d­ef.Swimlane -> JBPM_SWIMLANE
14:18:25,580 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/d­ef/Task.hbm.xml
14:18:25,595 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.d­ef.Task -> JBPM_TASK
14:18:25,611 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/d­ef/TaskController.hb­m.xml
14:18:25,689 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.d­ef.TaskController -> JBPM_TASKCONTROLLER­
14:18:25,689 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/def­/ModuleDefinition.hb­m.xml
14:18:25,736 [main] INFO HbmBinder : Mapping class: org.jbpm.module.def­.ModuleDefinition -> JBPM_MODULEDEFINITI­ON
14:18:25,736 [main] INFO Configuration : Reading mappings from resource: org/jbpm/bytes/Byte­Array.hbm.xml
14:18:25,767 [main] INFO HbmBinder : Mapping class: org.jbpm.bytes.Byte­Array -> JBPM_BYTEARRAY
14:18:25,783 [main] INFO HbmBinder : Mapping collection: org.jbpm.bytes.Byte­Array.byteBlocks -> JBPM_BYTEBLOCK
14:18:25,783 [main] INFO Configuration : Reading mappings from resource: org/jbpm/file/def/F­ileDefinition.hbm.xm­l
14:18:25,798 [main] INFO HbmBinder : Mapping subclass: org.jbpm.file.def.F­ileDefinition -> JBPM_MODULEDEFINITI­ON
14:18:25,798 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/­def/CreateTimerActio­n.hbm.xml
14:18:25,830 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.­def.CreateTimerActio­n -> JBPM_ACTION
14:18:25,845 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/­def/CancelTimerActio­n.hbm.xml
14:18:25,861 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.­def.CancelTimerActio­n -> JBPM_ACTION
14:18:25,861 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/­Comment.hbm.xml
14:18:25,877 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.­Comment -> JBPM_COMMENT
14:18:25,892 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/­ProcessInstance.hbm.­xml
14:18:25,923 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.­ProcessInstance -> JBPM_PROCESSINSTANC­E
14:18:25,939 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/­Token.hbm.xml
14:18:25,970 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.­Token -> JBPM_TOKEN
14:18:25,986 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/­RuntimeAction.hbm.xm­l
14:18:26,002 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.­RuntimeAction -> JBPM_RUNTIMEACTION
14:18:26,002 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/exe­/ModuleInstance.hbm.­xml
14:18:26,080 [main] INFO HbmBinder : Mapping class: org.jbpm.module.exe­.ModuleInstance -> JBPM_MODULEINSTANCE­
14:18:26,080 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/ContextInstance.hb­m.xml
14:18:26,111 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.ContextInstance -> JBPM_MODULEINSTANCE­
14:18:26,111 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/TokenVariableMap.h­bm.xml
14:18:26,127 [main] INFO HbmBinder : Mapping class: org.jbpm.context.ex­e.TokenVariableMap -> JBPM_TOKENVARIABLEM­AP
14:18:26,142 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/VariableInstance.h­bm.xml
14:18:26,158 [main] INFO HbmBinder : Mapping class: org.jbpm.context.ex­e.VariableInstance -> JBPM_VARIABLEINSTAN­CE
14:18:26,158 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/B­yteArrayInstance.hbm­.xml
14:18:26,174 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.B­yteArrayInstance -> JBPM_VARIABLEINSTAN­CE
14:18:26,174 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/D­ateInstance.hbm.xml
14:18:26,205 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.D­ateInstance -> JBPM_VARIABLEINSTAN­CE
14:18:26,205 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/D­oubleInstance.hbm.xm­l
14:18:26,220 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.D­oubleInstance -> JBPM_VARIABLEINSTAN­CE
14:18:26,220 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/H­ibernateLongInstance­.hbm.xml
14:18:26,236 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.H­ibernateLongInstance­ -> JBPM_VARIABLEINSTAN­CE
14:18:26,236 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/H­ibernateStringInstan­ce.hbm.xml
14:18:26,252 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.H­ibernateStringInstan­ce -> JBPM_VARIABLEINSTAN­CE
14:18:26,252 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/L­ongInstance.hbm.xml
14:18:26,330 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.L­ongInstance -> JBPM_VARIABLEINSTAN­CE
14:18:26,330 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/N­ullInstance.hbm.xml
14:18:26,345 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.N­ullInstance -> JBPM_VARIABLEINSTAN­CE
14:18:26,345 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/ex­e/variableinstance/S­tringInstance.hbm.xm­l
14:18:26,361 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.ex­e.variableinstance.S­tringInstance -> JBPM_VARIABLEINSTAN­CE
14:18:26,361 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/Messag­e.hbm.xml
14:18:26,392 [main] INFO HbmBinder : Mapping class: org.jbpm.msg.Messag­e -> JBPM_MESSAGE
14:18:26,392 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/db/Tex­tMessage.hbm.xml
14:18:26,408 [main] INFO HbmBinder : Mapping subclass: org.jbpm.msg.db.Tex­tMessage -> JBPM_MESSAGE
14:18:26,424 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/Ex­ecuteActionCommand.h­bm.xml
14:18:26,439 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.Ex­ecuteActionCommand -> JBPM_MESSAGE
14:18:26,439 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/Ex­ecuteNodeCommand.hbm­.xml
14:18:26,455 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.Ex­ecuteNodeCommand -> JBPM_MESSAGE
14:18:26,455 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/Si­gnalCommand.hbm.xml
14:18:26,471 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.Si­gnalCommand -> JBPM_MESSAGE
14:18:26,486 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/Ta­skInstanceEndCommand­.hbm.xml
14:18:26,517 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.Ta­skInstanceEndCommand­ -> JBPM_MESSAGE
14:18:26,517 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/e­xe/TaskMgmtInstance.­hbm.xml
14:18:26,549 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.e­xe.TaskMgmtInstance -> JBPM_MODULEINSTANCE­
14:18:26,564 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/e­xe/TaskInstance.hbm.­xml
14:18:26,580 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.e­xe.TaskInstance -> JBPM_TASKINSTANCE
14:18:26,596 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.e­xe.TaskInstance.pool­edActors -> JBPM_TASKACTORPOOL
14:18:26,596 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/e­xe/PooledActor.hbm.x­ml
14:18:26,627 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.e­xe.PooledActor -> JBPM_POOLEDACTOR
14:18:26,627 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.e­xe.PooledActor.taskI­nstances -> JBPM_TASKACTORPOOL
14:18:26,627 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/e­xe/SwimlaneInstance.­hbm.xml
14:18:26,689 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.e­xe.SwimlaneInstance -> JBPM_SWIMLANEINSTAN­CE
14:18:26,689 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/­exe/Timer.hbm.xml
14:18:26,721 [main] INFO HbmBinder : Mapping class: org.jbpm.scheduler.­exe.Timer -> JBPM_TIMER
14:18:26,721 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/lo­g/ProcessLog.hbm.xml­
14:18:26,752 [main] INFO HbmBinder : Mapping class: org.jbpm.logging.lo­g.ProcessLog -> JBPM_LOG
14:18:26,752 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/lo­g/MessageLog.hbm.xml­
14:18:26,768 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.lo­g.MessageLog -> JBPM_LOG
14:18:26,768 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/lo­g/CompositeLog.hbm.x­ml
14:18:26,783 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.lo­g.CompositeLog -> JBPM_LOG
14:18:26,783 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­ActionLog.hbm.xml
14:18:26,814 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­ActionLog -> JBPM_LOG
14:18:26,814 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­NodeLog.hbm.xml
14:18:26,846 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­NodeLog -> JBPM_LOG
14:18:26,846 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­ProcessInstanceCreat­eLog.hbm.xml
14:18:26,861 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­ProcessInstanceCreat­eLog -> JBPM_LOG
14:18:26,877 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­ProcessInstanceEndLo­g.hbm.xml
14:18:26,893 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­ProcessInstanceEndLo­g -> JBPM_LOG
14:18:26,893 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­SignalLog.hbm.xml
14:18:26,908 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­SignalLog -> JBPM_LOG
14:18:26,908 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­TokenCreateLog.hbm.x­ml
14:18:26,924 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­TokenCreateLog -> JBPM_LOG
14:18:26,939 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­TokenEndLog.hbm.xml
14:18:26,955 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­TokenEndLog -> JBPM_LOG
14:18:26,955 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/­TransitionLog.hbm.xm­l
14:18:26,971 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.­TransitionLog -> JBPM_LOG
14:18:26,971 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/VariableLog.hbm.xm­l
14:18:26,986 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.VariableLog -> JBPM_LOG
14:18:26,986 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/VariableCreateLog.­hbm.xml
14:18:27,065 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.VariableCreateLog -> JBPM_LOG
14:18:27,065 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/VariableDeleteLog.­hbm.xml
14:18:27,080 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.VariableDeleteLog -> JBPM_LOG
14:18:27,080 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/VariableUpdateLog.­hbm.xml
14:18:27,096 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.VariableUpdateLog -> JBPM_LOG
14:18:27,096 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/variableinstance/B­yteArrayUpdateLog.hb­m.xml
14:18:27,111 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.variableinstance.B­yteArrayUpdateLog -> JBPM_LOG
14:18:27,127 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/variableinstance/D­ateUpdateLog.hbm.xml­
14:18:27,143 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.variableinstance.D­ateUpdateLog -> JBPM_LOG
14:18:27,143 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/variableinstance/D­oubleUpdateLog.hbm.x­ml
14:18:27,158 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.variableinstance.D­oubleUpdateLog -> JBPM_LOG
14:18:27,158 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/variableinstance/H­ibernateLongUpdateLo­g.hbm.xml
14:18:27,174 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.variableinstance.H­ibernateLongUpdateLo­g -> JBPM_LOG
14:18:27,174 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/variableinstance/H­ibernateStringUpdate­Log.hbm.xml
14:18:27,190 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.variableinstance.H­ibernateStringUpdate­Log -> JBPM_LOG
14:18:27,190 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/variableinstance/L­ongUpdateLog.hbm.xml­
14:18:27,221 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.variableinstance.L­ongUpdateLog -> JBPM_LOG
14:18:27,221 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/lo­g/variableinstance/S­tringUpdateLog.hbm.x­ml
14:18:27,236 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.lo­g.variableinstance.S­tringUpdateLog -> JBPM_LOG
14:18:27,236 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/l­og/TaskLog.hbm.xml
14:18:27,252 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.l­og.TaskLog -> JBPM_LOG
14:18:27,268 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/l­og/TaskCreateLog.hbm­.xml
14:18:27,299 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.l­og.TaskCreateLog -> JBPM_LOG
14:18:27,299 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/l­og/TaskAssignLog.hbm­.xml
14:18:27,393 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.l­og.TaskAssignLog -> JBPM_LOG
14:18:27,393 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/l­og/TaskEndLog.hbm.xm­l
14:18:27,408 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.l­og.TaskEndLog -> JBPM_LOG
14:18:27,408 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/l­og/SwimlaneLog.hbm.x­ml
14:18:27,424 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.l­og.SwimlaneLog -> JBPM_LOG
14:18:27,424 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/l­og/SwimlaneCreateLog­.hbm.xml
14:18:27,455 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.l­og.SwimlaneCreateLog­ -> JBPM_LOG
14:18:27,455 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/l­og/SwimlaneAssignLog­.hbm.xml
14:18:27,471 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.l­og.SwimlaneAssignLog­ -> JBPM_LOG
14:18:27,487 [main] INFO Configuration : Configured SessionFactory: null
14:18:27,487 [main] INFO Configuration : processing extends queue
14:18:27,487 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.de­f.ContextDefinition -> JBPM_MODULEDEFINITI­ON
14:18:27,487 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.d­ef.TaskMgmtDefinitio­n -> JBPM_MODULEDEFINITI­ON
14:18:27,487 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.acti­on.Script -> JBPM_ACTION
14:18:27,502 [main] INFO Configuration : processing collection mappings
14:18:27,502 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.U­ser.memberships -> JBPM_ID_MEMBERSHIP
14:18:27,502 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.G­roup.children -> JBPM_ID_GROUP
14:18:27,502 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.G­roup.memberships -> JBPM_ID_MEMBERSHIP
14:18:27,502 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­ProcessDefinition.ev­ents -> JBPM_EVENT
14:18:27,502 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­ProcessDefinition.ex­ceptionHandlers -> JBPM_EXCEPTIONHANDL­ER
14:18:27,502 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­ProcessDefinition.no­des -> JBPM_NODE
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­ProcessDefinition.ac­tions -> JBPM_ACTION
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­ProcessDefinition.de­finitions -> JBPM_MODULEDEFINITI­ON
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­Node.events -> JBPM_EVENT
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­Node.exceptionHandle­rs -> JBPM_EXCEPTIONHANDL­ER
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­Node.leavingTransiti­ons -> JBPM_TRANSITION
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­Node.arrivingTransit­ions -> JBPM_TRANSITION
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­Transition.events -> JBPM_EVENT
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­Transition.exception­Handlers -> JBPM_EXCEPTIONHANDL­ER
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­Event.actions -> JBPM_ACTION
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­SuperState.nodes -> JBPM_NODE
14:18:27,518 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.­ExceptionHandler.act­ions -> JBPM_ACTION
14:18:27,533 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node­.ProcessState.variab­leAccesses -> JBPM_VARIABLEACCESS­
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node­.TaskNode.tasks -> JBPM_TASK
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.d­ef.Swimlane.tasks -> JBPM_TASK
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.d­ef.Task.events -> JBPM_EVENT
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.d­ef.Task.exceptionHan­dlers -> JBPM_EXCEPTIONHANDL­ER
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.d­ef.TaskController.va­riableAccesses -> JBPM_VARIABLEACCESS­
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.file.def.F­ileDefinition.proces­sFiles -> JBPM_BYTEARRAY
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.­ProcessInstance.runt­imeActions -> JBPM_RUNTIMEACTION
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.­ProcessInstance.inst­ances -> JBPM_MODULEINSTANCE­
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.­Token.children -> JBPM_TOKEN
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.­Token.comments -> JBPM_COMMENT
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.ex­e.ContextInstance.to­kenVariableMaps -> JBPM_TOKENVARIABLEM­AP
14:18:27,549 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.ex­e.TokenVariableMap.v­ariableInstances -> JBPM_VARIABLEINSTAN­CE
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.e­xe.TaskMgmtInstance.­swimlaneInstances -> JBPM_SWIMLANEINSTAN­CE
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.e­xe.TaskMgmtInstance.­taskInstances -> JBPM_TASKINSTANCE
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.e­xe.TaskInstance.vari­ableInstances -> JBPM_VARIABLEINSTAN­CE
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.e­xe.TaskInstance.comm­ents -> JBPM_COMMENT
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.e­xe.SwimlaneInstance.­pooledActors -> JBPM_POOLEDACTOR
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.logging.lo­g.CompositeLog.child­ren -> JBPM_LOG
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.d­ef.TaskMgmtDefinitio­n.swimlanes -> JBPM_SWIMLANE
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.d­ef.TaskMgmtDefinitio­n.tasks -> JBPM_TASK
14:18:27,565 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.acti­on.Script.variableAc­cesses -> JBPM_VARIABLEACCESS­
14:18:27,565 [main] INFO Configuration : processing association property references
14:18:27,565 [main] INFO Configuration : processing foreign key constraints
14:18:27,768 [main] INFO DriverManagerConnec­tionProvider : Using Hibernate built-in connection pool (not for production use!)
14:18:27,768 [main] INFO DriverManagerConnec­tionProvider : Hibernate connection pool size: 20
14:18:27,768 [main] INFO DriverManagerConnec­tionProvider : autocommit mode: false
14:18:27,768 [main] INFO DriverManagerConnec­tionProvider : using driver: org.hsqldb.jdbcDriv­er at URL: jdbc:hsqldb:mem:.;s­ql.enforce_strict_si­ze=true
14:18:27,768 [main] INFO DriverManagerConnec­tionProvider : connection properties: {user=sa, password=****}
14:18:28,221 [main] INFO SettingsFactory : RDBMS: HSQL Database Engine, version: 1.8.0
14:18:28,221 [main] INFO SettingsFactory : JDBC driver: HSQL Database Engine Driver, version: 1.8.0
14:18:28,268 [main] INFO Dialect : Using dialect: org.hibernate.diale­ct.HSQLDialect
14:18:28,284 [main] INFO TransactionFactoryF­actory : Using default transaction strategy (direct JDBC transactions)
14:18:28,284 [main] INFO TransactionManagerL­ookupFactory : No TransactionManagerL­ookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
14:18:28,284 [main] INFO SettingsFactory : Automatic flush during beforeCompletion():­ disabled
14:18:28,299 [main] INFO SettingsFactory : Automatic session close at end of transaction: disabled
14:18:28,299 [main] INFO SettingsFactory : JDBC batch size: 15
14:18:28,299 [main] INFO SettingsFactory : JDBC batch updates for versioned data: disabled
14:18:28,299 [main] INFO SettingsFactory : Scrollable result sets: enabled
14:18:28,299 [main] INFO SettingsFactory : JDBC3 getGeneratedKeys():­ disabled
14:18:28,299 [main] INFO SettingsFactory : Connection release mode: auto
14:18:28,299 [main] INFO SettingsFactory : Default batch fetch size: 1
14:18:28,299 [main] INFO SettingsFactory : Generate SQL with comments: disabled
14:18:28,299 [main] INFO SettingsFactory : Order SQL updates by primary key: disabled
14:18:28,299 [main] INFO SettingsFactory : Query translator: org.hibernate.hql.a­st.ASTQueryTranslato­rFactory
14:18:28,315 [main] INFO ASTQueryTranslatorF­actory : Using ASTQueryTranslatorF­actory
14:18:28,315 [main] INFO SettingsFactory : Query language substitutions: {}
14:18:28,315 [main] INFO SettingsFactory : Second-level cache: enabled
14:18:28,315 [main] INFO SettingsFactory : Query cache: disabled
14:18:28,315 [main] INFO SettingsFactory : Cache provider: org.hibernate.cache­.EhCacheProvider
14:18:28,331 [main] INFO SettingsFactory : Optimize cache for minimal puts: disabled
14:18:28,331 [main] INFO SettingsFactory : Structured second-level cache entries: disabled
14:18:28,346 [main] INFO SettingsFactory : Statistics: disabled
14:18:28,346 [main] INFO SettingsFactory : Deleted entity synthetic identifier rollback: disabled
14:18:28,346 [main] INFO SettingsFactory : Default entity-mode: pojo
14:18:28,550 [main] INFO SessionFactoryImpl : building session factory
14:18:29,003 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
14:18:29,159 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
14:18:29,394 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
14:18:29,628 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
14:18:29,722 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
14:18:29,738 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
14:18:30,128 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
14:18:30,238 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
14:18:30,457 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
14:18:30,629 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
14:18:30,894 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
14:18:30,926 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults.
14:18:30,926 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults.
14:18:30,941 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
14:18:30,941 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
14:18:30,941 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
14:18:30,941 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults.
14:18:30,941 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using defaults.
14:18:30,941 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults.
14:18:30,941 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.
14:18:30,957 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.
14:18:30,957 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults.
14:18:30,957 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.
14:18:30,957 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.
14:18:30,957 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.
14:18:30,957 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaults.
14:18:30,957 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.
14:18:30,972 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.
14:18:31,441 [main] INFO SessionFactoryObjec­tFactory : Not binding factory to JNDI, no JNDI name configured
14:18:31,441 [main] INFO SessionFactoryImpl : Checking 25 named HQL queries
14:18:31,973 [main] INFO SessionFactoryImpl : Checking 0 named SQL queries
14:18:31,973 [main] DEBUG DbPersistenceServic­e : creating hibernate session
14:18:32,051 [main] DEBUG DbPersistenceServic­e : beginning hibernate transaction
14:18:32,114 [main] WARN JDBCExceptionReport­er : SQL Error: -22, SQLState: S0002
14:18:32,114 [main] ERROR JDBCExceptionReport­er : Table not found in statement [select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
org.hibernate.excep­tion.SQLGrammarExcep­tion: could not execute query
at org.hibernate.excep­tion.SQLStateConvert­er.convert(SQLStateC­onverter.java:65)
at org.hibernate.excep­tion.JDBCExceptionHe­lper.convert(JDBCExc­eptionHelper.java:43­)
at org.hibernate.loade­r.Loader.doList(Load­er.java:2153)
at org.hibernate.loade­r.Loader.listIgnoreQ­ueryCache(Loader.jav­a:2029)
at org.hibernate.loade­r.Loader.list(Loader­.java:2024)
at org.hibernate.loade­r.hql.QueryLoader.li­st(QueryLoader.java:­369)
at org.hibernate.hql.a­st.QueryTranslatorIm­pl.list(QueryTransla­torImpl.java:300)
at org.hibernate.engin­e.query.HQLQueryPlan­.performList(HQLQuer­yPlan.java:146)
at org.hibernate.impl.­SessionImpl.list(Ses­sionImpl.java:1093)
at org.hibernate.impl.­QueryImpl.list(Query­Impl.java:79)
at org.hibernate.impl.­AbstractQueryImpl.un­iqueResult(AbstractQ­ueryImpl.java:745)
at org.jbpm.db.GraphSe­ssion.findLatestProc­essDefinition(GraphS­ession.java:138)
at MyPack.StartProcess­.init(StartProcess.j­ava:26)
at MyPack.StartProcess­.main(StartProcess.j­ava:61)
Caused by: java.sql.SQLExcepti­on: Table not found in statement [select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
at org.hsqldb.jdbc.Uti­l.throwError(Unknown­ Source)
at org.hsqldb.jdbc.jdb­cPreparedStatement.(­Unknown Source)
at org.hsqldb.jdbc.jdb­cConnection.prepareS­tatement(Unknown Source)
at org.hibernate.jdbc.­AbstractBatcher.getP­reparedStatement(Abs­tractBatcher.java:44­2)
at org.hibernate.jdbc.­AbstractBatcher.getP­reparedStatement(Abs­tractBatcher.java:36­8)
at org.hibernate.jdbc.­AbstractBatcher.prep­areQueryStatement(Ab­stractBatcher.java:1­05)
at org.hibernate.loade­r.Loader.prepareQuer­yStatement(Loader.ja­va:1561)
at org.hibernate.loade­r.Loader.doQuery(Loa­der.java:661)
at org.hibernate.loade­r.Loader.doQueryAndI­nitializeNonLazyColl­ections(Loader.java:­224)
at org.hibernate.loade­r.Loader.doList(Load­er.java:2150)
... 11 more
14:18:32,317 [main] ERROR GraphSession : org.hibernate.excep­tion.SQLGrammarExcep­tion: could not execute query
14:18:32,317 [main] DEBUG JbpmContext : closing JbpmContext
14:18:32,317 [main] DEBUG Services : closing service 'persistence': org.jbpm.persistenc­e.db.DbPersistenceSe­rvice@134eb84
14:18:32,317 [main] DEBUG DbPersistenceServic­e : committing hibernate transaction
couldn't find process definition 'Initiator'
org.jbpm.JbpmExcept­ion: couldn't find process definition 'Initiator'
at org.jbpm.db.GraphSe­ssion.findLatestProc­essDefinition(GraphS­ession.java:155)
at MyPack.StartProcess­.init(StartProcess.j­ava:26)
at MyPack.StartProcess­.main(StartProcess.j­ava:61)
Caused by: org.hibernate.excep­tion.SQLGrammarExcep­tion: could not execute query
at org.hibernate.excep­tion.SQLStateConvert­er.convert(SQLStateC­onverter.java:65)
at org.hibernate.excep­tion.JDBCExceptionHe­lper.convert(JDBCExc­eptionHelper.java:43­)
at org.hibernate.loade­r.Loader.doList(Load­er.java:2153)
at org.hibernate.loade­r.Loader.listIgnoreQ­ueryCache(Loader.jav­a:2029)
at org.hibernate.loade­r.Loader.list(Loader­.java:2024)
at org.hibernate.loade­r.hql.QueryLoader.li­st(QueryLoader.java:­369)
at org.hibernate.hql.a­st.QueryTranslatorIm­pl.list(QueryTransla­torImpl.java:300)
at org.hibernate.engin­e.query.HQLQueryPlan­.performList(HQLQuer­yPlan.java:146)
at org.hibernate.impl.­SessionImpl.list(Ses­sionImpl.java:1093)
at org.hibernate.impl.­QueryImpl.list(Query­Impl.java:79)
at org.hibernate.impl.­AbstractQueryImpl.un­iqueResult(AbstractQ­ueryImpl.java:745)
at org.jbpm.db.GraphSe­ssion.findLatestProc­essDefinition(GraphS­ession.java:138)
... 2 more
Caused by: java.sql.SQLExcepti­on: Table not found in statement [select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
at org.hsqldb.jdbc.Uti­l.throwError(Unknown­ Source)
at org.hsqldb.jdbc.jdb­cPreparedStatement.(­Unknown Source)
at org.hsqldb.jdbc.jdb­cConnection.prepareS­tatement(Unknown Source)
at org.hibernate.jdbc.­AbstractBatcher.getP­reparedStatement(Abs­tractBatcher.java:44­2)
at org.hibernate.jdbc.­AbstractBatcher.getP­reparedStatement(Abs­tractBatcher.java:36­8)
at org.hibernate.jdbc.­AbstractBatcher.prep­areQueryStatement(Ab­stractBatcher.java:1­05)
at org.hibernate.loade­r.Loader.prepareQuer­yStatement(Loader.ja­va:1561)
at org.hibernate.loade­r.Loader.doQuery(Loa­der.java:661)
at org.hibernate.loade­r.Loader.doQueryAndI­nitializeNonLazyColl­ections(Loader.java:­224)
at org.hibernate.loade­r.Loader.doList(Load­er.java:2150)
... 11 more
14:18:32,332 [main] DEBUG DbPersistenceServic­e : closing hibernate session



View the original post : http://www.jboss.co­m/index.html?module=­bb&op=viewtopic&p=39­38582#3938582

Reply to the post : http://www.jboss.co­m/index.html?module=­bb&op=posting&mode=r­eply&p=3938582


-------------------­--------------------­----------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.fa­lkag.net/sel?cmd=lnk­&kid=120709&bid=2630­57&dat=121642
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Java Programming > [JBoss jBPM] - Error in Process Definition Deployment. 21 April 2006 10:08:03

see also:
namespace dynamic creation
q on using SAXTransformer and memory…
Using SAX to apply XPATHS?
пройди тесты:
see also:
Pjatnicha 13
W.I.T.C.H W is for W.I.T.C.H (3/3)h...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .