]> git.mxchange.org Git - addressbook-war.git/blobdiff - src/java/org/mxchange/addressbook/beans/email_address/EmailChangeWebSessionBean.java
used "correct" JNDI name (TODO: Need to change these all - non-portable - to portable...
[addressbook-war.git] / src / java / org / mxchange / addressbook / beans / email_address / EmailChangeWebSessionBean.java
index 0ac421173ea85b52c4cf5c1509ef27f82ea8b94a..0ecf605e6dba2b99d0060fc895dd7a2c9a5ca30a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 quix0r
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -84,7 +84,7 @@ public class EmailChangeWebSessionBean implements EmailChangeWebSessionControlle
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.emailBean = (EmailChangeSessionBeanRemote) context.lookup("ejb/stateless-jjobs-email-change"); //NOI18N
+                       this.emailBean = (EmailChangeSessionBeanRemote) context.lookup("ejb/stateless-addressbook-email-change"); //NOI18N
 
                        // Init list
                        this.emailAddresses = this.emailBean.allQueuedAddressesAsList();