David Sinclair | 1 Oct 18:05 2008

[rules-dev] Problem with M2 reading package from Guvnor via RuleAgent

I have upgrade my application to use the milestone 2 code and am having a problem loading a package from guvnor via the rule agent. I am getting a class not found exception for org.drools.rule.PackageCompilationData. Here is the stack from the app. Looking at the code it appears the PackageCompilationData has been removed.

RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring with newInstance=false, secondsToRefresh=60
RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring package provider : URLScanner monitoring URLs:  http://localhost:8080/drools-guvnor
/org.drools.guvnor.Guvnor/package/com.sungard.cmdb.rules/0.7-SNAPSHOT
PackageName: com.sungard.cmdb.rules
PackageVersion: 0.7-SNAPSHOT
PackageIsLatest: false
PackageIsSource: false
RuleAgent(Drools) EXCEPTION (Wed Oct 01 11:55:22 EDT 2008): org.drools.rule.PackageCompilationData. Stack trace should follow.
java.lang.ClassNotFoundException: org.drools.rule.PackageCompilationData
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:85)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:97)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.rule.Package.readExternal(Package.java:198)
        at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:185)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:154)
        at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:47)
        at org.drools.agent.URLScanner.readPackage(URLScanner.java:142)
        at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:114)
        at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:90)
        at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:393)
        at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:345)
        at org.drools.agent.RuleAgent.configure(RuleAgent.java:330)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:246)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:195)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:188)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:156)

thanks

dave
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
David Sinclair | 1 Oct 18:19 2008

[rules-dev] Re: Problem with M2 reading package from Guvnor via RuleAgent

Please not that this was a migrated package, so that may be the underlying problem

On Wed, Oct 1, 2008 at 12:05 PM, David Sinclair <dsinclair <at> chariotsolutions.com> wrote:
I have upgrade my application to use the milestone 2 code and am having a problem loading a package from guvnor via the rule agent. I am getting a class not found exception for org.drools.rule.PackageCompilationData. Here is the stack from the app. Looking at the code it appears the PackageCompilationData has been removed.

RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring with newInstance=false, secondsToRefresh=60
RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring package provider : URLScanner monitoring URLs:  http://localhost:8080/drools-guvnor
/org.drools.guvnor.Guvnor/package/com.sungard.cmdb.rules/0.7-SNAPSHOT
PackageName: com.sungard.cmdb.rules
PackageVersion: 0.7-SNAPSHOT
PackageIsLatest: false
PackageIsSource: false
RuleAgent(Drools) EXCEPTION (Wed Oct 01 11:55:22 EDT 2008): org.drools.rule.PackageCompilationData. Stack trace should follow.
java.lang.ClassNotFoundException: org.drools.rule.PackageCompilationData
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:85)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:97)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.rule.Package.readExternal(Package.java:198)
        at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:185)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:154)
        at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:47)
        at org.drools.agent.URLScanner.readPackage(URLScanner.java:142)
        at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:114)
        at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:90)
        at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:393)
        at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:345)
        at org.drools.agent.RuleAgent.configure(RuleAgent.java:330)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:246)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:195)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:188)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:156)

thanks

dave

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mark Proctor | 1 Oct 19:44 2008

Re: [rules-dev] Re: Problem with M2 reading package from Guvnor via RuleAgent

When migrating to new versions of Drools you need to rebuild your packages, PackageCompilationData does not exist any more.

Mark
David Sinclair wrote:
Please not that this was a migrated package, so that may be the underlying problem

On Wed, Oct 1, 2008 at 12:05 PM, David Sinclair <dsinclair <at> chariotsolutions.com> wrote:
I have upgrade my application to use the milestone 2 code and am having a problem loading a package from guvnor via the rule agent. I am getting a class not found exception for org.drools.rule.PackageCompilationData. Here is the stack from the app. Looking at the code it appears the PackageCompilationData has been removed.

RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring with newInstance=false, secondsToRefresh=60
RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring package provider : URLScanner monitoring URLs:  http://localhost:8080/drools-guvnor
/org.drools.guvnor.Guvnor/package/com.sungard.cmdb.rules/0.7-SNAPSHOT
PackageName: com.sungard.cmdb.rules
PackageVersion: 0.7-SNAPSHOT
PackageIsLatest: false
PackageIsSource: false
RuleAgent(Drools) EXCEPTION (Wed Oct 01 11:55:22 EDT 2008): org.drools.rule.PackageCompilationData. Stack trace should follow.
java.lang.ClassNotFoundException: org.drools.rule.PackageCompilationData
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:85)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:97)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.rule.Package.readExternal(Package.java:198)
        at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:185)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:154)
        at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:47)
        at org.drools.agent.URLScanner.readPackage(URLScanner.java:142)
        at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:114)
        at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:90)
        at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:393)
        at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:345)
        at org.drools.agent.RuleAgent.configure(RuleAgent.java:330)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:246)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:195)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:188)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:156)

thanks

dave

_______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
David Sinclair | 1 Oct 20:01 2008

Re: [rules-dev] Re: Problem with M2 reading package from Guvnor via RuleAgent

Thanks Mark. I did that manually and it worked.

I have a follow up question though. I have automated the process of updating/creating a package and its assocaited models, enums, import section, etc. I saw that how the header was stored has changed from on the package node to a sud-node, but it appears that the validate/create snapshot process may have changed. I used to do the following

1. Validate the package after modification/creation

private void validatePackage(PackageItem rulesPackage) {
        SuggestionCompletionLoader loader = new SuggestionCompletionLoader();

        List<JarInputStream> jars = getJars(rulesPackage);
        List<String> enums = getEnumerations(rulesPackage);
        String importSection = getImportSection(rulesPackage);

        loader.getSuggestionEngine(importSection, jars, new ArrayList(), enums);

        if (loader.hasErrors()) {
            StringBuilder sb = new StringBuilder();
            for (Iterator iter = loader.getErrors().iterator(); iter.hasNext();) {
                sb.append((String) iter.next());

                if (iter.hasNext()) {
                    sb.append("\n");
                }
            }

            throw new IllegalStateException("Invalid Package! " + sb.toString());
        }
    }

2. then  create the snapshot

private void createPackageSnapshot() {
        String snapshots[] = rulesRepository.listPackageSnapshots(RULE_PACKAGE_NAME);

        // the repo doesn't have an overwrite, so if this snapshot already exists, we need to remove it before
        // creating it again
        for (String snapshot : snapshots) {

            if (snapshot.equals(cmdbVersion)) {
                rulesRepository.removePackageSnapshot(RULE_PACKAGE_NAME, cmdbVersion);
                break;
            }
        }

        // create snapshot for this version
        rulesRepository.createPackageSnapshot(RULE_PACKAGE_NAME, cmdbVersion);

        PackageItem snapshot = rulesRepository.loadPackageSnapshot(RULE_PACKAGE_NAME, cmdbVersion);
        snapshot.updateCheckinComment("Updated for CMDB Version " + cmdbVersion);
    }

This used to work fine, i.e.it would result in the binary content of the package being available.

So, back to my original question, did this change?

thanks much

dave

ps - I have modified my code to now build the compiled package too

On Wed, Oct 1, 2008 at 1:44 PM, Mark Proctor <mproctor <at> codehaus.org> wrote:
When migrating to new versions of Drools you need to rebuild your packages, PackageCompilationData does not exist any more.

Mark
David Sinclair wrote:
Please not that this was a migrated package, so that may be the underlying problem

On Wed, Oct 1, 2008 at 12:05 PM, David Sinclair <dsinclair <at> chariotsolutions.com> wrote:
I have upgrade my application to use the milestone 2 code and am having a problem loading a package from guvnor via the rule agent. I am getting a class not found exception for org.drools.rule.PackageCompilationData. Here is the stack from the app. Looking at the code it appears the PackageCompilationData has been removed.

RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring with newInstance=false, secondsToRefresh=60
RuleAgent(Drools) INFO (Wed Oct 01 11:55:19 EDT 2008): Configuring package provider : URLScanner monitoring URLs:  http://localhost:8080/drools-guvnor
/org.drools.guvnor.Guvnor/package/com.sungard.cmdb.rules/0.7-SNAPSHOT
PackageName: com.sungard.cmdb.rules
PackageVersion: 0.7-SNAPSHOT
PackageIsLatest: false
PackageIsSource: false
RuleAgent(Drools) EXCEPTION (Wed Oct 01 11:55:22 EDT 2008): org.drools.rule.PackageCompilationData. Stack trace should follow.
java.lang.ClassNotFoundException: org.drools.rule.PackageCompilationData
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:85)
        at org.drools.common.DroolsObjectInputStream.resolveClass(DroolsObjectInputStream.java:97)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.rule.Package.readExternal(Package.java:198)
        at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:185)
        at org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:154)
        at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:47)
        at org.drools.agent.URLScanner.readPackage(URLScanner.java:142)
        at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:114)
        at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:90)
        at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:393)
        at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:345)
        at org.drools.agent.RuleAgent.configure(RuleAgent.java:330)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:246)
        at org.drools.agent.RuleAgent.init(RuleAgent.java:195)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:188)
        at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:156)

thanks

dave

_______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
stampy88 | 1 Oct 22:51 2008

Re: [rules-dev] M2 Guvnor Tomcat Deployment Issues and Resolutions


That looks possibly like the same Seam issue I saw. Check out the first item
in my previous post to see if that solves your problem.

dave

richarda wrote:
> 
> David,
>  Thanks for the information..  but I get a different error when deploying
> to glassfish:
> 
> WebModule[/drools-guvnor]PWC1275: Exception sending context initialized
> event to listener instance of class org.jboss.seam.servlet.SeamListener
> java.lang.IllegalStateException: Cannot load
> WEB-INF/classes/net/sf/webdav/WebDavServletBean.class from
> WebappClassLoader
>   delegate: true
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> EJBClassLoader : 
> urlSet = []
> doneCalled = false 
>  Parent -> java.net.URLClassLoader <at> 15b8520
>  (using getResourceAsStream() returned null)
>         at
> org.jboss.seam.deployment.AbstractDeploymentHandler.getClassFile(AbstractDeploymentHandler.java:41)
>         at
> org.jboss.seam.deployment.ComponentDeploymentHandler.handle(ComponentDeploymentHandler.java:57)
>         at
> org.jboss.seam.deployment.DeploymentStrategy.handle(DeploymentStrategy.java:177)
>         at
> org.jboss.seam.deployment.AbstractScanner.handleItem(AbstractScanner.java:30)
>         at
> org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:141)
>         at
> org.jboss.seam.deployment.URLScanner.handleDirectory(URLScanner.java:137)
> 
> Any ideas for that one?
> 
> Thanks
> 

--

-- 
View this message in context: http://www.nabble.com/M2-Guvnor-Tomcat-Deployment-Issues-and-Resolutions-tp19750352p19768246.html
Sent from the drools - dev mailing list archive at Nabble.com.

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mark Proctor | 2 Oct 01:47 2008

Re: [rules-dev] file per asset type

Been thinking about this more, the reason for this is the lack of 
orthogonality in:
addPackageFromXML, addProcessFromXML
Process is just another package type, thus we are creating exceptions in 
our terminology. Now we do already have pre-agreed file extensions, 
maybe we can create enums for these and insist they are used as an argument.
kbuilder.addResource( reader/url, KnowledgeType.DRL )

So the support knowledge types could be in the KnowledgeType drl as:
DRL, DSLR, RM, XLS, CSV

we could even say that when URL is used, we don't need to use the 
KnowledgeType, that's only for Reader.
kbuilder.addResource( url )
kbuilder.addResource( reader, KnowledgeType.DRL )

Although when loading dsls you need another argument:
kbuilder.addResource( reader, reader )
we already know that's a DSL, so not sure if the enum makes sense there

Thoughts?

Mark Proctor wrote:
> What do people think of insisting on a file per type. So functions go 
> in one file, rules in another and declare models in another. They all 
> end up in the same package object, but we enforce a separation at both 
> the file and api level.
> kbuilder.addRulesFromURL( url );
> kbuilder.addModelFromURL( url );
> kbuilder.addFunctionsFromURL( url );
> kbuilder.addProcessFromURL( url );
>
> Really more thinking about orthogonality of api and design here. We 
> have the following situation
> kbuilder.addPackageFromXML()
> kbuilder.addProcessFromXML()
> Processes live in a package, so to a package there is no difference 
> from a process to a rule - yet we are losing that orthogonality in the 
> api to handle the special case.
>
> What do people think, I'm just trying to find a better way to get some 
> language orthogonality. I don't think we are likely to do this, but 
> just throwing it out for discussion.
>
> I think ideally we would like kbuilder.addResource( url/reader ), but 
> not sure if we can easily determine each file type, we can't do it by 
> file extensions as readers have none.
>
> Mark
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Chirayu Joshi | 3 Oct 14:57 2008

[rules-dev] Deploying drools-guvnor.war from source and running jboss gives error - Could not create Component: org.jboss.seam.core.init

Hi,

 

        I have downloaded source code of guvnor-brms from http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/

        Now I build it with maven using maven install command from command prompt  in the root directory where I took the above source

        It builds successfully and generates drools-guvnor.war on the target folder of drools-guvnor.

        Now when I deploy it in the jboss deploy directory and run the jboss I get the following error

 

17:53:52,149 INFO  [TomcatDeployer] deploy, ctxPath=/drools-guvnor, warUrl=.../tmp/deploy/tmp25062drools-guvnor-exp.war/

17:54:00,039 INFO  [STDOUT] ERROR 03-10 17:54:00,024 (Log4JLogger.java:error:119)        Exception sending context initi

alized event to listener instance of class org.jboss.seam.servlet.SeamListener

java.lang.RuntimeException: Could not create Component: org.jboss.seam.core.init

        at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1033)

        at org.jboss.seam.init.Initialization.init(Initialization.java:609)

        at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)

        …………………..

Regards

Chirayu Joshi

 

 

 

 

 

 

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Richard Ambridge | 4 Oct 00:48 2008
Picon

[rules-dev] Roadmap for Drools 5

Hi all,

 Is there a roadmap for release of Drools 5?
 When are you expecting GA release?

 Cheers
 Ric
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mark Proctor | 4 Oct 00:51 2008

Re: [rules-dev] Roadmap for Drools 5

It's slipped till november now.

Mark
Richard Ambridge wrote:
> Hi all,
>
> Is there a roadmap for release of Drools 5?
> When are you expecting GA release?
>
> Cheers
> Ric
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Sangrish | 6 Oct 01:08 2008
Picon

[rules-dev] Rule Dependency Generator


Hi

      I have been using Drools Rules Engine in our application for past
couple of weeks.
One of the requirements in our project was to let a user (anyone who is
writing/analysing the rules) find out
what other rules a given rule depends upon. There were a few kinds of
dependencies:
1) Object Attribute dependency: The attributes of an object being used in
the conditional part of a rule
   might be getting modified in the consequence part of another rule. We
wanted all such rules with each rule having its own dependency list.
2) Rule Salience based dependency. A rule having lower salience should be
executed only after a higher (if any) salience rule has already been
executed.
3) Dependency caused by a specific Rule flow. Rules in a ruleflow group
should be executed only if (if any) Split condition gets satisfied.
4) Agenda flow dependency (i.e., one agenda following another) 

   We could not find much support for this in the Drools API. Hence we
decided to write our own dependency generator.  The tool we are writing
caters to first 3 dependencies. We might even handle the 4th one.  
  Since Drools is open source, we thought of contributing our bit towards
its development. If the drools team wants I can happily work with them on
getting this functionality plugged in the Drools system.

Thanks
Siddharth
--

-- 
View this message in context: http://www.nabble.com/Rule-Dependency-Generator-tp19821365p19821365.html
Sent from the drools - dev mailing list archive at Nabble.com.

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


Gmane