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
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
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 {
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
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
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()
{
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
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
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.
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
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
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
12 matches
Mail list logo