Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-667

Storage and notification services are not picked by standalone controller

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.GA
    • 7.0.0.GA
    • Kie-Server
    • None
    • WebLogic12.2

    • ER2
    • ER3
    • Hide

      Run WebSocketKieControllerNotificationIntegrationTest against WebLogic12.2.

      Show
      Run WebSocketKieControllerNotificationIntegrationTest against WebLogic12.2.

    Description

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

      [INFO] [talledLocalContainer] <Apr 4, 2018 10:47:53,261 AM CEST> <Notice> <StdErr> <BEA-000000> <Apr 04, 2018 10:47:53 AM org.kie.server.controller.service.StandaloneKieServerControllerImpl <init>
      [INFO] [talledLocalContainer] WARNING: No server template storage defined. Default storage: InMemoryKieServerTemplateStorage will be used> 
      [INFO] [talledLocalContainer] <Apr 4, 2018 10:47:53,263 AM CEST> <Notice> <StdErr> <BEA-000000> <Apr 04, 2018 10:47:53 AM org.kie.server.controller.service.StandaloneKieServerControllerImpl <init>
      [INFO] [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.

      Attachments

        Issue Links

          Activity

            People

              ksuta Karel Suta
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: