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

index d481b1d41ac1f139505ec881feb553857787f670..2ffb18643587679e5997d99992bacae26f10ce57 100644 (file)
@@ -303,7 +303,7 @@ public class JobsBusinessContactWebSessionBean extends BaseJobsController implem
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/jjobs-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                       this.businessDataBean = (BusinessDataSessionBeanRemote) context.lookup("java:global/jjobs-ejb/businessData!org.mxchange.jcontactsbusiness.BusinessDataSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index 5cfd6c042b2ef3c9448369aab809ea270d5558b9..4596ac64b8483bd0b64fb1af254d95949cfa41dd 100644 (file)
@@ -69,7 +69,7 @@ public class JobsBusinessContactConverter implements Converter {
                                Context initialContext = new InitialContext();
 
                                // ... and user controller
-                               JobsBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/jjobs-ejb/businessContact!org.mxchange.jcontactsbusiness.BusinessContactSessionBeanRemote"); //NOI18N
+                               JobsBusinessContactConverter.BUSINESS_CONTACT_BEAN = (BusinessDataSessionBeanRemote) initialContext.lookup("java:global/jjobs-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