]> git.mxchange.org Git - addressbook-war.git/commitdiff
Don't cherry-pick:
authorRoland Haeder <roland@mxchange.org>
Sat, 3 Sep 2016 12:19:55 +0000 (14:19 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 3 Sep 2016 12:19:55 +0000 (14:19 +0200)
- fixed JNDI name (possibly)

src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebRequestBean.java

index 9cf1a7bc221c0f01c294054c4fa18e04aaee8d5f..3bf27f94eeec8afa3b8dd6afa61042050ded89b4 100644 (file)
@@ -164,7 +164,7 @@ public class AddressbookAdminUserWebRequestBean extends BaseAddressbookControlle
 
                        // Try to lookup
                        this.userBean = (UserSessionBeanRemote) context.lookup("java:global/addressbook-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
-                       this.adminUserBean = (AdminUserSessionBeanRemote) context.lookup("java:global/addressbook-ejb/user!org.mxchange.jusercore.model.user.AdminUserSessionBeanRemote"); //NOI18N
+                       this.adminUserBean = (AdminUserSessionBeanRemote) context.lookup("java:global/addressbook-ejb/adminUser!org.mxchange.jusercore.model.user.AdminUserSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);