Community

Error sending email in jbpm-4.2

created by carlos mauricio jaramillo henao in jBPM - View the full discussion

Hi

 

Currently I have a  problem, what happens is that I want to notify a user by e-mail that  has a task. I searched lot on the web but I can not  find the problem. I'm using jbpm-4.2 with  apache-tomcat-6.0

 

Example process

 

  <start g="13,13,48,48" name="inicio">
        <transition to="enviar"/>
   </start>

 

  <mail g="274,755,86,40" name="enviar">
        <to addresses="carlosj@audifarma.com.co"/>
        <cc addresses="cmjhingeniero@yahoo.es"/>
        <subject>Prueba</subject>
        <text>Prueba</text>
        <transition to="despacho caf"/>
   </mail>
  
   <task candidate-groups="caf" form="com/procesos/interfaces/nCaf.jsp" g="352,695,92,52" name="despacho caf">
        <notification>
            <to addresses="carlosj@audifarma.com.co"/>
            <cc addresses="cmjhingeniero@yahoo.es"/>
            <subject>Prueba 2</subject>
            <text>Prueba 2</text>
        </notification>
        <transition to="fin"/>
   </task>

 

<end g="1082,228,48,48" name="fin"/>

 

Archive jbpm.cfg.xml

 

<jbpm-configuration>

  <import resource="jbpm.default.cfg.xml" />
  <import resource="jbpm.businesscalendar.cfg.xml" />
  <import resource="jbpm.tx.hibernate.cfg.xml" />
  <import resource="jbpm.jpdl.cfg.xml" />
  <import resource="jbpm.identity.cfg.xml" />
  <import resource="jbpm.jobexecutor.cfg.xml" />
  <import resource="jbpm.mail.templates.examples.xml" />
  <string name='resource.mail.properties' value='jbpm.mail.properties' />
</jbpm-configuration>

 

Archive jbpm.mail.properties

 

mail.smtp.host 10.1.1.20
mail.smtp.port 25
mail.from carlosj@audifarma.com.co

 

Help me  not to review. Annex the error in the tomcat log

Reply to this message by going to Community

Start a new discussion in jBPM at Community