[jboss-user] [JBoss jBPM] - jbpm.cfg.xml not getting picked up

cheets do-not-reply at jboss.com
Thu Oct 18 05:03:08 EDT 2007


Hi All,
I am facing some problem trying to configure mail functionality in jbpm3.2.1.While trying to solve my previous problem (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118858) I have now created an action handler which is fired on task-create event, to send mail to all people in the task Actor Group.

However, while implementing my own task-notifier, i noticed that jbpm by default looks for jbpm.cfg.xml file only in the classpath, ie, if i place the jbpm.cfg.xml file in some location like j-workflow/jbpm.cfg.xml,which is there in the classes folder of my webapp, then it gets picked by jbpm the first time (since this location is mentioned in jbpm configuration bean in spring file), but later on, it picks up its own default jbpm.cfg.xml file, in effect, picking up its own mail.class instead of my defined notifier.

My question is, is there somewhere other than the jbpmConfiguration bean, that I should be defining the jbpm.cfg.xml file to use, or is this an issue with jbpm itself?
Many thanks..


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096439#4096439

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096439



More information about the jboss-user mailing list