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

index a1077efc35c324bbf395087cee07bf7f45a50c3a..ca8995ea924b3d64a5800b840f090c302827c3f4 100644 (file)
@@ -322,7 +322,7 @@ public class FinancialsBusinessContactWebSessionBean extends BaseFinancialsContr
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/jfinancials-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/jfinancials-ejb/businessData!org.mxchange.jcontactsbusiness.BusinessDataSessionBeanRemote"); //NOI18N
 
                        // Try to lookup
                        this.adminBusinessDataBean = (BusinessDataAdminSessionBeanRemote) context.lookup("java:global/jfinancials-ejb/adminBusinessData!org.mxchange.jcontactsbusiness.BusinessDataAdminSessionBeanRemote"); //NOI18N
index 8444ce209fb1cb8fc9d1a366b59399b39a9e2299..62b6991b50db55f228425d8b1ce81541c1c63efa 100644 (file)
@@ -69,7 +69,7 @@ public class FinancialsBusinessContactConverter implements Converter {
                                Context initialContext = new InitialContext();
 
                                // ... and user controller
-                               FinancialsBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/jfinancials-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                               FinancialsBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/jfinancials-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