Kie-Drools Workbench部署错误

时间:2017-07-18 07:14:07

标签: tomcat drools kie drools-kie-workbench

  1. 我使用过 Wildify10 & kie-drools-wb-7.0.0.Final-wildfly10.war& kie-server-7.0.0.Final-ee7.war部署和使用KIE Workbench for Drools。 当我开始狂​​野时,它无法部署kie-drools-wb-7.0.0&纪伊 - 服务器7.0.0。它提示"服务无法启动" ...
  2. 命令行异常

      

    服务   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-wildfly10.war" .CO   mponent" org.uberfire.ext.security.server.CacheHeadersFilter"。开始   (缺失)de pendents:[服务   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-wildfly10.wa   R" .deploymentCompleteService]         service jboss.deployment.unit。" kie-drools-wb-7.0.0.Final-wildfly10.war" .co   mponent" org.uberfire.ext.security.server.LoginRedirectServlet"。开始   (失踪)受抚养人:[服务   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-wildfly10。   战争" .deploymentCompleteService]         service jboss.deployment.unit。" kie-drools-wb-7.0.0.Final-wildfly10.war" .co   mponent" org.uberfire.ext.security.server.SecureHeadersFilter"。开始   (失踪)家属:[服务   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-wildfly10.w   AR" .deploymentCompleteService]         service jboss.deployment.unit。" kie-drools-wb-7.0.0.Final-wildfly10.war" .co   mponent" org.uberfire.ext.security.server.SecurityIntegrationFilter"。开始   (想念)家属:[服务   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-其它效果灯   ly10.war" .deploymentCompleteService]         service jboss.deployment.unit。" kie-drools-wb-7.0.0.Final-wildfly10.war" .co   mponent。" org.uberfire.server.FileDownloadServlet" .START(缺失)   家属:[s ervice   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-wildfly10.war" .deploymen   tCompleteService]         service jboss.deployment.unit。" kie-drools-wb-7.0.0.Final-wildfly10.war" .co   mponent。" org.uberfire.server.FileUploadServlet" .START(缺失)   家属:[服务员   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-wildfly10.war" .deploymentC   ompleteService]         service jboss.deployment.unit。" kie-drools-wb-7.0.0.Final-wildfly10.war" .co   mponent" org.uberfire.server.locale.GWTLocaleHeaderFilter"。开始   (缺失)依赖项:[服务   jboss.deployment.unit"纪伊-滴料-WB-7.0.0.Final-wildfly10.war&#34 ;.   deploymentCompleteService]         service jboss.undertow.deployment.default-server.default-host。" / kie-drools   -wb-7.0.0.Final-wildfly10" (失踪)家属:[服务jboss.deployment.unit。   "纪伊-滴料-WB-7.0.0.Final-wildfly10.war" .deploymentCompleteService]   WFLYCTL0186:无法启动的服务:服务   jboss.deployment.uni t。" kie-server-7.0.0.Final-ee7.war" .PARSE         service jboss.undertow.deployment.default-server.default-host。" / kie-drools   -wb-7.0.0.Final-wildfly10"

    如果任何人遇到过这个问题,请帮我解决这个问题。

    1. 我还尝试使用 Tomcat 部署kie-drools-workbench。现在部署了工作台,但它未在浏览器中启动。我无法在浏览器中打开kie工作台。
    2. 请帮助我使用上述任一方法成功部署和运行/访问kie-drools-workbench。

2 个答案:

答案 0 :(得分:0)

您能提供详细的配置信息吗?

您可以查看这些步骤

安装WildFly,Drools和Workbench:

1) Add WildFly bin folder to the Path enviroment variable
2) Add the admin user
3) Follow this guide: https://www.youtube.com/watch?v=8HUFaL--SwI
    First create and admin user
        1- in command type add-user
        2- press (a)
        3- type the user name
        4- type the password
        5- y y and for the last question say no
4) Now to WildFly/bin and open standalone.conf.bat and paste these following lines at the end of the file
    set SERVER_CONFIG=--server-config=standalone-full.xml
    set KIE_SERVER_USER=-Dorg.kie.server.user=kieserver
    set KIE_SERVER_PWD=-Dorg.kie.server.pwd=kieserver
    set KIE_CONTROLLER_USER=-Dorg.kie.server.controller.user=kieserver
    set KIE_CONTROLLER_PWD=-Dorg.kie.server.controller.pwd=kieserver
    set KIE_CONTROLLER_URL=http://localhost:8080/kie-drools-wb-6.5.0.Final-wildfly10/rest/controller
    set KIE_SERVER_URL=http://localhost:8080/kie-server-6.5.0.Final-ee7/services/rest/server
    set KIE_SERVER=-Dorg.kie.server.location=%KIE_SERVER_URL%
    set KIE_CONTROLLER=-Dorg.kie.server.controller=%KIE_CONTROLLER_URL%
    set KIE_SERVER_ID=-Dorg.kie.server.id=wildfly-kieserver
    set SERVER_OPTS=%SERVER_CONFIG% %KIE_SERVER_USER% %KIE_SERVER_PWD% %KIE_CONTROLLER_USER% %KIE_CONTROLLER_PWD% %KIE_SERVER% %KIE_CONTROLLER% %KIE_SERVER_ID%
5) Modify the JVM memory on the same file. For example: set "JAVA_OPTS=-Xms128M -Xmx1024M -XX:MetaspaceSize=196

答案 1 :(得分:0)

使用stanalonefull.xml而不是standalone.xml。