Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • BRMS standalone - NODEINSTANCELOG not updated

    Posted on

    Hi I'm using BRMS standalone 5.3.1

    I'm managing JBPM processes from a custom EJB.

    I successfully managed to start processes and signal them from my EJB.
    Processes correctly executes and update tables PROCESSINSTANCEINFO and PROCESSINSTANCELOG get updated.

    But NODEINSTANCELOG table does not get updated.

    Here is my code:

    EntityManagerFactory emf =  
    Persistence.createEntityManagerFactory( "org.jbpm.persistence.jpa.local" );  
    Environment env = KnowledgeBaseFactory. newEnvironment();  
    env.set( EnvironmentName.GLOBALS, new MapGlobalResolver());  
    env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf );  
    env.set( EnvironmentName.TRANSACTION_MANAGER,  
    TransactionManagerServices.getTransactionManager() );  
    Properties sessionconfigproperties = new Properties();  
    sessionconfigproperties.put("drools.processInstanceManagerFactory", "org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory");  
    sessionconfigproperties.put("drools.processSignalManagerFactory", "org.jbpm.persistence.processinstance.JPASignalManagerFactory");  
    KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(sessionconfigproperties);  
    ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, config, env );  
    ProcessInstance pInstance = ksession.getProcessInstance(instId);
    pInstance.signalEvent("wake_up_event", message);
    

    Here is my persistence-unit

        
        org.hibernate.ejb.HibernatePersistence  
        java:/OracleDS        
        META-INF/JBPMorm.xml  
        META-INF/ProcessInstanceInfo.hbm.xml  
        META-INF/ExtraIndexes.hbm.xml  
        org.jbpm.persistence.processinstance.ProcessInstanceInfo  
        org.drools.persistence.info.SessionInfo  
        org.drools.persistence.info.WorkItemInfo  
        org.jbpm.process.audit.ProcessInstanceLog  
         org.jbpm.process.audit.NodeInstanceLog  
         
          
                     
      
            
            
             
            
                 
        
    

    and this is my Datasource:

      
          
            OracleDS  
            true  
            0  
            20  
            30000  
            30  
            false  
            0  
            true  
            false  
            0  
            5000  
              
              
                Oracle9i  
              
            Oracle9i  
              
            brms_standalone  
            brms_standalone  
            SELECT * FROM DUAL  
            org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter  
            0  
            false  
            false  
            0  
            60000  
            oracle.jdbc.driver.OracleDriver  
            jdbc:oracle:thin:@host:1521:orcl  
          
      
    

    Can you please help?.
    Regards

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat