[jboss-user] [jBPM] - "error: mail template not found" preventing deployment. Bug?

Charles Aznavour do-not-reply at jboss.com
Fri Aug 6 10:18:36 EDT 2010

Charles Aznavour [http://community.jboss.org/people/charles_a] created the discussion

""error: mail template not found" preventing deployment. Bug?"

To view the discussion, visit: http://community.jboss.org/message/556265#556265

Hi all,

we have deployed multiple version of a process with the same key. After deployment, we suspend all but the latest deployment of a process to ensure only one active version of a process (if running instances exists, we migrate them).

Now, we´ve removed an old mail template used in an old process definitions (it´s not used in the still active definition, it´s in a version "some deployments ago").

We encounter the message "error: mail template not found" which prevents deployment.

I´ve done some debugging and it seems that in class ProcessDeployer the method checkKey loads all existing process definitions for a specific key. During the initialization of the ProcessDefinition object the exception occurs.

How is it supposed to work? Maybe it should only search for still active ProcessDefinitions in the checkKey method? Is probably the jpdl parser too strict here, because the parser seems fine with old processes having usercode defined that also doens´t exist anymore (assignmenthandler classes for example)?

Thanks for your help,



Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list