kie workbench deploy war not working (tomcat)

谁说胖子不能爱 提交于 2019-12-01 06:57:39

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

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.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!