Re: [rules-users] Class loader problem

2009-11-08 Thread Hemanth kumar
Hi swapnil thanx for the reply I think there is no error in url path.for a week i was not active in my project. Im sending my sample project Here is my sample application - main java class http://old.nabble.com/file/p26262304/rul

Re: [rules-users] Class loader problem

2009-11-03 Thread Hemanth kumar
swapnil thanx for the reply, this is my modified code try{ System.out.println("Initializing Fact"); URL[] urls = new URL[]{ new URL("file://"+path) }; ClassLoader loader = new URLClassLoader(urls); Class clazz = load

[rules-users] Class loader problem

2009-11-03 Thread Hemanth kumar
hi, Im working on a sample test project. In that im dynamically creating a class ( fact) and compiling it. here is my test project -- mainJavaclass public void runRule() { try {

[rules-users] java.lang.NoClassDefFoundError

2009-10-29 Thread Hemanth kumar
hi iam working on sample drools project. In that i was dynamically loading a fact ang running the rule engine. Based on the reply from the people of y previous post i have made some modifications. In the Eclipse editor it works fine.but when i call it externally it is throwing the error.I guess

Re: [rules-users] couuld not load fact to rule engine

2009-10-28 Thread Hemanth kumar
well as some caveats with classloaders... > > http://www.ilyasterin.com/blog/2009/10/java-multiple-class-loaders-issue.html > > On Tue, Oct 27, 2009 at 2:30 AM, Hemanth kumar wrote: >> >> >> hi, >> Im working on a sample test project. >> In that im

[rules-users] couuld not load fact to rule engine

2009-10-26 Thread Hemanth kumar
hi, Im working on a sample test project. In that im dynamically creating a class ( fact) and compiling it. here is my test project -- mainJavaclass public void runRule() {

Re: [rules-users] Rule is not firing

2009-10-26 Thread Hemanth kumar
hi satyasri.ch wrote: > > Hi , > > I am doing the sample drools project. > > Below are the sample rule and Fact class. > > when Running from eclipse ide both rules are working fine. > Where as running the rule outside ide only second rule fired it is not > showing any errors. > > Suggest me

[rules-users] facts are not loading in the rule engine

2009-10-23 Thread Hemanth kumar
hi, im doing a sample drools project. here i have tested on two drls on that one is working and the other is not. I guess rule engine is not able to load the fact class http://www.nabble.com/file/p26021812/facts.zip facts.zip regards hemanth -- View this message in context: http://www.n

Re: [rules-users] drools engine not working

2009-10-22 Thread Hemanth kumar
hi, Thanx for your reply.Im sending my test project. http://www.nabble.com/file/p26006235/Test%2Brule.zip Test+rule.zip description: In the mainjava class i was loading facts and calling runStatelessRules() of rule runner class. Im also seding the tomcat console of the output generated.

Re: [rules-users] drools engine not working

2009-10-22 Thread Hemanth kumar
http://www.nabble.com/file/p26006209/Test%2Brule.zip Test+rule.zip description: In the mainjava class i was loading facts and calling runStatelessRules() of rule runner class. Im also seding the tomcat console of the output generated. Hemanth -- View this message in context: http://www.na

[rules-users] Drools engine not working

2009-10-21 Thread Hemanth kumar
hi, Im working on Drools project.here is my project scenario. front end : Adobe Flex 3.0 application server : tomcat 6.x Drools : 5.0 from flex application i was invoking java class which isin the server "DroolsTest.java" . In this i was dynamically creating a class ( Fact ) ,compilin

[rules-users] drools engine not working

2009-10-21 Thread Hemanth kumar
hi, Im working on Drools project.here is my project scenario. front end : Adobe Flex 3.0 application server : tomcat 6.x Drools : 5.0 from flex application i was invoking java class which isin the server "DroolsTest.java" . In this i was dynamically creating a class ( Fact ) ,compilin