App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Applicationintegration
#App Connect
#AppConnect
 View Only
Expand all | Collapse all

IBM ACE v12 getting error while using EmailOutput node with NoSuchProviderException error

  • 1.  IBM ACE v12 getting error while using EmailOutput node with NoSuchProviderException error

    Posted Fri December 08, 2023 10:57 AM

    Hi Team,

    We are doing migration from IBM v10 to ACE v12, we are not sure about configurations we done in IIB v10 for SMTP server. We are not using Security Identity in EmailOutput node to connect to SMTP server. I am getting below error while testing in ACE v12 where as in IIB v10 no error getting email.

    ACE[4307]: IBM App Connect Enterprise v120100 (TEST.DEBUG_EG) [Thread 24093] (Msg 3/4) BIP4459E: The EmailOutput node received a Java exception when it tried to create an e-mail and send it to the SMTP server. The stack trace from the exception is com.ibm.broker.emailnodes.EmailOutputNode : jakarta.mail.NoSuchProviderException: smtp #011at jakarta.mail.Session.getService(Session.java:858) #011at jakarta.mail.Session.getTransport(Session.java:790) #011at jakarta.mail.Session.getTransport(Session.java:735) #011at jakarta.mail.Session.getTransport(Session.java:715) #011at com.ibm.broker.emailnodes.EmailOutputNode.sendMail(EmailOutputNode.java:463) #011at com.ibm.broker.emailnodes.EmailOutputNode.sendBasicEmail(EmailOutputNode.java:515) #011at com.ibm.broker.emailnodes.EmailOutputNode.sendData(EmailOutputNode.java:384) #011at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(MbOutputTemplateNode.java:53) .



    ------------------------------
    Sunil Kumar Sure
    ------------------------------


  • 2.  RE: IBM ACE v12 getting error while using EmailOutput node with NoSuchProviderException error

    Posted Sun December 10, 2023 07:50 AM
    Edited by Irfan Shahzad Sun December 10, 2023 08:28 AM

    Hi Sunil, you need to share more details in order to identify the root cause of the issue.

    I have created a simple application to test email output and it's working fine and test smtp server is able to receive the email. Can you share the environment details along with the output of the following command from where you are deploying the application to Integration Server. Execute command: java -version and compare it to the attached snapshot.

    As par my understanding, ACE should be using legacy javax.mail.* package rather new jakarta.mail.* package as shown in your exception trace.



    ------------------------------
    Irfan Shahzad
    Integration Architect
    ------------------------------

    Attachment(s)

    zip
    email-app.zip   2 KB 1 version