From the stack trace:
  com.fpl.dsm.busrules.parameters.Para_568
Maybe this is a hint which rule is causing the problem.
-W


2010/5/17 Puneet duggal <duggalpunit@gmail.com>
drool 4 , it was provided to us
so we have to use it  any thing new in drool5 that can help much ?
i dont know which rue is giving error because there are  60 rules
and i dnt know how to debug bcz i m having a web application
which  loads rules from database.
 
do u know any way to know why its giving error??
 
On 5/17/10, Esteban Aliverti <esteban.aliverti@gmail.com> wrote:
Any reason why you are using Drools 4? 
Try to figure out which rule is failing and post it here.
I have never used Drools 4. I started from V5.  

2010/5/17 Puneet duggal <duggalpunit@gmail.com>
@ esteban,
 
i am using drools-compiler-4.0.7.jar
 
i dont know which rule is exactlly giving the error
but while executing i am getting this error
Any idea ?
 

[2010-05-17 09:37:22,419] [FATAL] Error occured while creating rules package for parameter : 568 (BusinessRuleServiceImpl.java:2285)

org.drools.RuntimeDroolsException: unable to determine ValueType for Class [class com.fpl.dsm.busrules.parameters.Para_568]

            at org.drools.base.ValueType.determineValueType(ValueType.java:222)

            at org.drools.base.ClassObjectType.<init>(ClassObjectType.java:56)

            at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:130)

            at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:93)

            at org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:69)

            at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:53)

            at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:446)

            at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:304)

            at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:167)

            at com.fpl.dsm.service.busrules.BusinessRuleServiceImpl.initializeRuleBase(BusinessRuleServiceImpl.java:2261)

            at com.fpl.dsm.util.BusinessRuleUtils.initializeContext(BusinessRuleUtils.java:2304)

            at com.fpl.dsm.web.module.action.IncentiveTemplateAction.performLogic(IncentiveTemplateAction.java:292)

            at com.fpl.dsm.web.base.DSMBaseAction.execute(DSMBaseAction.java:97)

            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

            at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)

            at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)

            at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)

            at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)

            at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)

            at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)

            at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)

            at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)

            at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)

            at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)

            at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

            at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

            at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

            at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

            at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)

            at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)

            at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)

            at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)



 
On 5/17/10, Esteban Aliverti <esteban.aliverti@gmail.com> wrote:
Try to be a little more specific. Which version of drools are you using? How your rule looks like? What are you trying to do?

 
Best,
 

2010/5/17 Puneet duggal <duggalpunit@gmail.com>
hi friends ,
 
I am getting the error while executing the business rule
 
 

[2010-05-17 09:37:22,419] [FATAL] Error occured while creating rules package for parameter : 568 (BusinessRuleServiceImpl.java:2285)

org.drools.RuntimeDroolsException: unable to determine ValueType for Class [class com.fpl.dsm.busrules.parameters.Para_568]

 

 

what this mean?


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




--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
 

_______________________________________________
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




--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti

_______________________________________________
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