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

index a5f0fc9596d56e87983ac82ce69f7f6068a7ac41..975e485eb976d233dd996febcf62ed1b0dcd4b1f 100644 (file)
@@ -303,7 +303,7 @@ public class AddressbookBusinessContactWebSessionBean extends BaseAddressbookCon
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/addressbook-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/addressbook-ejb/businessData!org.mxchange.jcontactsbusiness.BusinessDataSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index 375279a8dfd2796cfebe1ab4ce418b0e8eb04dd8..24cc4cbdc5d32a09733f1fb770fa79d2134d522f 100644 (file)
@@ -69,7 +69,7 @@ public class AddressbookBusinessContactConverter implements Converter {
                                Context initialContext = new InitialContext();
 
                                // ... and user controller
-                               AddressbookBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/addressbook-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                               AddressbookBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/addressbook-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