Can't enable kie-drools-wb-7.10.0.war in wildfly 11 after deployment - optaplanner

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?

The kie-wb doesn't work with Oracle Java. I could deploy kie-wb in wildfly after I removed Oracle Java and installed openJDK.

Related

Deploying playframework application on Jboss AS 7.1

I am trying to deploy a playframework application on a Jboss AS 7.1 but I am experiecing some difficulties which I tried to find a solution for but I couldn't. So first of all I am building the war file with the play2war plugin - https://github.com/dlecan/play2-war-plugin
After I try to deploy the application the problems come- the server says the context is initialized, but the deployment fails(from time time the server also throws a strange BufferOverflowError). So here is the log:
23:50:28,255 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.1.0.Final "Thunder" started (with errors) in 2760ms - Started 133 of 205 services (1 services failed or missing dependencies, 70 services are passive or on-demand)
23:50:42,295 INFO [org.jboss.as.repository] (HttpManagementService-threads - 3) JBAS014900: Content added at location E:\dev_tools\jboss-as-7.1.0.Final\standalone\data\content\d7\a090a1f99ee107b2847f47b1c9685f4db3811f\content
23:50:49,972 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "texttocopy.war"
23:51:00,758 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/E:/dev_tools/jboss-as-7.1.0.Final/bin/content/texttocopy.war/WEB-INF/lib/javax.mail.mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
23:51:00,763 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xbean.jar in "/E:/dev_tools/jboss-as-7.1.0.Final/bin/content/texttocopy.war/WEB-INF/lib/org.apache.xmlgraphics.batik-js-1.7.jar" does not point to a valid jar for a Class-Path reference.
23:51:00,775 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xml-apis.jar in "/E:/dev_tools/jboss-as-7.1.0.Final/bin/content/texttocopy.war/WEB-INF/lib/xalan.serializer-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
23:51:00,779 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xercesImpl.jar in "/E:/dev_tools/jboss-as-7.1.0.Final/bin/content/texttocopy.war/WEB-INF/lib/xalan.xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
23:51:00,781 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xml-apis.jar in "/E:/dev_tools/jboss-as-7.1.0.Final/bin/content/texttocopy.war/WEB-INF/lib/xalan.xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
23:51:00,784 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry serializer.jar in "/E:/dev_tools/jboss-as-7.1.0.Final/bin/content/texttocopy.war/WEB-INF/lib/xalan.xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
23:51:01,277 INFO [org.jboss.as.pojo] (MSC service thread 1-8) JBAS017000: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).
23:51:01,593 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
23:51:01,598 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
23:51:01,601 WARN [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010402: Unable to instantiate driver class "com.mysql.jdbc.Driver": org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.texttocopy_war is already registered
23:51:01,695 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/texttocopy]] (MSC service thread 1-5) PlayServletWrapper > contextInitialized
The error from the admin console is:
2014-05-13 23:53:21,590 [ERROR] Message{conciseMessage='Unknown error', detailedMessage='Unexpected HTTP response: 500
Request
{
"address" => [("deployment" => "texttocopy.war")],
"operation" => "deploy"
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" => {"JBAS014671: Failed services" =>
{"jboss.web.deployment.default-host./texttocopy" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./texttocopy: JBAS018040: Failed to start context"}}, "rolled-back" => true
}
The standalone.xml is with the default configuration- I haven't changed anything there. So if someone can helm me I would be very grateful.
I found the solution. The problem is that the play logger is not "playing" very well with the jboss one so all the application logs are lost. So here is a solution directly from the author of the play2war plugin:
Here is a new dependency to include in your project to disable Play Logger:
val appDependencies = Seq(
// ... Actual dependencies
"com.github.play2war.ext" %% "redirect-playlogger" % "1.0.1" // add this after your others dependencies
)
How does it work ?
Play logger configuration is disabled, that is to say project's logger.xml file will be ignored.
So logs have to be configured by your app server (JBoss for eg.).

Migrating from jboss as to wildfly

I'm migrating from JBoss AS 7 to Wildfly 9.0.2.
I changed the standalone.xml to add our datasources, email configuration and security (JAAS). The rest of the config are the distribution defaults.
I changed my app to use the new naming for JAAS (without java:jaas/).
But, when I deploy my app, I get the following error:
16:58:57,777 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0006: Starting Services for CDI deployment: foo-app.ear
16:58:57,868 INFO [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 2.2.16 (SP1)
16:58:58,012 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0009: Starting weld service for deployment foo-app.ear
16:58:58,221 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018: Host default-host starting
16:58:59,737 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 60) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'foo-app.ear#Admin'
16:58:59,737 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 59) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'foo-app.ear#ReadOnly'
16:58:59,915 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 59) HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
16:59:01,847 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 59) HHH000400: Using dialect: com.foo.dialect.CADialect
16:59:01,865 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 59) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
16:59:01,944 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 60) HHH000400: Using dialect: com.foo.dialect.CADialect
16:59:01,946 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 60) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
16:59:03,752 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 60) HHH000397: Using ASTQueryTranslatorFactory
16:59:03,758 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 59) HHH000397: Using ASTQueryTranslatorFactory
16:59:03,762 WARN [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 60) Unrecognized value for "hibernate.hbm2ddl.auto": none
16:59:03,763 WARN [org.hibernate.cfg.SettingsFactory] (ServerService Thread Pool -- 59) Unrecognized value for "hibernate.hbm2ddl.auto": none
16:59:09,658 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 59) HHH000182: No default (no-argument) constructor for class: com.foo.entity.MotivoBaixa (class must be instantiated by Interceptor)
16:59:09,659 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 60) HHH000182: No default (no-argument) constructor for class: com.foo.entity.MotivoBaixa (class must be instantiated by Interceptor)
16:59:10,639 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 59) HHH000182: No default (no-argument) constructor for class: com.foo.invoice.ServiceInvoiceMessage (class must be instantiated by Interceptor)
16:59:10,640 INFO [org.hibernate.tuple.PojoInstantiator] (ServerService Thread Pool -- 60) HHH000182: No default (no-argument) constructor for class: com.foo.invoice.ServiceInvoiceMessage (class must be instantiated by Interceptor)
16:59:18,224 WARN [org.jboss.weld.Bootstrap] (weld-worker-1) WELD-001125: Illegal bean type com.foo.service.ListFilter<com.foo.negotiation.entity.Negotiation<?, ?>> ignored on [EnhancedAnnotatedTypeImpl] public class com.foo.negotiation.NegotiationFilter
16:59:18,236 WARN [org.jboss.weld.Bootstrap] (weld-worker-1) WELD-001125: Illegal bean type com.foo.service.ListFilter<com.foo.negotiation.entity.Negotiation<?, ?>> ignored on [EnhancedAnnotatedTypeImpl] public class com.foo.negotiation.statement.NegotiationStatementFilter
16:59:23,125 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."foo-app.ear".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."foo-app.ear".WeldStartService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: 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.jboss.weld.resolution.QualifierInstance.createValues(QualifierInstance.java:128)
at org.jboss.weld.resolution.QualifierInstance.of(QualifierInstance.java:95)
at org.jboss.weld.resolution.ResolvableBuilder.addQualifier(ResolvableBuilder.java:147)
at org.jboss.weld.resolution.ResolvableBuilder.addQualifiers(ResolvableBuilder.java:197)
at org.jboss.weld.resolution.ResolvableBuilder.addQualifiers(ResolvableBuilder.java:192)
at org.jboss.weld.manager.BeanManagerImpl.resolveDecorators(BeanManagerImpl.java:904)
at org.jboss.weld.injection.producer.BeanInjectionTarget.initializeAfterBeanDiscovery(BeanInjectionTarget.java:108)
at org.jboss.weld.injection.producer.InjectionTargetInitializationContext.initialize(InjectionTargetInitializationContext.java:42)
at org.jboss.weld.injection.producer.InjectionTargetService.initialize(InjectionTargetService.java:63)
at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:431)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:93)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
... 3 more
16:59:23,240 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "foo-app.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"foo-app.ear\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"foo-app.ear\".WeldStartService: Failed to start service
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class"}}
16:59:23,342 INFO [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "foo-app.ear" (runtime-name : "foo-app.ear")
16:59:23,347 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."foo-app.ear".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."foo-app.ear".WeldStartService: Failed to start service
16:59:23,668 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
16:59:23,669 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
16:59:23,669 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.2.Final (WildFly Core 1.0.2.Final) started (with errors) in 44463ms - Started 18381 of 21165 services (2571 services failed or missing dependencies, 283 services are lazy, passive or on-demand)
I don't understand why this error is happening and I also don't know how to find out why it is happening.
Any tips on how to debug this kind of issue (e.g., which class object it is trying to pass around to where)?
Or, maybe, someone that had this problem before with some advice on how to tackle it?
I found the error by patching weld to log the error: https://github.com/weld/core/pull/1359
The logs showed that the problem was in a qualifier.
So I grep inside the .ear for that qualifier, and it was in multiple places:
/lib
/context1.war
/context3.war
So, I basically remove it from context1 and context2 war files and everything worked as expected.

something wrong with jbpm and kie server

I want use jbpm6's rest interface,so i installed the kie. I put the kie-server-6.3.0.Final-ee7.war in the deployments folder and new the hibernate.properties in the jbpm-installer folder.Then i command ./add-user.sh -a -u admin -p admin -g admin,kie-server and standalone.sh -c standalone-full.xml -Dorg.kie.server.id=hello-kie-server -Dorg.kie.server.location=http://localhost:8080/kie-server-6.3.0.Final-ee7/services/rest/server.But it failed.the errors are:
ERROR [org.kie.server.services.impl.KieServerImpl] (MSC service thread 1-8) Error when initializing server extension of type jBPM KIE Server extension: java.lang.RuntimeException: Unable to create EntityManagerFactory due to [PersistenceUnit: org.jbpm.domain] Unable to build EntityManagerFactory
Caused by: javax.naming.NameNotFoundException: datasources/ExampleDS -- service jboss.naming.context.java.jboss.datasources.ExampleDS
(all ExampleDS have change to jbpmDS)
ERROR [org.guvnor.structure.backend.repositories.RepositoryServiceImpl] (MSC service thread 1-1) Error during create repository: java.lang.RuntimeException: https://github.com/guvnorngtestuser1/jbpm-console-ng-playground-kjar.git: cannot open git-upload-pack
(I don't kown which file use the address?)
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."jbpm-console.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-console.war".WeldStartService: Failed to start service
Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:Exception 0 :org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.kie.workbench.backend.AppSetup.assertPlayground()org.kie.workbench.backend.AppSetup#3d037714
I want open web http://localhost:8080/kie-server/services/rest/server/ but it failed. it means the kie server start failed? I don't kown why?

Eclipse Project not deploying to linux server

Hi I created a project in Eclipse Kepler and deployed it to my local WildFly Server and everything works fine. I have a pretty basic project connecting to an oracle db, jpa,ejb,webproj all wrapped up in an ear. But when I try to deploy to my Linux server the following happens.
1) It starts copying files to the standalone deployments directory -ok
2) When it gets to about 52% it hangs at the following command"
Create Remote Directory:/usr/local/wildfly-8.1.0.Final/standalone/deployments/ADTF_EAR.ear/ADTF_EJB.jar
No Error message is displayed. but this is what is in the log file:
2015-01-19 20:43:12,602 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017535: Unregistered web context: /ADTF_WebProj
2015-01-19 20:43:12,614 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 177) JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service
'ADTF_EAR.ear#Test-Persistence'
2015-01-19 20:43:12,618 INFO [org.jboss.weld.deployer] (MSC service thread 1-16) JBAS016009: Stopping weld service for deployment ADTF_EAR.ear
2015-01-19 20:43:12,625 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 177) JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service
'ADTF_EAR.ear#Test-Persistence'
2015-01-19 20:43:12,633 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015974: Stopped subdeployment (runtime-name: ADTF_EJB
.jar) in 34ms
2015-01-19 20:43:12,662 INFO [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015974: Stopped subdeployment (runtime-name: ADTF_We
bProj.war) in 62ms
2015-01-19 20:43:12,668 INFO [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015877: Stopped deployment ADTF_EAR.ear (runtime-nam
e: ADTF_EAR.ear) in 69ms
2015-01-19 20:43:12,669 INFO [org.jboss.as.server.deployment] (MSC service thread 1-9) JBAS015876: Starting deployment of "ADTF_EAR.ear" (runtim
e-name: "ADTF_EAR.ear")
2015-01-19 20:43:12,672 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-9) MSC000001: Failed to start service jboss.deployment.unit."ADT
F_EAR.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ADTF_EAR.ear".STRUCTURE: JBAS018733: Failed to proce
ss phase STRUCTURE of deployment "ADTF_EAR.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.1.0.Final.jar:8
.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.F
inal]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011037: Unable to process modules in application.xml for EAR ["/
usr/local/wildfly-8.1.0.Final/standalone/deployments/ADTF_EAR.ear"], module file ADTF_EJB.jar not found
at org.jboss.as.ee.structure.EarStructureProcessor.deploy(EarStructureProcessor.java:187)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.1.0.Final.jar:8
.1.0.Final]
... 5 more
2015-01-19 20:43:12,675 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014613: Operation ("full-replace
-deployment") failed - address: ([]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ADTF_EAR.ear\".STRUCTURE"
=> "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ADTF_EAR.ear\".STRUCTURE: JBAS018733: Failed to process phase STRUCT
URE of deployment \"ADTF_EAR.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011037: Unable to process modules in application.xml for EAR
[\"/usr/local/wildfly-8.1.0.Final/standalone/deployments/ADTF_EAR.ear\"], module file ADTF_EJB.jar not found"}}
2015-01-19 20:43:12,695 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "ADTF_EAR.ear" with deploymen
t "ADTF_EAR.ear"
I was hoping someone could help or at least point me in the right direction to fix this. Thank you.

