2 Replies Latest reply on Apr 20, 2006 3:54 AM by Fidalma D'Ammando

    hibernate exception

    Fidalma D'Ammando Newbie

      Hi all,
      thank you very very much for all your help and answers to my previous posts.... Unfortunately I have an other problem.... :-((
      I have deployed my process archive but now, when i try to instantiate a news process, I have a strange error. Here is my situation:

      - My process definition:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="Initiator">
       <swimlane name="initiator"/>
       <start-state name="start new process">
       <task swimlane="process initiator" blocking="true" signalling="false"/>
       <transition name="tr1" to="state1"></transition>
       </start-state>
       <state name="state1">
       <transition name="tr2" to="decision">
       <action name="action" class="com.sample.action.SampleActionHandler"></action>
       </transition>
       </state>
       <decision name="decision">
       <handler class="com.sample.decision.SampleDecisionHandler"></handler>
       <transition name="tr3" to="state2"></transition>
       <transition name="tr4" to="end1"></transition>
       </decision>
       <state name="state2">
       <transition name="tr5" to="end1"></transition>
       </state>
       <end-state name="end1"></end-state>
      </process-definition>
      


      - The class where I try to instantiate a process:
      package com.sample.util;
      
      import org.jbpm.graph.def.ProcessDefinition;
      import org.jbpm.graph.exe.ProcessInstance;
      import org.jbpm.JbpmConfiguration;
      import org.jbpm.db.GraphSession;
      import org.jbpm.graph.exe.Token;
      import org.jbpm.JbpmContext;
      
      public class StartProcess
      {
      
       /** Init */
       public void init()
       {
       // Lookup the pojo persistence context-builder that is configured above
       JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
       JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
      
       try
       {
       GraphSession graphSession = jbpmContext.getGraphSession();
       ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition("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(processDefinition);
       Token token = processInstance.getRootToken();
       //assertEquals("start new process", token.getNode().getName());
      
       // Let's start the process execution
       // processInstance.signal();
       token.signal();
      
       // Now the process is in the state 'state1'.
       // assertEquals("state1", token.getNode().getName());
      
       // 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(processInstance);
       }
       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();
       }
       }
      }
      


      - The shell I am using to launch the class:
      #!/usr/bin/ksh
      # script di esecuzione
      
      PATH_START=/r5/jbpm/workspace/Initiator
      JBPM_CORE=/r5/jbpm/sdk/plugins/org.jbpm.core_3.0.8.1
      JBOSS_HOME=/r5/jbpm/server/jbpm-server
      JBPM_HOME=/r5/jbpm/server/jbpm
      ANT_HOME=/r5/jbpm/ant
      JAVA_HOME=/usr/bin
      
      LOG_DIR=/r5/jbpm/log
      
      cd $PATH_START
      
      CLASSPATH=$PATH_START/bin
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/ant/ant-1.6.2-stripped.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/clover/clover.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/commons/commons-beanutils-1.6.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/commons/commons-digester-1.5.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/commons/commons-fileupload-1.0.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/dom4j/dom4j-1.6.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/hibernate/ehcache-1.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/hibernate/hibernate3.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/hibernate/jaxen-1.1-beta-4.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/hibernate/jdbc2_0-stdext.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/hibernate/jta.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/commons-collections.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/commons-logging.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/jboss-common.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/antlr-2.7.5H3.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/asm-attrs.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/asm.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/bsh-1.3.0.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/cglib-2.1_2jboss.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/hsqldb.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/javax.servlet.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/javax.servlet.jsp.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/jboss-j2ee.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/jboss-jmx.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/jboss-system.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/jboss.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/log4j.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/xercesImpl.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/jboss/xml-apis.jar
      CLASSPATH=$CLASSPATH:$JBPM_CORE/lib/junit/junit-3.8.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_HOME/build/converter.jar
      CLASSPATH=$CLASSPATH:$JBPM_HOME/build/jbpm-3.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_HOME/build/jbpm-identity-src-3.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_HOME/build/jbpm-identity-3.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_HOME/build/jbpm-webapp-3.1.jar
      CLASSPATH=$CLASSPATH:$JBPM_HOME/build/jbpm.sar.cfg.jar
      CLASSPATH=$CLASSPATH:$JBPM_HOME/build/jbpm-src-3.1.jar
      CLASSPATH=$CLASSPATH:$JBOSS_HOME/server/jbpm/lib/ojdbc14.jar
      CLASSPATH=$CLASSPATH:$JBOSS_HOME/server/jbpm/lib/ocrs12.jar
      CLASSPATH=$CLASSPATH:$JAVA_HOME/jre/lib/rt.jar
      CLASSPATH=$CLASSPATH:$JAVA_HOME/src.zip
      
      export CLASSPATH
      
      #java -classpath $CLASSPATH com.sample.util.StartProcess > /dev/null 2> /dev/null &
      java -classpath $CLASSPATH com.sample.util.StartProcess > $LOG_DIR/initiator.log 2> $LOG_DIR/initiator.log &
      
      exit
      


      And finally, this is the error that I have exsecuting the main method of StartProcess class:
      Cannot open connection
      org.hibernate.exception.GenericJDBCException: Cannot open connection
       at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
       at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
       at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:318)
       at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:109)
       at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:137)
       at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
       at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1262)
       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
       at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:216)
       at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:427)
       at com.sample.util.StartProcess.init(StartProcess.java:31)
       at com.sample.util.StartProcess.main(StartProcess.java:67)
      Caused by: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093888)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
       at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3678)
       at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:352)
       at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:365)
       at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
       at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
       at java.sql.DriverManager.getConnection(DriverManager.java:512)
       at java.sql.DriverManager.getConnection(DriverManager.java:140)
       at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
       at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:315)
       ... 9 more
      rom resource: org/jbpm/db/hibernate.queries.hbm.xml
      17:59:08,561 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
      17:59:08,587 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
      17:59:08,622 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml
      17:59:08,684 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
      17:59:08,699 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml
      17:59:08,723 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
      17:59:08,727 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml
      17:59:08,747 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
      17:59:08,749 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Action.hbm.xml
      17:59:08,775 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
      17:59:08,780 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/SuperState.hbm.xml
      17:59:08,851 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
      17:59:08,852 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/ExceptionHandler.hbm.xml
      17:59:08,865 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
      17:59:08,868 [main] INFO Configuration : Reading mappings from resource: org/jbpm/instantiation/Delegation.hbm.xml
      17:59:08,924 [main] INFO HbmBinder : Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
      17:59:08,927 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/StartState.hbm.xml
      17:59:08,939 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
      17:59:08,939 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/EndState.hbm.xml
      17:59:08,955 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
      17:59:08,955 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/ProcessState.hbm.xml
      17:59:08,969 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
      17:59:08,972 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Decision.hbm.xml
      17:59:08,987 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
      17:59:08,991 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDITIONS
      17:59:08,992 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Fork.hbm.xml
      17:59:09,027 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
      17:59:09,032 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Join.hbm.xml
      17:59:09,050 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
      17:59:09,054 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/State.hbm.xml
      17:59:09,065 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
      17:59:09,065 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/TaskNode.hbm.xml
      17:59:09,082 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
      17:59:09,098 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/def/ContextDefinition.hbm.xml
      17:59:09,111 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/def/VariableAccess.hbm.xml
      17:59:09,127 [main] INFO HbmBinder : Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
      17:59:09,130 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml
      17:59:09,189 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/Swimlane.hbm.xml
      17:59:09,201 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
      17:59:09,207 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/Task.hbm.xml
      17:59:09,235 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
      17:59:09,242 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/TaskController.hbm.xml
      17:59:09,256 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
      17:59:09,260 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/def/ModuleDefinition.hbm.xml
      17:59:09,269 [main] INFO HbmBinder : Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
      17:59:09,270 [main] INFO Configuration : Reading mappings from resource: org/jbpm/bytes/ByteArray.hbm.xml
      17:59:09,293 [main] INFO HbmBinder : Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
      17:59:09,295 [main] INFO HbmBinder : Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
      17:59:09,296 [main] INFO Configuration : Reading mappings from resource: org/jbpm/file/def/FileDefinition.hbm.xml
      17:59:09,307 [main] INFO HbmBinder : Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
      17:59:09,308 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/def/CreateTimerAction.hbm.xml
      17:59:09,319 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
      17:59:09,325 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/def/CancelTimerAction.hbm.xml
      17:59:09,333 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
      17:59:09,337 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/Comment.hbm.xml
      17:59:09,347 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
      17:59:09,350 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml
      17:59:09,417 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
      17:59:09,426 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/Token.hbm.xml
      17:59:09,441 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
      17:59:09,453 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/RuntimeAction.hbm.xml
      17:59:09,469 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
      17:59:09,471 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/exe/ModuleInstance.hbm.xml
      17:59:09,483 [main] INFO HbmBinder : Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
      17:59:09,484 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/ContextInstance.hbm.xml
      17:59:09,495 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
      17:59:09,496 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/TokenVariableMap.hbm.xml
      17:59:09,508 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
      17:59:09,516 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/VariableInstance.hbm.xml
      17:59:09,525 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,533 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml
      17:59:09,542 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,542 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml
      17:59:09,552 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,553 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml
      17:59:09,563 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,564 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml
      17:59:09,572 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,573 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
      17:59:09,628 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,629 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml
      17:59:09,641 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,642 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml
      17:59:09,651 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.NullInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,653 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
      17:59:09,661 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE
      17:59:09,662 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/Message.hbm.xml
      17:59:09,672 [main] INFO HbmBinder : Mapping class: org.jbpm.msg.Message -> JBPM_MESSAGE
      17:59:09,674 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/db/TextMessage.hbm.xml
      17:59:09,684 [main] INFO HbmBinder : Mapping subclass: org.jbpm.msg.db.TextMessage -> JBPM_MESSAGE
      17:59:09,686 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/ExecuteActionCommand.hbm.xml
      17:59:09,694 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.ExecuteActionCommand -> JBPM_MESSAGE
      17:59:09,695 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/ExecuteNodeCommand.hbm.xml
      17:59:09,706 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.ExecuteNodeCommand -> JBPM_MESSAGE
      17:59:09,707 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/SignalCommand.hbm.xml
      17:59:09,718 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.SignalCommand -> JBPM_MESSAGE
      17:59:09,720 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/TaskInstanceEndCommand.hbm.xml
      17:59:09,728 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.TaskInstanceEndCommand -> JBPM_MESSAGE
      17:59:09,730 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml
      17:59:09,741 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.exe.TaskMgmtInstance -> JBPM_MODULEINSTANCE
      17:59:09,748 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
      17:59:09,761 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.TaskInstance -> JBPM_TASKINSTANCE
      17:59:09,821 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL
      17:59:09,822 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/PooledActor.hbm.xml
      17:59:09,831 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR
      17:59:09,835 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL
      17:59:09,835 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml
      17:59:09,845 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE
      17:59:09,846 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/exe/Timer.hbm.xml
      17:59:09,859 [main] INFO HbmBinder : Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER
      17:59:09,862 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/ProcessLog.hbm.xml
      17:59:09,875 [main] INFO HbmBinder : Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG
      17:59:09,877 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/MessageLog.hbm.xml
      17:59:09,888 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.log.MessageLog -> JBPM_LOG
      17:59:09,890 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/CompositeLog.hbm.xml
      17:59:09,899 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.log.CompositeLog -> JBPM_LOG
      17:59:09,899 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ActionLog.hbm.xml
      17:59:09,912 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ActionLog -> JBPM_LOG
      17:59:09,913 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/NodeLog.hbm.xml
      17:59:09,926 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.NodeLog -> JBPM_LOG
      17:59:09,927 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml
      17:59:09,936 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ProcessInstanceCreateLog -> JBPM_LOG
      17:59:09,938 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml
      17:59:09,946 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ProcessInstanceEndLog -> JBPM_LOG
      17:59:09,946 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/SignalLog.hbm.xml
      17:59:09,957 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.SignalLog -> JBPM_LOG
      17:59:09,957 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TokenCreateLog.hbm.xml
      17:59:09,966 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TokenCreateLog -> JBPM_LOG
      17:59:09,968 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TokenEndLog.hbm.xml
      17:59:09,976 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TokenEndLog -> JBPM_LOG
      17:59:09,977 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TransitionLog.hbm.xml
      17:59:10,036 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TransitionLog -> JBPM_LOG
      17:59:10,037 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableLog.hbm.xml
      17:59:10,047 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableLog -> JBPM_LOG
      17:59:10,048 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableCreateLog.hbm.xml
      17:59:10,056 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableCreateLog -> JBPM_LOG
      17:59:10,057 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableDeleteLog.hbm.xml
      17:59:10,067 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableDeleteLog -> JBPM_LOG
      17:59:10,068 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableUpdateLog.hbm.xml
      17:59:10,078 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableUpdateLog -> JBPM_LOG
      17:59:10,078 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml
      17:59:10,086 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.ByteArrayUpdateLog -> JBPM_LOG
      17:59:10,087 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml
      17:59:10,097 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.DateUpdateLog -> JBPM_LOG
      17:59:10,098 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml
      17:59:10,108 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.DoubleUpdateLog -> JBPM_LOG
      17:59:10,109 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml
      17:59:10,117 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.HibernateLongUpdateLog -> JBPM_LOG
      17:59:10,118 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml
      17:59:10,128 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog -> JBPM_LOG
      17:59:10,130 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml
      17:59:10,152 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.LongUpdateLog -> JBPM_LOG
      17:59:10,153 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
      17:59:10,168 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.StringUpdateLog -> JBPM_LOG
      17:59:10,234 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskLog.hbm.xml
      17:59:10,246 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskLog -> JBPM_LOG
      17:59:10,248 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml
      17:59:10,265 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskCreateLog -> JBPM_LOG
      17:59:10,267 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml
      17:59:10,281 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskAssignLog -> JBPM_LOG
      17:59:10,283 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml
      17:59:10,293 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskEndLog -> JBPM_LOG
      17:59:10,294 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
      17:59:10,304 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneLog -> JBPM_LOG
      17:59:10,305 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml
      17:59:10,316 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneCreateLog -> JBPM_LOG
      17:59:10,319 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml
      17:59:10,327 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneAssignLog -> JBPM_LOG
      17:59:10,330 [main] INFO Configuration : Configured SessionFactory: null
      17:59:10,332 [main] INFO Configuration : processing extends queue
      17:59:10,333 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.def.ContextDefinition -> JBPM_MODULEDEFINITION
      17:59:10,333 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.def.TaskMgmtDefinition -> JBPM_MODULEDEFINITION
      17:59:10,334 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.action.Script -> JBPM_ACTION
      17:59:10,340 [main] INFO Configuration : processing collection mappings
      17:59:10,341 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.User.memberships -> JBPM_ID_MEMBERSHIP
      17:59:10,342 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.children -> JBPM_ID_GROUP
      17:59:10,342 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.memberships -> JBPM_ID_MEMBERSHIP
      17:59:10,343 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.events -> JBPM_EVENT
      17:59:10,344 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      17:59:10,346 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.nodes -> JBPM_NODE
      17:59:10,347 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.actions -> JBPM_ACTION
      17:59:10,347 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.definitions -> JBPM_MODULEDEFINITION
      17:59:10,348 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.events -> JBPM_EVENT
      17:59:10,348 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      17:59:10,349 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.leavingTransitions -> JBPM_TRANSITION
      17:59:10,350 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.arrivingTransitions -> JBPM_TRANSITION
      17:59:10,351 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Transition.events -> JBPM_EVENT
      17:59:10,352 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Transition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      17:59:10,352 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Event.actions -> JBPM_ACTION
      17:59:10,353 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.SuperState.nodes -> JBPM_NODE
      17:59:10,353 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ExceptionHandler.actions -> JBPM_ACTION
      17:59:10,355 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.ProcessState.variableAccesses -> JBPM_VARIABLEACCESS
      17:59:10,358 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.TaskNode.tasks -> JBPM_TASK
      17:59:10,358 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Swimlane.tasks -> JBPM_TASK
      17:59:10,359 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Task.events -> JBPM_EVENT
      17:59:10,359 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Task.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
      17:59:10,360 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskController.variableAccesses -> JBPM_VARIABLEACCESS
      17:59:10,360 [main] INFO HbmBinder : Mapping collection: org.jbpm.file.def.FileDefinition.processFiles -> JBPM_BYTEARRAY
      17:59:10,361 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.ProcessInstance.runtimeActions -> JBPM_RUNTIMEACTION
      17:59:10,361 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.ProcessInstance.instances -> JBPM_MODULEINSTANCE
      17:59:10,362 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.Token.children -> JBPM_TOKEN
      17:59:10,362 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.Token.comments -> JBPM_COMMENT
      17:59:10,363 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.exe.ContextInstance.tokenVariableMaps -> JBPM_TOKENVARIABLEMAP
      17:59:10,364 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.exe.TokenVariableMap.variableInstances -> JBPM_VARIABLEINSTANCE
      17:59:10,365 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.swimlaneInstances -> JBPM_SWIMLANEINSTANCE
      17:59:10,365 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.taskInstances -> JBPM_TASKINSTANCE
      17:59:10,366 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE
      17:59:10,367 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT
      17:59:10,367 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR
      17:59:10,368 [main] INFO HbmBinder : Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG
      17:59:10,368 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
      17:59:10,369 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
      17:59:10,369 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS
      17:59:10,370 [main] INFO Configuration : processing association property references
      17:59:10,370 [main] INFO Configuration : processing foreign key constraints
      17:59:10,448 [main] INFO DriverManagerConnectionProvider : Using Hibernate built-in connection pool (not for production use!)
      17:59:10,451 [main] INFO DriverManagerConnectionProvider : Hibernate connection pool size: 20
      17:59:10,451 [main] INFO DriverManagerConnectionProvider : autocommit mode: false
      17:59:10,493 [main] INFO DriverManagerConnectionProvider : using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@db-ponte.pgol.com:1521:testbo;sql.enforce_strict_size=true
      17:59:10,494 [main] INFO DriverManagerConnectionProvider : connection properties: {user=jbpm, password=****}
      17:59:10,793 [main] WARN SettingsFactory : Could not obtain connection metadata
      java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093888)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
       at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3678)
       at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:352)
       at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:365)
       at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
       at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
       at java.sql.DriverManager.getConnection(DriverManager.java:512)
       at java.sql.DriverManager.getConnection(DriverManager.java:140)
       at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
       at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
       at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
       at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
       at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
       at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
       at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:216)
       at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:427)
       at com.sample.util.StartProcess.init(StartProcess.java:31)
       at com.sample.util.StartProcess.main(StartProcess.java:67)
      17:59:10,816 [main] INFO Dialect : Using dialect: org.hibernate.dialect.Oracle9Dialect
      17:59:10,828 [main] INFO TransactionFactoryFactory : Using default transaction strategy (direct JDBC transactions)
      17:59:10,830 [main] INFO TransactionManagerLookupFactory : No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
      17:59:10,831 [main] INFO SettingsFactory : Automatic flush during beforeCompletion(): disabled
      17:59:10,831 [main] INFO SettingsFactory : Automatic session close at end of transaction: disabled
      17:59:10,833 [main] INFO SettingsFactory : Scrollable result sets: disabled
      17:59:10,833 [main] INFO SettingsFactory : JDBC3 getGeneratedKeys(): disabled
      17:59:10,834 [main] INFO SettingsFactory : Connection release mode: auto
      17:59:10,835 [main] INFO SettingsFactory : Default batch fetch size: 1
      17:59:10,835 [main] INFO SettingsFactory : Generate SQL with comments: disabled
      17:59:10,836 [main] INFO SettingsFactory : Order SQL updates by primary key: disabled
      17:59:10,838 [main] INFO SettingsFactory : Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      17:59:10,842 [main] INFO ASTQueryTranslatorFactory : Using ASTQueryTranslatorFactory
      17:59:10,842 [main] INFO SettingsFactory : Query language substitutions: {}
      17:59:10,843 [main] INFO SettingsFactory : Second-level cache: enabled
      17:59:10,843 [main] INFO SettingsFactory : Query cache: disabled
      17:59:10,843 [main] INFO SettingsFactory : Cache provider: org.hibernate.cache.EhCacheProvider
      17:59:10,847 [main] INFO SettingsFactory : Optimize cache for minimal puts: disabled
      17:59:10,848 [main] INFO SettingsFactory : Structured second-level cache entries: disabled
      17:59:10,854 [main] INFO SettingsFactory : Statistics: disabled
      17:59:10,856 [main] INFO SettingsFactory : Deleted entity synthetic identifier rollback: disabled
      17:59:10,856 [main] INFO SettingsFactory : Default entity-mode: pojo
      17:59:10,901 [main] INFO SessionFactoryImpl : building session factory
      17:59:11,261 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
      17:59:11,339 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
      17:59:11,603 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
      17:59:11,801 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
      17:59:11,883 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
      17:59:11,891 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
      17:59:12,224 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
      17:59:12,402 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
      17:59:12,578 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
      17:59:12,720 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
      17:59:12,942 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
      17:59:12,976 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults.
      17:59:12,980 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults.
      17:59:12,980 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
      17:59:12,986 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
      17:59:12,987 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
      17:59:12,988 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults.
      17:59:12,988 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using defaults.
      17:59:12,989 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults.
      17:59:12,990 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.
      17:59:12,992 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.
      17:59:12,993 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults.
      17:59:12,996 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.
      17:59:12,997 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.
      17:59:12,997 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.
      17:59:12,998 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaults.
      17:59:13,000 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.
      17:59:13,001 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.
      17:59:13,002 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.
      17:59:13,003 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defaults.
      17:59:13,003 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.
      17:59:13,004 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults.
      17:59:13,007 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.
      17:59:13,008 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.
      17:59:13,009 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.
      17:59:13,010 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.
      17:59:13,370 [main] INFO SessionFactoryObjectFactory : Not binding factory to JNDI, no JNDI name configured
      17:59:13,374 [main] INFO SessionFactoryImpl : Checking 25 named HQL queries
      17:59:13,805 [main] INFO SessionFactoryImpl : Checking 0 named SQL queries
      17:59:13,807 [main] DEBUG DbPersistenceService : creating hibernate session
      17:59:13,861 [main] DEBUG DbPersistenceService : beginning hibernate transaction
      17:59:13,909 [main] WARN JDBCExceptionReporter : SQL Error: 17002, SQLState: null
      17:59:13,910 [main] ERROR JDBCExceptionReporter : Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093888)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
      17:59:13,911 [main] DEBUG JbpmContext : closing JbpmContext
      17:59:13,911 [main] DEBUG Services : closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@12cd19d
      17:59:13,911 [main] DEBUG DbPersistenceService : flushing hibernate session
      17:59:13,912 [main] DEBUG DbPersistenceService : closing hibernate session
      



      I'm working on a linux server and the database is Oracle9i.
      I have put everywhere all jdbc drivers (ocrs12.jar and ojdbc14.jar).

      Thank you very much in advance...

      bye,
      Fidalma