2 Replies Latest reply on Oct 19, 2007 12:27 AM by Sheetal Gupta

    jbpm.cfg.xml not getting picked up

    Sheetal Gupta Newbie

      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..