[rules-users] Moved to Google Groups

2014-08-21 Thread Mark Proctor
Just a reminder this list has moved to Google Groups:
http://drools.org/community/forum.html
https://groups.google.com/forum/#!forum/drools-usage

Mark

On 20 Aug 2014, at 22:27, Stephen Masters stephen.mast...@me.com wrote:

 May be worth checking what class/interface your bean is. In the code that 
 works, you are casting it to StatelessKieSession, but I suspect that the 
 object which was injected was a KieSession.
 
 Steve
 
 
 
 On 19 Aug 2014, at 15:17, Ged Byrne ged.by...@gmail.com wrote:
 
 Hi Matt,
 
 This may be a problem with Spring rather than KIE.
 
 Take a look at the following:
   * https://jira.spring.io/browse/SPR-9786
   * 
 http://www.javabeat.net/annotation-based-bean-wiring-autowired-in-spring-framework/
 
 Regards, 
 
 
 Ged
 
 
 
 On 16 August 2014 18:56, mattmadhavan mmadha...@facs.org wrote:
 Hello,
 I have the following kie-spring xml definition to test my custom evaluater.
 
 
 
 I am not able to inject neither the *IN_LIST_KBase *nor the
 /IN_LIST_KSession/ in my test class as follows:
 
 
 
 But i am able to look it up via the applicationContext as follows:
 
 
 I am bit confused! Any ideas please?
 
 Thanks in advance!
 
 Matt'M
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Moved to Google Groups

2014-08-21 Thread Mark Proctor
Just a reminder this list has moved to Google Groups:
http://drools.org/community/forum.html
https://groups.google.com/forum/#!forum/drools-usage

Mark
On 18 Aug 2014, at 12:36, Jean-Christophe Fortier jfort...@adacel.com wrote:

 Hi,
 I'm trying to use the verifier with my rules on drools 5.6 and I got an 
 exception : org.drools.verifier.visitor.UnknownDescriptionException: Descr ( 
 class org.drools.lang.descr.MVELExprDescr ) is unknown to drools verifier. I 
 checked in the source code and this type of descriptor is indeed not handled 
 yet. Do you know if it's fixed in 6.1?
  
 There is also this JIRA that could be useful 
 https://issues.jboss.org/browse/JBRULES-3641
  
 Please let me know of any development.
  
 Thx
  
 Jean-Christophe Fortier
 Concepteur de logiciel
 Software Developer
 first make it work, then make it better
   

 image001.png
  
 895 rue De La Gauchetière Ouest, Suite 300, C.P. 48,
 Montréal (Quebec), H3B 4G1
  
 Tel: 514-636-6365 x.5387
 Fax: 514-636-23626
  
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Moved to google groups

2014-08-21 Thread Mark Proctor
OptaPlanner now has it’s own google groups for discussions:
http://www.optaplanner.org/community/forum.html

Please use the correct group, to reduce the noise to signal ratio. 

Also just a reminder this list has also moved to Google Groups:
http://drools.org/community/forum.html
https://groups.google.com/forum/#!forum/drools-usage

Mark


On 20 Aug 2014, at 22:42, paavanm paavan.mat...@clairvoyantsoft.com wrote:

 I have a relatively simple question. How do I have OptaPlanner use my own
 initialized solution as a starting point instead of having a construction
 heuristic create one? Does this have to be done with a custom SolverPhase?
 
 A little more detail on what I'm trying to do: I am scheduling a series of
 classes and related activities on a calendar. Let's say I have some class
 BA101 that occurs several times a week (these classes are immovable
 entities). There are homeworks, exams etc. associated with these classes
 which I need to schedule. E.g. on Feb 1st, a homework might be due, or on
 Mar 1st, there might be an exam. So I need to schedule time to do the
 homework or time to study for the exam. My initial solution for this would
 be very simple: I would schedule the homework/study time at the same time of
 the class itself, and let optaplanner move it around till it meets my hard 
 soft constraints.
 
 However, when I tried to do that (i.e. give my homework/study tasks an
 actual start time instead of just leaving the start time as null),
 OptaPlanner fell right through without actually making any moves to find the
 best score. How do I do this? This is my config at the moment, pretty basic
 (tried this with  without the construction heuristic; same result):
 
 ?xml version=1.0 encoding=UTF-8?
 solver
 
 
 
 solutionClasscom.copilot.optaplanner.domain.ActivityScheduler/solutionClass
 
 planningEntityClasscom.copilot.optaplanner.domain.Activity/planningEntityClass
 
 
scoreDirectorFactory
scoreDefinitionTypeHARD_SOFT/scoreDefinitionType
 
 simpleScoreCalculatorClasscom.copilot.optaplanner.solver.score.ActivitySchedulingSimpleScoreCalculator/simpleScoreCalculatorClass
/scoreDirectorFactory
 
 
termination
maximumSecondsSpend10/maximumSecondsSpend
/termination
 
constructionHeuristic
constructionHeuristicTypeFIRST_FIT/constructionHeuristicType
/constructionHeuristic
 
localSearch
acceptor
entityTabuSize7/entityTabuSize
/acceptor
forager
acceptedCountLimit1000/acceptedCountLimit
/forager
/localSearch
 
 /solver
 
 Thanks for any assistance.
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Starting-optaplanner-with-your-own-initialized-solution-tp4030697.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users