]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Fixed JNDI name
authorRoland Häder <roland@mxchange.org>
Thu, 27 Jul 2017 20:34:12 +0000 (22:34 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 27 Jul 2017 20:34:12 +0000 (22:34 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaBusinessContactWebSessionBean.java
src/java/org/mxchange/pizzaapplication/converter/businesscontact/PizzaBusinessContactConverter.java

index c61c5e0746ec959f5a0d6b90309705161507614b..9bbd6b355bff9efbfb07d93d371f76bff0798e9f 100644 (file)
@@ -303,7 +303,7 @@ public class PizzaBusinessContactWebSessionBean extends BasePizzaController impl
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/pizzaapplication-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/pizzaapplication-ejb/businessData!org.mxchange.jcontactsbusiness.BusinessDataSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index bfd590e94b25e92b21092ff312a82a39f27ea086..930f55e56f060475766d543ab74aaad4b8c32e63 100644 (file)
@@ -69,7 +69,7 @@ public class PizzaBusinessContactConverter implements Converter {
                                Context initialContext = new InitialContext();
 
                                // ... and user controller
-                               PizzaBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/pizzaapplication-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                               PizzaBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/pizzaapplication-ejb/businessData!org.mxchange.jcontactsbusiness.BusinessDataSessionBeanRemote"); //NOI18N
                        } catch (final NamingException ex) {
                                // Continue to throw it
                                throw new ConverterException(MessageFormat.format("initialContext.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N