Hi,
It is a stupid configuration question in jbpm 4 !
I have in my classpath a jbpm.mail.properties and it works !
For test purpose, I have an other properties file to switch to an other mail server which is not in the default package.
I configure my jbpm.cfg.xml to override the default configuration :
<import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.tx.spring.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.jobexecutor.cfg.xml" />
...
<transaction-context>
<mail-session>
<mail-server>
<session-properties resource="my/path/config/jbpm.mail.properties" />
</mail-server>
</mail-session>
</transaction-context>
...
And it doesn't have any effect on jbpm :(