Subhas Sing [
http://community.jboss.org/people/popsubhas] created the discussion
"Re: JBPM and Drool sample application throwing an Exception."
To view the discussion, visit:
http://community.jboss.org/message/562961#562961
--------------------------------------------------------------
Thanks Felix and Maciej.
Delete all jars except as following
==============
log4j.jar
mail.jar
slf4j-api-1.5.8.jar
slf4j-log4j12.jar
spring.jar
Copy these following jars from jBPM 4.4 distribution
=================
antlr-runtime.jar
antlr.jar
commons-collections.jar
core.jar
dom4j.jar
drools-api.jar
drools-compiler.jar
drools-core.jar
hibernate-core.jar
hsqldb.jar
javassist.jar
jbpm.jar
jta-1.1.jar
juel-api.jar
juel-engine.jar
juel-impl.jar
mvel2.jar
Change the code as per Maciej
========================
repositoryService.createDeployment().addResourceFromClasspath("hello_world.jpdl.xml").
addResourceFromClasspath("checkAnalystAvailable.drl").
deploy();
rule "checkAnalystAvailable"
when
analystFinder : com.felix.poc.AnalystFinder( analyst=="FELIX",
region == "BELGIUM" )
then
analystFinder.setAnalystAvailable( *true* );
System.out.println( "Checking.........." );
end
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/562961#562961]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]