From 20723b3c635279e7f2375429ec4ba42f5d181ff6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 8 Jul 2017 18:36:40 +0200 Subject: [PATCH] maybe final resting place ... eh, JNDI name? ;-) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../addressbook/mailer/model/delivery/AddressbookMailer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5