1
  1. 我使用Wildify10 & kie-drools-wb-7.0.0.Final-wildfly10.war & kie-server-7.0.0.Final-ee7.war 来部署和使用 Drools 的 KIE Workbench。当我启动 wildify 时,它无法同时部署 kie-drools-wb-7.0.0 和 kie-server-7.0.0。提示“服务启动失败”...

命令行异常

START(缺少)家属:[服务 jboss.deployment.unit."kie-drools-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".START(缺失)依赖:[service jboss.deployment.unit."kie-drools-wb-7.0. 0.Final-wildfly10.war”。deploymentCompleteService] 服务 jboss.undertow.deployment.default-server.default-host."/kie-drools -wb-7.0.0.Final-wildfly10"(缺少)依赖:[服务 jboss.deployment.unit。“kie-drools-wb-7.0.0.Final-wildfly10.war”.deploymentCompleteService] WFLYCTL0186:服务启动失败:service jboss.deployment.uni t.“kie-server-7.0.0.Final-ee7.war ”。

如果有人遇到过,请帮助我解决此问题。

  1. 我还尝试使用Tomcat部署 kie-drools-workbench 。现在工作台已部署,但未在浏览器中启动。我无法在浏览器中打开 kie 工作台。

请帮助我使用上述任一方法成功部署和运行/访问 kie-drools-workbench。

4

2 回答 2

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
于 2017-07-26T16:42:29.983 回答
0

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

于 2017-07-28T02:52:32.860 回答