4 Replies Latest reply on Aug 3, 2007 5:11 AM by kukeltje

    JBPM_LOG issue

    prassib

      I wrote a test program that runs against an in-memory database. I can successfully create a LoggingInstance by calling the method getLoggingInstance on the ProcessInstance. I can catch hold of the NodeLogs from the LoggingInstance & get the Node_Enter & Node_leave times.

      when we run similar code inside my application against my production database(DB2), my NodeLogs List size is always 0. I checked the database, there are no records in the JBPM_LOG table. Other tables like JBPM_PROCESSINSTANCE, JBPM_TOKEN, JBPM_TRANSITION show all the appropriate records but the JBPM_LOG table is always empty.

      Could anyone throw some light, why this could be happening?

        • 1. Re: JBPM_LOG issue
          thilker

          Exactly the same happends to me.
          Is there a solution?

          Regards,
          Thorsten

          • 2. Re: JBPM_LOG issue
            johan.parent

            It is a long shot but do you have a logging service in your jbpm.cfg.xml if not then nothing gets written in the JBPM_LOG (example below).

            Regards,

            Johan


            <jbpm-context>
             <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" />
             <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
             <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
             <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
             <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
             </jbpm-context>


            • 3. Re: JBPM_LOG issue
              shalabh_arora

              Any luck on this? I have entry, as mentioned by you, in my jbpm.cfg.xml. Still not seeing anything in log.

              • 4. Re: JBPM_LOG issue
                kukeltje

                is your config file being used? try to deliberately corrupt it to check