Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3982

DDL scripts for BPEL does not work correctly on EAP

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: jboss-fuse-6.2.1
    • Component/s: Fuse EAP
    • Labels:
      None

      Description

      DDL scripts for BPEL does not work correctly on EAP. I used scripts located in $EAP_HOME/sql/riftsaw-dao-jpa-hibernate. I found out that when database is not manually initialised then Riftsaw will initialise it itself with scripts located in engine-3.2.2.Final-redhat-1.jar (Fuse 6.2.1 ER2).

      MySQL

      • Our provided script: FAILED => SQL procedure "execute_if_not_exists" is not defined.
      • Riftsaw script: OK

      PostreSQL

      • Our provided script: FAILED => SQL procedure "execute_if_not_exists" is not defined.
      • Riftsaw script: OK

      DB2

      Oracle

      SQLServer2008

      • Our provided script: OK
        • Integration tests are failing. Some of errors in log.
          • SQL Error: 1033, SQLState: S0001
          • Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.

          • Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'dual'.

      • Riftsaw script: OK
        • Integration tests are failing. Some of errors in log.
          • 09:33:56,441 ERROR [org.riftsaw.engine.internal.BPELEngineImpl] (http-localhost/127.0.0.1:8080-1) Timeout or execution error when waiting for response to MEX {MyRoleMex#hqejbhcnphraldogql3l7s [Client hqejbhcnphraldogql3l7r] calling {urn:org.jboss.soa.integration:bpel-error-handler-test:1.0}TestProcessPortType.process(...)} java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@240ad273 timed out(120000 ms) when waiting for a response!: java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@240ad273 timed out(120000 ms) when waiting for a response!

          • Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

      H2 external server

      • Our provided script: FAILED => SQL procedure "execute_if_not_exists" is not defined.
        • Integration tests are failing.
          • 10:16:56,886 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ODEServer-1) Table "BPAF_EVENT" not found; SQL statement:
            insert into BPAF_EVENT (EID, ACTIVITY_DEFINITION_ID, ACTIVITY_INSTANCE_ID, ACTIVITY_NAME, CURRENT_STATE, PREVIOUS_STATE, PROCESS_DEFINITION_ID, PROCESS_INSTANCE_ID, PROCESS_NAME, SERVER_ID, TIMESTAMP) values (null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [42102-188]
            

      • Riftsaw script: OK

      I think that provided scripts should be the same as scripts contained in engine-3.2.2.Final-redhat-1.jar.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tcunning Tom Cunningham
                Reporter:
                mbasovni Martin Basovnik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: