问题标签 [kie-wb]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
drools-guvnor - 使用 wildFly11 部署 Drools 工作台 7.7.0.Final 时出错
我已经下载了与 wildFly-11 兼容的最新版本的 kie-workbench 7.7.0。将 kie-workbench-7.7.0.war 保存到 wildFly 11 的部署文件夹中。使用以下命令从 bin 文件夹开始,standalone.bat --server-config=standalone-full.xml。然后我得到以下问题。谁能说我在这里做错了什么?如果我将旧版本的 kie-workbench 6.5.0 与 wildFly10 一起使用,它工作正常。我在 Windows10 操作系统中执行此操作。提前致谢。
drools - 作为 Maven 构建的一部分的 KIE Workbench 测试场景
在我当前的项目中,我们需要运行在 Workbench 中创建的测试场景,作为 Maven 构建的一部分。最终目标是将这些功能测试包含在持续集成过程中。
我们花了几天时间试图弄清楚。我们在文件夹中打开了一个由 Workbench 创建的项目,.niogit
并试图运行一个 Maven 目标。
但似乎 maven 目标喜欢mvn clean install
或mvn clean verify
根本mvn clean test
不运行具有.scenario
类型的测试场景。
你对此有什么想法吗?
optaplanner - Can't enable kie-drools-wb-7.10.0.war in wildfly 11 after deployment
I went through the installation guide on https://docs.optaplanner.org/7.10.0.Final/optaplanner-wb-es-docs/html_single/#_planner.quickstart and on https://docs.optaplanner.org/latest/optaplanner-wb-es-docs/html_single/#_wildfly_11_x and did the steps desciped there but I can't enable the kie-wb deployment. I tried to install the kie-wb by copying it in the /standalone/deployments and by adding the kie-wb.war from the wildfly deployments GUI.
I start wildfly with
./bin/standalone.sh --server-config=standalone-full.xml -Dorg.kie.server.user=planner -Dorg.kie.server.pwd=Planner123_ -Dorg.kie.server.controller.user=planner -Dorg.kie.server.controller.pwd=Planner123_ -Dorg.kie.server.id=wildfly-kieserver -Dorg.kie.server.location=http://localhost:8080/kie-server/services/rest/server -Dorg.kie.server.controller=http://localhost:8080/kie-wb/rest/controller
In the second case I get this errors:
15:38:35,251 INFO [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Found kmodule: vfs:/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,273 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Error when reading virtual file from vfs:/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPathForVFS(ClasspathKieProject.java:423) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fixURLFromKProjectPath(ClasspathKieProject.java:368) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84) at org.drools.compiler.kie.builder.impl.KieContainerImpl.(KieContainerImpl.java:131) at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:131) at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:118) at org.drools.cdi.KieCDIExtension.init(KieCDIExtension.java:94) at org.drools.cdi.KieCDIExtension.processInjectionTarget(KieCDIExtension.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171) at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53) at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44) at org.jboss.weld.bootstrap.events.AbstractProcessInjectionTarget.fire(AbstractProcessInjectionTarget.java:33) at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessInjectionTarget(ContainerLifecycleEvents.java:269) at org.jboss.weld.bootstrap.AbstractBeanDeployer.processInjectionTargetEvents(AbstractBeanDeployer.java:140) at org.jboss.weld.bootstrap.BeanDeployer.processBeans(BeanDeployer.java:262) at org.jboss.weld.bootstrap.BeanDeployer.processClassBeanAttributes(BeanDeployer.java:244) at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:436) at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:86) at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:97) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378) at java.lang.Thread.run(Thread.java:748)
15:38:35,884 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,885 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war 15:38:35,885 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) As folder project tried to fall back to pom.xml, but could not find one 15:38:35,886 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to load pom.properties from/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,886 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Cannot find maven pom properties for this project. Using the container's default ReleaseId 15:38:35,898 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to build index of kmodule.xml url=vfs:/content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml Unable to get all ZipFile entries: /content/kie-wb.war/WEB-INF/lib/kie-wb-common-services-backend-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,898 INFO [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Found kmodule: vfs:/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,899 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Error when reading virtual file from vfs:/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPathForVFS(ClasspathKieProject.java:423) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fixURLFromKProjectPath(ClasspathKieProject.java:368) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84) at org.drools.compiler.kie.builder.impl.KieContainerImpl.(KieContainerImpl.java:131) at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:131) at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:118) at org.drools.cdi.KieCDIExtension.init(KieCDIExtension.java:94) at org.drools.cdi.KieCDIExtension.processInjectionTarget(KieCDIExtension.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171) at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53) at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44) at org.jboss.weld.bootstrap.events.AbstractProcessInjectionTarget.fire(AbstractProcessInjectionTarget.java:33) at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessInjectionTarget(ContainerLifecycleEvents.java:269) at org.jboss.weld.bootstrap.AbstractBeanDeployer.processInjectionTargetEvents(AbstractBeanDeployer.java:140) at org.jboss.weld.bootstrap.BeanDeployer.processBeans(BeanDeployer.java:262) at org.jboss.weld.bootstrap.BeanDeployer.processClassBeanAttributes(BeanDeployer.java:244) at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:436) at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:86) at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:97) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378) at java.lang.Thread.run(Thread.java:748) 15:38:35,927 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,928 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war 15:38:35,928 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) As folder project tried to fall back to pom.xml, but could not find one 15:38:35,928 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to load pom.properties from/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,929 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Cannot find maven pom properties for this project. Using the container's default ReleaseId 15:38:35,930 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to build index of kmodule.xml url=vfs:/content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml Unable to get all ZipFile entries: /content/kie-wb.war/WEB-INF/lib/kie-dmn-validation-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,930 INFO [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Found kmodule: vfs:/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,931 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Error when reading virtual file from vfs:/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPathForVFS(ClasspathKieProject.java:423) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fixURLFromKProjectPath(ClasspathKieProject.java:368) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112) at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84) at org.drools.compiler.kie.builder.impl.KieContainerImpl.(KieContainerImpl.java:131) at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:131) at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:118) at org.drools.cdi.KieCDIExtension.init(KieCDIExtension.java:94) at org.drools.cdi.KieCDIExtension.processInjectionTarget(KieCDIExtension.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85) at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:129) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330) at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286) at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124) at org.jboss.weld.util.Observers.notify(Observers.java:166) at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285) at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171) at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53) at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44) at org.jboss.weld.bootstrap.events.AbstractProcessInjectionTarget.fire(AbstractProcessInjectionTarget.java:33) at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessInjectionTarget(ContainerLifecycleEvents.java:269) at org.jboss.weld.bootstrap.AbstractBeanDeployer.processInjectionTargetEvents(AbstractBeanDeployer.java:140) at org.jboss.weld.bootstrap.BeanDeployer.processBeans(BeanDeployer.java:262) at org.jboss.weld.bootstrap.BeanDeployer.processClassBeanAttributes(BeanDeployer.java:244) at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:436) at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:86) at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:97) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378) at java.lang.Thread.run(Thread.java:748) 15:38:35,995 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,998 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to find pom.properties in /content/kie-wb.war 15:38:35,999 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) As folder project tried to fall back to pom.xml, but could not find one 15:38:35,999 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to load pom.properties from/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:35,999 WARN [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Cannot find maven pom properties for this project. Using the container's default ReleaseId 15:38:36,000 ERROR [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (MSC service thread 1-4) Unable to build index of kmodule.xml url=vfs:/content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml Unable to get all ZipFile entries: /content/kie-wb.war/WEB-INF/lib/kie-pmml-7.11.0.Final.jar/META-INF/kmodule.xml 15:38:37,640 INFO [org.jboss.errai.common.metadata.MetaDataScanner] (Thread-112) added class scanning extensions: org.jboss.errai.common.metadata.JbossVFsTypeHandler 15:38:37,641 INFO [org.jboss.errai.common.metadata.MetaDataScanner] (Thread-112) added class scanning extensions: org.jboss.errai.common.metadata.JbossVFsTypeHandler 15:40:11,831 INFO [org.jboss.errai.reflections.Reflections] (Thread-112) Reflections took 94179 ms to scan 152 urls, producing 4832 keys and 32877 values [using 2 cores] 15:40:12,062 WARN [org.jboss.errai.config.rebind.EnvUtil] (MSC service thread 1-4) The property errai.security.user_on_hostpage_enabled has been set multiple times. 15:40:12,084 WARN [org.jboss.errai.config.rebind.EnvUtil] (MSC service thread 1-4) The property errai.class_scanning_extension has been set multiple times. 15:40:32,658 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.kie.workbench.common.forms.data.modeller.service.DataObjectFinderService 15:40:32,660 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.uberfire.preferences.shared.PreferenceStorage 15:40:32,664 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.guvnor.common.services.project.service.ModuleService 15:40:32,675 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.guvnor.common.services.project.service.ModuleRepositoriesService 15:40:32,687 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.guvnor.common.services.shared.metadata.MetadataService 15:40:32,708 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.kie.workbench.common.forms.data.modeller.service.DataObjectFormModelCreationService 15:40:32,740 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.kie.workbench.common.stunner.core.service.DiagramLookupService 15:40:32,742 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.optaplanner.workbench.screens.guidedrule.service.ScoreHolderService 15:40:32,749 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.drools.workbench.screens.guided.dtable.service.GuidedDecisionTableGraphSaveAndRenameService 15:40:32,777 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.guvnor.common.services.project.service.WorkspaceProjectService 15:40:32,799 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.kie.workbench.common.forms.editor.service.FormCreatorService 15:40:32,800 WARN [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-4) No @Service implementations found for org.uberfire.ext.editor.commons.service.htmleditor.HtmlEditorService 15:42:13,483 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0348: Timeout after [300] seconds waiting for service container stability. Operation will roll back. Step that first updated the service container was 'deploy' at address '[("deployment" => "kie-wb.war")]' 15:42:35,526 ERROR [org.jboss.as.server] (External Management Request Threads -- 1) WFLYSRV0021: Deploy of deployment "kie-wb.war" was rolled back with the following failure message: "WFLYCTL0344: Operation timed out awaiting service container stability" 15:42:47,036 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0190: Step handler org.jboss.as.server.deployment.DeploymentHandlerUtil$1@1dae869d for operation deploy at address [("deployment" => "kie-wb.war")] failed handling operation rollback -- java.util.concurrent.TimeoutException: java.util.concurrent.TimeoutException at org.jboss.as.controller.OperationContextImpl.waitForRemovals(OperationContextImpl.java:521) at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1518) at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1472) at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1445) at org.jboss.as.controller.AbstractOperationContext$Step.access$400(AbstractOperationContext.java:1319) at org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:876) at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726) at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467) at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411) at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423) at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:265) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:231) at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243) at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:212) at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72) at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:93) at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.lambda$handleRequest$0(ElytronIdentityHandler.java:62) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:246) at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254) at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225) at org.jboss.as.domain.http.server.security.ElytronIdentityHandler.handleRequest(ElytronIdentityHandler.java:61) at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378) at java.lang.Thread.run(Thread.java:748) at org.jboss.threads.JBossThread.run(JBossThread.java:485) 15:43:06,915 ERROR [org.jboss.as.controller.client] (External Management Request Threads -- 1) WFLYCTL0190: Step handler org.jboss.as.server.deployment.DeploymentHandlerUtil$1@1dae869d for operation deploy at address [("deployment" => "kie-wb.war")] failed handling operation rollback -- java.util.concurrent.TimeoutException 15:43:38,794 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 1) WFLYCTL0349: Timeout after [5] seconds waiting for service container stability while finalizing an operation. Process must be restarted. Step that first updated the service container was 'deploy' at address '[("deployment" => "kie-wb.war")]'
How to solve the problem?
amazon-web-services - 如何从 kie 工作台内将规则 kjar 部署到 S3 存储桶?
我正在尝试使用 S3 存储桶作为远程 maven 存储库,通过它将使用 kie 工作台 UI 创建的规则 jar 分发到需要它们的地方。
如果我从我的 IDE 用 maven 打包规则,我可以使用 Maven S3 wagon 扩展和分发管理成功地将 jar 上传到 s3,它工作正常。它们在 Maven 部署阶段成功上传。
我正在尝试从工作台 UI 中实现相同的目标(使用 Business Central Workbench 7.15.0 Final 和 Wildfly 14.0.Final。)。基本上按下“构建和部署”按钮以导致经过验证的构建,然后上传到标签 s3 存储桶中定义的内容。
可悲的是,这会导致错误:
它几乎说它不能使用 s3 协议传输它们,因为只有 Http 和文件传输器工厂可用。
这是我的 pom,我假设为 maven 提供 s3 wagon 的扩展可以工作,显然部署并没有通过调用“mvn clean deploy”进行,因此插件和扩展被忽略。
pom.xml
有没有办法让我为 s3 配置/提供传输工厂,让 kie 工作台使用?
jboss - jboss/business-central-workbench-showcase docker 镜像问题
我使用 business-central-workbench-showcase 7.43.0 docker 映像,当我创建一个项目(例如 business central 的示例项目之一)时,它坚持索引。当我按下部署按钮时,它会停留在构建阶段。我添加了这些问题的两个图像。
我使用本指南: https ://groups.google.com/g/drools-usage/c/EYftCpdEETA/m/lYKpeEZRBQAJ
配置堆大小并使用以下指令运行 docker:
但它不起作用。docker镜像有问题吗?
controller - 在 Business Central 的启动 (standalone.bat) 中不断收到 KieServer-ControllerConnect 错误 401
我Kie-WB (business central 7.47.0)
在 Windows 服务器上安装了 Wildfly(最终版本为 19.0.0)。一切都很好,除了运行独立,但我不断收到警告。
WARN [org.kie.server.controller.websocket.client.WebSocketKieServerControllerImpl] (KieServer-ControllerConnect) 与 ws://127.0.0.1:8080/kie-wb/websocket/controller/wildfly-kieserver 错误处的控制器同步时遇到异常无效的响应代码 401
我在我的 PC 上安装了相同的安装程序,在那里我在 KIE-WB 中开发了我的业务规则。此安装在没有警告的情况下运行。我比较了两者,但找不到问题的原因。
因为我计划让它 24/7 全天候运行,所以我想摆脱这个警告。
有没有人有正确的建议?谢谢
docker - Drools Workbench docker容器:无法访问已部署的服务器
我尝试使用 docker 命令部署 kie 工作台docker run -p 8080:8080 -p 8001:8001 -d --name drools-wb jboss/business-central-workbench-showcase:latest
,使用 docker 命令部署 kieserver docker run -p 8180:8080 -d --name kie-server --link drools-wb:kie-wb jboss/kie-server-showcase:latest
。我使用业务中心将示例 drl 文件部署到 kie 服务器。部署后的画面如下图所示。
远程服务器为 172.17.0.3:8080。但是当我尝试使用 Postman 测试部署文件时,服务器没有响应。请求超时。我尝试访问的两个端点服务是http://172.17.0.3:8080/kie-server/services/rest/server/
和http://172.17.0.3:8080/kie-server/services/rest/server/DemoRule_1.0.0-SNAPSHOT
. 首先,我不明白为什么它被部署在某个远程服务器而不是本地主机中。其次,为什么它无法访问。我什至尝试了 kie 服务器容器端点http://localhost:8180/kie-server/services/rest/server/
。但这些都不起作用。有人可以帮我理解这个问题。