Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-372

Storage and notification services are not picked by standalone controller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.1.GA
    • 7.0.0.GA
    • Kie-Server
    • None
    • Tomcat 8

    • 2018 Week 13-14

      Standalone controller on Tomcat doesn't use custom storage and notification services if they are defined. Logs show just:

      [INFO] [talledLocalContainer] Jan 15, 2018 11:04:18 AM org.kie.server.controller.service.StandaloneKieServerControllerImpl <init>
      [WARNING] [talledLocalContainer] WARNING: No server template storage defined. Default storage: InMemoryKieServerTemplateStorage will be used
      [INFO] [talledLocalContainer] Jan 15, 2018 11:04:18 AM org.kie.server.controller.service.StandaloneKieServerControllerImpl <init>
      [WARNING] [talledLocalContainer] WARNING: Notification service not defined. Default notification: LoggingNotificationService will be used
      

      even when FileBasedServerTemplateStorageService is defined as PersistingServerTemplateStorageService.

      The issue seems to be caused by wrongly placed META-INF folder with service definitions in war file. They are currently placed in META-INF/services folder in war root. They should be moved to WEB-INF/classes/META-INF/services.

            cnicolai@redhat.com Cristiano Nicolai
            ksuta Karel Suta
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: