]> git.mxchange.org Git - addressbook-mailer-lib.git/commitdiff
fixed JNDI names?
authorRoland Häder <roland@mxchange.org>
Sat, 8 Jul 2017 00:03:14 +0000 (02:03 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 8 Jul 2017 00:03:14 +0000 (02:03 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java

index 09c4acbf535e73ec2b02b1ffdb84c9db039c451e..83fb5688bd1d5fb785a7eb273174538dc72242c9 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/jfinancials-ejb/smtpSession"); //NOI18N
+               this.mailSession = (Session) context.lookup("java:global/addressbook-ejb/addressbook/smtpSession"); //NOI18N
        }
 
        @Override