kie workbench deploy war not working (tomcat)

后端 未结 2 1523
暖寄归人
暖寄归人 2021-01-13 22:53

I have downloaded the kie workbench and extracted kie-drools-wb-distribution-wars-6.2.0.Final-tomcat7.war. I\'ve never used tomcat before, but I wanted to use t

相关标签:
2条回答
  • 2021-01-13 23:16

    After your .war file gets exploded by tomcat you wil need to cd into /kie-drools-wb-distribution-wars-6.2.0.Final-tomcat7 directory. There is a README.txt file in there which provides further installation notes:

    1. Install bitronix transaction manager into your tomcat

    2. Create configuration files inside TOMCAT_HOME/conf

      • btm-config.properties
    3. Define system properties for btm.root, bitronix config file, JBoss logging provider and others.

    4. Configure JEE security for kie-wb on tomcat (with default realm backed by tomcat-users.xml)

    (list elements were copy pasted from README.txt) Follow the instructions in there and it should work. I think the error you are getting is related with step 1 and bitronix transaction manager.

    hope that helps

    0 讨论(0)
  • 2021-01-13 23:19

    I did a quick fix that solved this:

    1. Remove kie-server WAR file from tomcat webapps directory, so that it won't undo the next step.
    2. Delete the problem file webapps/kie-server-6.3.0.CR2-ee7/WEB-INF/lib/slf4j-api-1.7.2.jar

    I did also the following which might be needed:

    1. I replaced latest slf4j jar files from /opt/apache-tomcat-8.0.26/lib directory with version 1.7.2 files. Perhaps Drools trusts in that it should work with latest version as well since they don't ship the files needed for deployment with the WAR files, but ask everyone to fetch latest files. So this step might not be necessary.
    0 讨论(0)
提交回复
热议问题