Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-5204

[6.5.x] Cannot send email notifications for users defined in properties file

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 6.4.11.GA
    • Fix Version/s: 6.4.11.GA
    • Component/s: Kie-Server
    • Labels:
    • Environment:

      reproduced in EAP 6.4.20 (possibly reproducible on other servers too)
      Kie server 6.4.11
      User info defined in file userinfo.properties

    • Affects Build:
      CR1
    • Target Release:
    • Fix Build:
      CR2
    • Steps to Reproduce:
      Hide

      Download and install EAP 6.4.20.
      Download and install Kie server 6.4.11 CR1
      Configure Mail resource to point to SMTP server.
      Set system property org.jbpm.ht.userinfo to props
      Set system property jbpm.user.info.properties to file with user info.
      Set system property org.kie.mail.session to JNDI for Mail resource.
      Start EAP, deploy a process with escalation into the Kie server and start the process, wait for escalation.

      Show
      Download and install EAP 6.4.20. Download and install Kie server 6.4.11 CR1 Configure Mail resource to point to SMTP server. Set system property org.jbpm.ht.userinfo to props Set system property jbpm.user.info.properties to file with user info. Set system property org.kie.mail.session to JNDI for Mail resource. Start EAP, deploy a process with escalation into the Kie server and start the process, wait for escalation.

      Description

      The issue can be reproduced in Kie server.
      In case user informations (with Email addresses) are defined using properties file then escalation emails are not sent, server log shows this error:

      ERROR [org.jbpm.services.task.deadlines.notifications.impl.email.EmailNotificationListener] (EJB default - 10) Unable to send email notification due to No EMail address found for Administrator
      

      This behaviour is a regression as mentioned functionality worked correctly in Kie server 6.4.10.
      The issue can be reproduced using UserTaskEscalationIntegrationTest. Complete server log is attached.
      The issue can be reproduced in upstream using branch 6.5.x with the test above running on EAP 6.4.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  ksuta Karel Suta
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: