Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1032

WebSphere JMS on Kie server produces errors in log

    XMLWordPrintable

Details

    • Hide

      Run Kie server integration tests with WebSphere profile as listed in https://github.com/droolsjbpm/droolsjbpm-integration/pull/265

      Error is showed in SystemOut.log (/kie-server-parent/kie-server-tests/kie-server-integ-tests-common/target/cargo/configurations/websphere85x/logs/cargoServer/SystemOut.log). Can be simulated in any test which use JMS.

      Show
      Run Kie server integration tests with WebSphere profile as listed in https://github.com/droolsjbpm/droolsjbpm-integration/pull/265 Error is showed in SystemOut.log (/kie-server-parent/kie-server-tests/kie-server-integ-tests-common/target/cargo/configurations/websphere85x/logs/cargoServer/SystemOut.log). Can be simulated in any test which use JMS.
    • NEW
    • NEW

    Description

      When I run WebSphere JMS tests for Kie server then SystemOut log gets filled by exception listed in attachment.
      It doesn't cause any error in Kie server functionality as error is created by WebSphereSecurityAdapter while JMS use JMSSecurityAdapter to get needed info, it just spam log making it almost unusable for searching for any real issue logged there.

      Caused by https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-server-parent/kie-server-services/kie-server-services-common/src/main/java/org/kie/server/services/impl/security/adapters/WebSphereSecurityAdapter.java#L81

      Maybe would be good to reduce log level there to be able to filter out this error.

      Edit: After deeper analysis has been revealed that this error actually signals failure in authentication on WebSphere when using JMS. Tests passed because users and their roles has beech cached when running REST tests and for JMS there has been used values from cache.
      If user would use just JMS for Kie server then he wouldn't be able to use any functionality based on user authentication and its roles like claiming task.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            ksuta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: