[JBoss JIRA] Created: (JBRULES-680) Support real-time problem modification during solving with utils for the single thread subsystem
by Geoffrey De Smet (JIRA)
Support real-time problem modification during solving with utils for the single thread subsystem
------------------------------------------------------------------------------------------------
Key: JBRULES-680
URL: http://jira.jboss.com/jira/browse/JBRULES-680
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Solver
Reporter: Geoffrey De Smet
Assigned To: Geoffrey De Smet
Rete/Drools is single threaded, and so is the current implementation of the localsearchsolver,
but this single thread subsystem should be documented
and utils should be provided to allow for real-time problem modification
A simple way would be to use a producer-consumer pattern with a non blocking queue which holds "problem moves".
Each step the problem moves could be used.
Problems:
- bestsolutionrecalled also needs it's score adjusted. so we'll need a 2th working memory:
-- EITHER temporary, just for the problem move (or set of problem moves)
-- EITHER all the time, but then we'd have to hold a chain of moves, some of which might not be doable at the end
- cached selectors must be notified of refreshing their cache
- solution cloning normally doesn't clone the problem facts, just the proposed solution references. Do we need a full clone now?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (JBRULES-2748) Missing drools-flow-compiler dependency in trunk\drools-examples\drools-examples-fusion\pom.xml
by Michael Anstis (JIRA)
Missing drools-flow-compiler dependency in trunk\drools-examples\drools-examples-fusion\pom.xml
-----------------------------------------------------------------------------------------------
Key: JBRULES-2748
URL: https://jira.jboss.org/browse/JBRULES-2748
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.1.1.FINAL
Environment: All
Reporter: Michael Anstis
Assignee: Mark Proctor
Fix For: FUTURE
java.lang.NullPointerException
at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:432)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:468)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
at org.drools.examples.broker.Broker.loadRuleBase(Broker.java:95)
at org.drools.examples.broker.Broker.createSession(Broker.java:80)
at org.drools.examples.broker.Broker.<init>(Broker.java:57)
at org.drools.examples.broker.Main.main(Main.java:53)
When running drools-examples Fusion Broker example.
Patch:-
Index: pom.xml
===================================================================
--- pom.xml (revision 35658)
+++ pom.xml (working copy)
@@ -26,6 +26,10 @@
<groupId>org.drools</groupId>
<artifactId>drools-compiler</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-flow-compiler</artifactId>
+ </dependency>
<!-- External dependencies -->
<dependency>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] (AS7-4371) Allow authentication username to be specified on remote domain controller definition
by Darran Lofthouse (JIRA)
Darran Lofthouse created AS7-4371:
-------------------------------------
Summary: Allow authentication username to be specified on remote domain controller definition
Key: AS7-4371
URL: https://issues.jboss.org/browse/AS7-4371
Project: Application Server 7
Issue Type: Task
Components: Domain Management
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Priority: Critical
Fix For: 7.1.2.Final
At the moment the slave domain controller authenticates against the master domain controller using the name in the host element in the host.xml, as this name is used to uniquely identify the host controller it needs to be unique - this means a user account needs to be created for each host controller.
This task is to additionally allow a user name to be specified on the <remote /> element defining the connection to the remote domain controller - in this case the name specified on the remote element will override the name on the host element - if this name is not specified the existing behaviour will remain.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] (JBRULES-3347) ResourceChangeScanner trying to scan rule file when instead the change set contains a package only
by Michael Schnitzler (JIRA)
Michael Schnitzler created JBRULES-3347:
-------------------------------------------
Summary: ResourceChangeScanner trying to scan rule file when instead the change set contains a package only
Key: JBRULES-3347
URL: https://issues.jboss.org/browse/JBRULES-3347
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.3.0.Final
Reporter: Michael Schnitzler
Assignee: Mark Proctor
1.) Create a KnowledgeBase using a rule file (DRL) on the classpath. The rule file has to contain a Drools function.
2.) Serialize the the KnowledgeBase to the file system.
3.) Create a changeset definition that adds the serialized package only.
4.) Create a client that creates a KnowledgeAgent and apply the changeset. The class path should not contain the original rule files.
5.) Start the ResourceChangeScanner
This will lead to a NPE in the ResourceChangeScannerImpl:
Exception in thread "Thread-0" java.lang.NullPointerException
at org.drools.io.impl.ClassPathResource.getURL(ClassPathResource.java:124)
at org.drools.io.impl.ClassPathResource.getLastModified(ClassPathResource.java:139)
at org.drools.io.impl.ResourceChangeScannerImpl.scan(ResourceChangeScannerImpl.java:166)
at org.drools.io.impl.ResourceChangeScannerImpl$ProcessChangeSet.run(ResourceChangeScannerImpl.java:311)
at java.lang.Thread.run(Unknown Source)
The reason for this seems to be:
In private method KnowledgeAgentImpl.buildResourceMapping the function's resource (the DRL file) is retrieved and added to the registered resources . But the client is not distributed with the rule file on its classpath.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months