]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
fixed JNDI name?
authorRoland Haeder <roland@mxchange.org>
Thu, 26 May 2016 15:24:22 +0000 (17:24 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 26 May 2016 15:24:22 +0000 (17:24 +0200)
src/java/org/mxchange/pizzaapplication/beans/confirmlink/PizzaConfirmationLinkWebRequestBean.java
src/java/org/mxchange/pizzaapplication/validator/user/PizzaUserIdValidator.java

index a5fba5a1911a7fb3007c0f39f370286e494bacb4..4fada4beb5ace6d9dd6f861e33c04045d8d791df 100644 (file)
@@ -94,7 +94,7 @@ public class PizzaConfirmationLinkWebRequestBean extends BasePizzaController imp
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.userBean = (UserSessionBeanRemote) context.lookup("java:global/jlandingpage-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
+                       this.userBean = (UserSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index 8d4f754b93e13bacd3832c8369ee384bfaa3f7a6..b66c46d68a7f3bd2512a74b084acb6635ee8f747 100644 (file)
@@ -78,7 +78,7 @@ public class PizzaUserIdValidator extends BaseLongValidator implements Validator
                        this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
 
                        // ... and user controller
-                       this.userBean = (UserSessionBeanRemote) context.lookup("java:global/jlandingpage-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
+                       this.userBean = (UserSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw it
                        throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N