JBOSS 7.1: Adding Primefaces support prevents deployment

When I add the PrimeFaces jar to a typical Dynamic Web Project in Eclipse, I get the following error:
15:44:40,338 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found FileUploadTest.war in deployment directory. To trigger deployment create a file called FileUploadTest.war.dodeploy
15:44:40,338 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "FileUploadTest.war"
15:44:40,339 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."FileUploadTest.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."FileUploadTest.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "FileUploadTest.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_35]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_35]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011093: Could not load component class org.primefaces.webapp.filter.FileUploadFilter
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:113)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
... 5 more
Caused by: java.lang.ClassNotFoundException: org.primefaces.webapp.filter.FileUploadFilter from [Module "deployment.FileUploadTest.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:111)
... 7 more
15:44:40,386 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "FileUploadTest.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"FileUploadTest.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FileUploadTest.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"FileUploadTest.war\""}}
15:44:40,402 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."FileUploadTest.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."FileUploadTest.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "FileUploadTest.war"
15:44:40,402 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"FileUploadTest.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FileUploadTest.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"FileUploadTest.war\""}}}}
15:44:40,417 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment FileUploadTest.war in 9ms
I've added commons-fileupload-1.2.1.jar as well as commons-io-1.4.jar. No idea what the problem could be. I've also referred to Error deploying Primefaces application on JBoss 7.1.0 and tried adding the "context-param" value to web.xml but to no avail.
I figured out what I was doing wrong. I was adding the JAR files(primefaces, commons-fileupload-1.2.1 and commons-io-1.4) by doing
Right click project->Build Path->Configure Build Path->Java Build Path and adding the JAR's there.
I needed to add them in ...->Configure Build Path->Deployment Assembly instead.
I guess I need to learn how to Eclipse :)

Resources