From: Roland Häder Date: Sat, 8 Jul 2017 00:03:14 +0000 (+0200) Subject: fixed JNDI names? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=843d871a5ea0ed96901cd802932b25e1601ceac3;p=addressbook-mailer-lib.git fixed JNDI names? Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java b/src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java index 09c4acb..83fb568 100644 --- a/src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java +++ b/src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java @@ -55,7 +55,7 @@ public class AddressbookMailer extends BaseMailer implements DeliverableAddressb Context context = new InitialContext(); // Try to lookup - this.mailSession = (Session) context.lookup("java:global/jfinancials-ejb/smtpSession"); //NOI18N + this.mailSession = (Session) context.lookup("java:global/addressbook-ejb/addressbook/smtpSession"); //NOI18N } @Override