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

src/java/org/mxchange/pizzaapplication/beans/user/PizzaAdminUserWebRequestBean.java

index c600125d91132db51ee0eec5a9a93953c09b1790..4c21ca6a8050ac5ec899e59cfb20f2e14eb69452 100644 (file)
@@ -164,7 +164,7 @@ public class PizzaAdminUserWebRequestBean extends BasePizzaController implements
 
                        // Try to lookup
                        this.userBean = (UserSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
-                       this.adminUserBean = (AdminUserSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/user!org.mxchange.jusercore.model.user.AdminUserSessionBeanRemote"); //NOI18N
+                       this.adminUserBean = (AdminUserSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/adminUser!org.mxchange.jusercore.model.user.AdminUserSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);