From: Roland Häder Date: Sat, 8 Jul 2017 00:05:31 +0000 (+0200) Subject: fixed JNDI names, no slash allowed. Then let's only use a-z X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a2d6a4726532feaacc31c938031eb1a1e875918f;p=addressbook-mailer-lib.git fixed JNDI names, no slash allowed. Then let's only use a-z 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 83fb568..d40c76c 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/addressbook/smtpSession"); //NOI18N + this.mailSession = (Session) context.lookup("java:global/addressbook-ejb/addressbookSmtpSession"); //NOI18N } @Override