Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7801

MvelUserGroupCallbackImpl is now used in production as default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • 7.1.0.Final, 7.11.0.Final
    • Runtime Engine
    • None
    • NEW
    • NEW
    • Hide

      During startup, see logfile:

      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-compiler-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
      
      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
      
      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-core-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
      
      2018-09-21 14:18:02,928 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
      
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.core.concurrent.ExecutorProviderImpl
      
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-decisiontables-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.decisiontable.DecisionTableProviderImpl
      
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-persistence-jpa-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.persistence.jpa.KnowledgeStoreServiceImpl
      
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.persistence.correlation.JPACorrelationKeyFactory
      
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:02,944 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-bpmn2-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.bpmn2.BPMN2ProcessProviderImpl
      
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.bpmn2.xml.XmlProcessDumperFactoryServiceImpl
      
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-flow-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.marshalling.impl.ProcessMarshallerFactoryServiceImpl
      
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl
      
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-flow-builder-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl
      
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:03,131 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-human-task-jpa-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.services.task.persistence.TaskModelProviderImpl
      
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/kie-ci-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.scanner.KieScannerFactoryServiceImpl
      
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.scanner.MavenClassLoaderResolver
      
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from  
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/kie-internal-7.5.0.Final.jar/META-INF/kie.conf 
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieWeaversImpl
      
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieBeliefsImpl
      
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieAssemblersImpl
      
      2018-09-21 14:18:03,147 INFO  [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieRuntimesImpl
      
      2018-09-21 14:18:03,349 INFO  [org.drools.persistence.api.TransactionManagerFactory] (ServerService Thread Pool -- 24) Using org.drools.persistence.jta.JtaTransactionManagerFactory@fd73d8c
      
      Show
      During startup, see logfile: 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-compiler-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-core-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl 2018-09-21 14:18:02,928 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.core.concurrent.ExecutorProviderImpl 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-decisiontables-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.decisiontable.DecisionTableProviderImpl 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/drools-persistence-jpa-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.drools.persistence.jpa.KnowledgeStoreServiceImpl 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.persistence.correlation.JPACorrelationKeyFactory 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:02,944 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-bpmn2-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.bpmn2.BPMN2ProcessProviderImpl 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.bpmn2.xml.XmlProcessDumperFactoryServiceImpl 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-flow-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.marshalling.impl.ProcessMarshallerFactoryServiceImpl 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-flow-builder-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:03,131 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/jbpm-human-task-jpa-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.jbpm.services.task.persistence.TaskModelProviderImpl 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/kie-ci-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.scanner.KieScannerFactoryServiceImpl 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.scanner.MavenClassLoaderResolver 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Loading kie.conf from 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Discovered kie.conf url=vfs:<...>/WEB-INF/lib/kie-internal-7.5.0.Final.jar/META-INF/kie.conf 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieWeaversImpl 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieBeliefsImpl 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieAssemblersImpl 2018-09-21 14:18:03,147 INFO [org.kie.api.internal.utils.ServiceDiscoveryImpl] (ServerService Thread Pool -- 24) Adding Service org.kie.internal.services.KieRuntimesImpl 2018-09-21 14:18:03,349 INFO [org.drools.persistence.api.TransactionManagerFactory] (ServerService Thread Pool -- 24) Using org.drools.persistence.jta.JtaTransactionManagerFactory@fd73d8c

      In RuntimeDataServiceImpl (https://github.com/kiegroup/jbpm/pull/871/files or JBPM-6068) following static initialization was added:

      private UserGroupCallback userGroupCallback = UserDataServiceProvider.getUserGroupCallback();
      

      This leads to default-initialization of MvelUserGroupCallbackImpl, which is supposed to be used only in test-context (see Comment #1 in https://bugzilla.redhat.com/show_bug.cgi?id=1316974#c1).

      Further implications is the run of automatic service-discovery by scanning provided kie.conf-files of jbpm-libraries (see Steps to Reproduce).

              swiderski.maciej Maciej Swiderski (Inactive)
              DanBu Daniel Buchheim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: