cancel
Showing results for 
Search instead for 
Did you mean: 

issue with email task

trivedi
Champ in-the-making
Champ in-the-making
Hi,

In my process flow, I have email task attached to user task via boundary event. I have configured the email server ip and host in the "processEngineConfiguration" bean definition in activiti.cfg.xml file. But at runtime, the email component is always taking the default values for mailServerHost and mailServerPort regardless of what is being provided in the bean configuration. Let me know is there a special setting that i have to do to read these properties. I am using activiti 5.5 and it is being instantiated using Spring.

thanks,
Trivedi
4 REPLIES 4

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
so at test time it works? Where is your activiti.cfg.xml located test time? And where at runtime?

trivedi
Champ in-the-making
Champ in-the-making
Thank you for quick response on this.

I don't have any test case written for this. Basically I have two different projects 1. web application [generates .war] 2. business workflow project [generates .bar]. By using Activiti-Probe, I use to deploy this business archive component. The file activiti.cfg.xml is part of "war" @ /WEB-INF/classes directory. I started thinking, how could "business archive" component can get access to configurations defined in "war" project, is it something possible?

Thanks,
Trivedi

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
and where is the activiti jar located? If it is ouside the war, it cannot access the custom config file.

trivedi
Champ in-the-making
Champ in-the-making
Activiti jar is located inside the WAR. My application apparently uses Activiti API for all the operations in the process workflow.

Thanks,
Trivedi