]> git.mxchange.org Git - jjobs-mailer-lib.git/commitdiff
fixed JNDI names, no slash allowed. Then let's only use a-z
authorRoland Häder <roland@mxchange.org>
Sat, 8 Jul 2017 00:05:31 +0000 (02:05 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 8 Jul 2017 00:05:31 +0000 (02:05 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java

index 83fb5688bd1d5fb785a7eb273174538dc72242c9..d40c76caafc9c40e194bc59b3fef3fdba3f01310 100644 (file)
@@ -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