From a2d6a4726532feaacc31c938031eb1a1e875918f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 8 Jul 2017 02:05:31 +0200 Subject: [PATCH] fixed JNDI names, no slash allowed. Then let's only use a-z 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 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 -- 2.39.5