From: Roland Häder Date: Sat, 8 Jul 2017 16:36:40 +0000 (+0200) Subject: maybe final resting place ... eh, JNDI name? ;-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=20723b3c635279e7f2375429ec4ba42f5d181ff6;p=pizzaservice-mailer-lib.git maybe final resting place ... eh, JNDI name? ;-) 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 d40c76c..fb23ddf 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/addressbook-ejb/addressbookSmtpSession"); //NOI18N + this.mailSession = (Session) context.lookup("java:comp/env/mail/addressbookSmtpSession"); //NOI18N } @Override