]> git.mxchange.org Git - jjobs-mailer-lib.git/commitdiff
maybe final resting place ... eh, JNDI name? ;-)
authorRoland Häder <roland@mxchange.org>
Sat, 8 Jul 2017 16:36:40 +0000 (18:36 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 8 Jul 2017 16:36:40 +0000 (18:36 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java

index d40c76caafc9c40e194bc59b3fef3fdba3f01310..fb23ddf59e56dda8da592136967210f447603d03 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/addressbookSmtpSession"); //NOI18N
+               this.mailSession = (Session) context.lookup("java:comp/env/mail/addressbookSmtpSession"); //NOI18N
        }
 
        @Override