No. the files are there for sure.

Best Regards

Erez-Levi Zarini  Israel
P. Engineer - Java/.Net(c#) Programmer, VOIP.  
Global Technology Services  
Phone: +972-522554-720 x8720  
Mobile: +972-522554-720  
e-mail: [hidden email]  





From:        "Antoine Toulme-2 [via Drools]" <[hidden email]>
To:        Erez-Levi Zarini/Israel/IBM@IBMIL
Date:        22/11/2013 13:43
Subject:        Re: [rules-users] using Drools in Tomcat 6.0 enviourment




Erez, is it possible that the change of packaging is removing the file from the classpath ?


On Thu, Nov 21, 2013 at 8:20 PM, Erez Zarini <[hidden email]> wrote:
Hi,

I am new to Drools.

I have successfully created a project from the Examples provided at the site
using Java APP project.

but when trying to move it as a Dynamic Web Project in Eclipse I get the
following Exception:

(the files kmodule and pom.xml resides in all subfolders of the project)

21/11/2013 15:49:42 org.drools.compiler.kie.builder.impl.ClasspathKieProject
discoverKieModules
INFO: Found kmodule:
file:/C:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/DecisionTableGvia/WEB-INF/classes/META-INF/kmodule.xml
21/11/2013 15:49:43 org.drools.compiler.kie.builder.impl.ClasspathKieProject
getPomProperties
WARNING: Unable to load pom.properties tried recursing down
from/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/DecisionTableGvia/WEB-INF/classes
null
21/11/2013 15:49:43 org.drools.compiler.kie.builder.impl.ClasspathKieProject
discoverKieModules
SEVERE: Unable to build index of kmodule.xml
url=file:/C:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/DecisionTableGvia/WEB-INF/classes/META-INF/kmodule.xml
null
[]
21/11/2013 15:49:43 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet getDecisionGvia threw exception
java.lang.NullPointerException
ֲ  ֲ  ֲ  ֲ  at
org.drools.compiler.kie.builder.impl.KieContainerImpl.newStatelessKieSession(KieContainerImpl.java:360)
ֲ  ֲ  ֲ  ֲ  at
org.drools.compiler.kie.builder.impl.KieContainerImpl.newStatelessKieSession(KieContainerImpl.java:351)
ֲ  ֲ  ֲ  ֲ  at
gvia.PricingRuleDTExample.executeExample(PricingRuleDTExample.java:39)
ֲ  ֲ  ֲ  ֲ  at gvia.PricingRuleDTExample.main(PricingRuleDTExample.java:32)
ֲ  ֲ  ֲ  ֲ  at gvia.getDecisionGvia.doGet(getDecisionGvia.java:33)
ֲ  ֲ  ֲ  ֲ  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
ֲ  ֲ  ֲ  ֲ  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
ֲ  ֲ  ֲ  ֲ  at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
ֲ  ֲ  ֲ  ֲ  at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
ֲ  ֲ  ֲ  ֲ  at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
ֲ  ֲ  ֲ  ֲ  at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
ֲ  ֲ  ֲ  ֲ  at java.lang.Thread.run(Unknown Source)



when running as a Java project (not Java EE) it seems to work find and
continues to find pom.xml instead of pom.properties.

any ideas?



--
View this message in context:
http://drools.46999.n3.nabble.com/using-Drools-in-Tomcat-6-0-enviourment-tp4026878.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list

[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list

[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/using-Drools-in-Tomcat-6-0-enviourment-tp4026878p4026883.html
To unsubscribe from using Drools in Tomcat 6.0 enviourment, click here.
NAML


View this message in context: Re: [rules-users] using Drools in Tomcat 6.0 enviourment
Sent from the Drools: User forum mailing list archive at Nabble.com.