1 Reply Latest reply on Nov 17, 2010 2:16 PM by John Lee

    quick start program "business_ruleservice_ruleAgent" exception

    John Lee Newbie

      Hi There,

       

      I installed jbossesb-4.9 into jboss-5.1.0GA. Following "readme.txt" in "business_ruleervice_ruleAgent", I got the following

      exception in jboss-5.1.0GA console:

      WARN [MessageAwareListener] TransactionalRunner caught throwable:

      java.lang.NoSuchMethodError: org.drools.builder.ResourceType.getName()Ljava/lang/String;
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:408)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:399)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResourceFiles(DroolsRuleAgentHelper.java:352)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.<init>(DroolsRuleAgentHelper.java:235)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseHelper.createRuleAgent(DroolsRuleBaseHelper.java:217)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.getRuleBaseStateForRuleAgent(DroolsRuleService.java:332)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.executeStatefulRulesFromRuleAgent(DroolsRuleService.java:165)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeStateful(RuleServiceCallHelper.java:316)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:258)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.executeRulesService(BusinessRulesProcessor.java:140)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:121)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:613)java.lang.NoSuchMethodError: org.drools.builder.ResourceType.getName()Ljava/lang/String;
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:408)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:399)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResourceFiles(DroolsRuleAgentHelper.java:352)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.<init>(DroolsRuleAgentHelper.java:235)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseHelper.createRuleAgent(DroolsRuleBaseHelper.java:217)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.getRuleBaseStateForRuleAgent(DroolsRuleService.java:332)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.executeStatefulRulesFromRuleAgent(DroolsRuleService.java:165)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeStateful(RuleServiceCallHelper.java:316)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:258)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.executeRulesService(BusinessRulesProcessor.java:140)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:121)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:613)java.lang.NoSuchMethodError: org.drools.builder.ResourceType.getName()Ljava/lang/String;
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:408)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:399)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResourceFiles(DroolsRuleAgentHelper.java:352)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.<init>(DroolsRuleAgentHelper.java:235)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseHelper.createRuleAgent(DroolsRuleBaseHelper.java:217)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.getRuleBaseStateForRuleAgent(DroolsRuleService.java:332)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.executeStatefulRulesFromRuleAgent(DroolsRuleService.java:165)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeStateful(RuleServiceCallHelper.java:316)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:258)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.executeRulesService(BusinessRulesProcessor.java:140)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:121)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:613)java.lang.NoSuchMethodError: org.drools.builder.ResourceType.getName()Ljava/lang/String;
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:408)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:399)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResourceFiles(DroolsRuleAgentHelper.java:352)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.<init>(DroolsRuleAgentHelper.java:235)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseHelper.createRuleAgent(DroolsRuleBaseHelper.java:217)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.getRuleBaseStateForRuleAgent(DroolsRuleService.java:332)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.executeStatefulRulesFromRuleAgent(DroolsRuleService.java:165)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeStateful(RuleServiceCallHelper.java:316)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:258)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.executeRulesService(BusinessRulesProcessor.java:140)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:121)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:613)java.lang.NoSuchMethodError: org.drools.builder.ResourceType.getName()Ljava/lang/String;
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:408)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:399)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResourceFiles(DroolsRuleAgentHelper.java:352)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.<init>(DroolsRuleAgentHelper.java:235)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseHelper.createRuleAgent(DroolsRuleBaseHelper.java:217)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.getRuleBaseStateForRuleAgent(DroolsRuleService.java:332)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.executeStatefulRulesFromRuleAgent(DroolsRuleService.java:165)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeStateful(RuleServiceCallHelper.java:316)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:258)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.executeRulesService(BusinessRulesProcessor.java:140)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:121)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:613)java.lang.NoSuchMethodError: org.drools.builder.ResourceType.getName()Ljava/lang/String;
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:408)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResource(DroolsRuleAgentHelper.java:399)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResourceFiles(DroolsRuleAgentHelper.java:352)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.<init>(DroolsRuleAgentHelper.java:235)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseHelper.createRuleAgent(DroolsRuleBaseHelper.java:217)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.getRuleBaseStateForRuleAgent(DroolsRuleService.java:332)
      at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.executeStatefulRulesFromRuleAgent(DroolsRuleService.java:165)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeStateful(RuleServiceCallHelper.java:316)
      at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:258)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.executeRulesService(BusinessRulesProcessor.java:140)
      at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:121)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:613)
         java.lang.NoSuchMethodError: org.drools.builder.ResourceType.getName()Ljava/lang/String;
           at org.jboss.internal.soa.esb.services.rules.DroolsRuleAgentHelper.addResoure(DroolsRuleAgentHelper.java:408)
           ....
      I tried other sample applications in quickstart, only "helloworld" ran successfully.
      Any idea?
      Many thanks
      John