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

index 2b0a416aa8094304e59347cd98609cc30e52df93..b7ad02543ae322e1b484fc94da294a2baae2c41d 100644 (file)
@@ -94,7 +94,7 @@ public class AddressbookConfirmationLinkWebRequestBean extends BaseAddressbookCo
                        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/addressbook-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index 3402a56e96bc969ba0e5f44c538d67968563eb3d..7f85364df6ab283841d3896543402738d05b44f2 100644 (file)
@@ -78,7 +78,7 @@ public class AddressbookUserIdValidator extends BaseLongValidator implements Val
                        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/addressbook-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