[jboss-user] [jBPM] - Re: JBPM and Drool sample application throwing an Exception.

Subhas Sing do-not-reply at jboss.com
Tue Sep 21 15:45:34 EDT 2010


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100921/8fb1d3dc/attachment.html 


More information about the jboss-user mailing list