title: "java.lang.RuntimeException: Cannot find KieModule" in setup Drool with Tomcat
body: <p>We have set up and deployed Drool 7.15 application with Tomcat 8.0. However, the problem is when we try to deploy the rules we are getting the below exception. <code>java.lang.RuntimeException: Cannot find KieModule: com.tisl.mpl.ruleengine:rrt-kjar:1.0.0</code></p>
  
  <p>What could the the Fix for this? This same jar was working fine in Wildfly(jBOSS)</p>
  
  <blockquote>
    <p>14-Sep-2019 18:24:06.510 SEVERE [http-nio-8080-exec-8] org.kie.server.services.impl.KieServerImpl.createContainer Error
    creating container 'RRTRULE' for module
    'com.tisl.mpl.ruleengine:rrt-kjar:1.0.0'
                java.lang.RuntimeException: Cannot find KieModule: com.tisl.mpl.ruleengine:rrt-kjar:1.0.0
                        at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:117)
                        at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:111)
                        at org.kie.server.services.impl.KieServerImpl.createContainer(KieServerImpl.java:214)
                        at org.kie.server.remote.rest.common.resource.KieServerRestImpl.createContainer(KieServerRestImpl.java:90)
                        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.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168)
                        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)
                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)
                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)
                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541)
                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523)
                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125)
                        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                        at org.kie.server.services.impl.security.web.CaptureHttpRequestFilter.doFilter(CaptureHttpRequestFilter.java:42)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:645)
                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
                        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
                        at </p>
    
    <p>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
                    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
                    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
                    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)
                    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
                    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                    at java.lang.Thread.run(Thread.java:748)</p>
  </blockquote>
  
  <p>-Ram</p>