Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6753

Investigate and propose solution in arch meeting for MGNLWORKFLOW-332

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None
    • Basel 58
    • 5

      Outcome of the investigation is that org.kie.internal.persistence.jcr#buildCommandService(Long, KieBase, KieSessionConfiguration, Environment) method is trying to fetch a proper class and constructor of it. However, org.drools.persistenceSimpleSessionCommandService which is a basic session command service) has a constructor version of Long.class for sessionId. The is a problem is we try to fetch in org.kie.internal.persistence.jcr#buildCommandService(Long, KieBase, KieSessionConfiguration, Environment) method to get a constructor for Integer.class and therefore simply hitting to the exception of java.lang.NoSuchMethodException. Simply changing Integer.class to Long.class would work for the particular issue since there will be no exception and thus session will be found in the persistence layer.

        Acceptance criteria

              ilgun Ilgun Ilgun
              mmuehlebach Michael Mühlebach
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d
                    1d