Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2590

mail activities do not work with the Tomcat demo setup: javax.mail.NoSuchProviderException: smtp

XMLWordPrintable

      Using the mail activity in a process definition does not work as soon as the process is deployed to the jBPM installation on Tomcat. The mail activity works fine in a unit test. The following exception is thrown when the execution reaches the mail activity:

      Caused by: javax.mail.NoSuchProviderException: smtp
      at javax.mail.Session.getService(Session.java:794)
      at javax.mail.Session.getTransport(Session.java:718)
      at javax.mail.Session.getTransport(Session.java:661)
      at javax.mail.Session.getTransport(Session.java:641)
      at javax.mail.Session.getTransport(Session.java:696)
      at org.jbpm.pvm.internal.email.impl.MailSessionImpl.send(MailSessionImpl
      .java:48)

            tom.baeyens Tom Baeyens (Inactive)
            sebastian.s Sebastian Schneider (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: