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

KIE Workbench deployment on Tomcat fails when already droolsEngine jars are in tomcat/lib folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.6.0.Final
    • integration
    • None
    • NEW
    • NEW

      Hi,

      We have deployed the drools engine and KIE workbench on Tomcat container.

      droolsEngine - All the jars from "drools-distribution-7.6.0.Final" are copied into the <tomcat_home>/lib folder
      KIE Workbench - kie-drools-wb-7.6.0.Final-tomcat8.war deployment on <tomcat_home>/webapps folder.

      Now the issue is, we are getting the below error, so that KIE Workbench is not deploying on tomcat.

      Caused by: java.lang.ClassCastException: org.drools.beliefs.bayes.assembler.BayesAssemblerService cannot be cast to org.kie.api.internal.assembler.KieAssemblerService

      If we exculde drools-beliefs-7.6.0.Final.jar jar from <tomcat_home>/lib folder then the KIE workbench is deployed successfully.

      But, both the deployments of drools 7.4.1 is succeeded without excluding drools-beliefs-7.4.1.Final.jar.

      Can any one help me in this issue..
      Is there any restriction to deploy both on a single container (tomcat).

      Thanks
      Senthil

              mfusco@redhat.com Mario Fusco
              senlog80 Senthil Kumar Kamaraj (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: