Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-1012

Error in the ode log under hibernate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3.5, 1.3.6
    • 1.4
    • Deployment
    • None
    • - Windows 7
      - Apache ODE 1.3.6
      - Microsoft® SQL Server® 2008 R2 SP2 - Express Edition

    Description

      There is still the problem in ode under hibernate which was mentioned in:
      http://apache-ode.996305.n3.nabble.com/problem-with-ode-under-hibernate-td16241.html#none

      Steps to reproduce:
      1) setup ODE under hibernate and point it to external sql server DB(ode-axis2.properties and ODE schema creation script are attached);
      2) deploy HelloWorld2 (copy to ode\WEB-INF\processes with name HelloWorld2-1 or deploy it by web UI);
      3) redeploy HelloWorld2 (copy to ode\WEB-INF\processes with name HelloWorld2-2 or deploy it by web UI);

      Expected: no errors in the log.
      Actual: following error in the log:
      [2013-12-22 21:12:55,010] [ERROR] [org.apache.ode.bpel.engine.BpelEngineImpl] - Scheduled job failed; jobDetail=JobDetails( instanceId: null mexId: null processId: null type: null channel: nul
      l correlatorId: null correlationKeySet: null retryCount: null inMem: null detailsExt:

      {runnable=org.apache.ode.bpel.engine.ProcessCleanUpRunnable@615c1ae3, pid=1}

      )
      java.lang.IllegalArgumentException: id to load is required for loading
      at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:51)
      at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:33)
      at org.hibernate.impl.SessionImpl.get(SessionImpl.java:812)
      at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
      at org.apache.ode.daohib.bpel.BpelDAOConnectionImpl._getInstance(BpelDAOConnectionImpl.java:201)
      at org.apache.ode.daohib.bpel.BpelDAOConnectionImpl.getInstance(BpelDAOConnectionImpl.java:145)
      at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:416)
      at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:450)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:523)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:517)
      at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:289)
      at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:244)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:517)
      at org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:501)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      Seems that the error appears when process becomes RETIRED.
      I also attached ODE.log

      Attachments

        1. ODE_with_Bitronix_tx.log
          25 kB
          Igor Vorobiov
        2. ODE.log
          16 kB
          Igor Vorobiov
        3. ode-axis2.properties
          0.3 kB
          Igor Vorobiov
        4. ODESchema.sql
          7 kB
          Igor Vorobiov

        Activity

          People

            sathwik Sathwik
            ivorobiov Igor Vorobiov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: