0 Replies Latest reply on Dec 1, 2005 4:25 AM by Francesco Russo

    Running the Ant oracle.test target

    Francesco Russo Newbie

      Hi everybody,
      I'm a newbie here and I'm having my first experiences with JBoss JBPM 3.0.2.
      After having made up a little JBPM-based proj. which used hypersonic DB I'm now trying to integrate into it an Oracle DBMS.
      I followed the installation/configuration steps pointed out in the jbpm-db docs, and I'm now finally running the test ant target to check whether my setup is fully working or still leaks something.
      Well, the execution of the oracle.test target produces 2 failures.
      The weird thing is that looking at the output produced on the console by the the Ant script I cannot find neither stack traces nor error messages better explaining me what is actually going on.
      So I was wondering whether there was someone able to help on this forum.

      For sake of clarity I obviously attach the messages I can see from the html report produced by the script:

      Failure 1:

      org.jbpm.graph.exe.RuntimeActionDbTest
      
      expected same:<process-start> was not:<process-start>
       junit.framework.AssertionFailedError: expected same:<process-start> was not:<process-start> at org.jbpm.graph.exe.RuntimeActionDbTest.testRuntimeActionEvent(RuntimeActionDbTest.java:38
      
      


      Failure 2:
      org.jbpm.taskmgmt.exe.TaskTimerExecutionDbTest
      
      expected:<1133427764521> but was:<1133427765521>
       junit.framework.AssertionFailedError: expected:<1133427764521> but was:<1133427765521> at org.jbpm.taskmgmt.exe.TaskTimerExecutionDbTest.testTimerExecutionRepeat(TaskTimerExecutionDbTest.java:176)
       [color]
      


      Notes: i'currently using JSE 5 (1.5.0_05) and Oracle DBMS 10.2.1 with ojdbc14_g.jar as my JDBC driver.

      My hibernate.properties file is as follows:

      hibernate.dialect=org.hibernate.dialect.Oracle9Dialect
      # for Oracle 8 compatibility use
      #hibernate.dialect=org.hibernate.dialect.OracleDialect
      
      hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
      #hibernate.connection.url=jdbc:oracle:thin:@<host>:<port>:<SID>
      hibernate.connection.url=jdbc:oracle:thin:@dhcp7-52.cineca.it:1521:jbpmtest
      hibernate.connection.username=jbpmuser
      hibernate.connection.password=jbpmuser
      
      hibernate.show_sql=true
      hibernate.c3p0.min_size=1
      hibernate.c3p0.max_size=3
      
      hibernate.query.substitutions=true 1, false 0