0 Replies Latest reply on Jun 29, 2016 7:19 AM by Inderjeet Kaur

    error deploying kjar on kie execution server

    Inderjeet Kaur Newbie

      Kindly help me with the following issue.

      I created a custom kjar project and installed it in  my local maven repository. I followed the steps from below link

      Running Rules on WildFly with Kie Server

       

      Now For creating a kie-container, when I am sending PUT request using REST API, KIE-Execution server

      Through Rest Client from firefox

      as

      http://localhost:8230/kie-server/services/rest/server/containers/demo

       

      Content-Type : application/xml

       

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

      <kie-container container-id="hell">

          <release-id>

                 <artifactId>DroolsHelloWorld</artifactId>

                <groupId>com.quinnox.drools</groupId>

              <version>1.0</version>

          </release-id>

      </kie-container>

       

      I am getting this error

       

      16:03:33,323 WARN  [org.kie.scanner.MavenRepository] (default task-7) Unable to resolve artifact: null:null:1.0

      16:03:36,188 WARN  [org.kie.scanner.MavenRepository] (default task-7) Unable to resolve artifact: null:null:pom:1.0

      16:03:36,243 ERROR [org.kie.server.services.impl.KieServerImpl] (default task-7) Error creating container 'demo' for module 'null:null:1.0': java.lang.RuntimeException: Cannot find KieModule: null:null:1.0

              at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:117) [drools-compiler-6.4.0.Final.jar:6.4.0.Final]

              at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:111) [drools-compiler-6.4.0.Final.jar:6.4.0.Final]

              at org.kie.server.services.impl.KieServerImpl.createContainer(KieServerImpl.java:241) [kie-server-services-common-6.4.0.Final.jar:6.4.0.Final]

              at org.kie.server.remote.rest.common.resource.KieServerRestImpl.createContainer(KieServerRestImpl.java:91) [kie-server-rest-common-6.4.0.Final.jar:6.4.0.Final]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_66]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_66]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_66]

              at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_66]

              at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) [resteasy-jaxrs-3.0.8.Final.jar:]

              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) [resteasy-jaxrs-3.0.8.Final.jar:]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]

              at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

              at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]