From: Roland Häder Date: Thu, 27 Jul 2017 20:33:51 +0000 (+0200) Subject: Fixed JNDI name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=efc9773a7aef8c0ecdea7d24fe6887f57398a66f;p=jjobs-war.git Fixed JNDI name Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jjobs/beans/businesscontact/JobsBusinessContactWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/businesscontact/JobsBusinessContactWebSessionBean.java index d481b1d4..2ffb1864 100644 --- a/src/java/org/mxchange/jjobs/beans/businesscontact/JobsBusinessContactWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/businesscontact/JobsBusinessContactWebSessionBean.java @@ -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); diff --git a/src/java/org/mxchange/jjobs/converter/businesscontact/JobsBusinessContactConverter.java b/src/java/org/mxchange/jjobs/converter/businesscontact/JobsBusinessContactConverter.java index 5cfd6c04..4596ac64 100644 --- a/src/java/org/mxchange/jjobs/converter/businesscontact/JobsBusinessContactConverter.java +++ b/src/java/org/mxchange/jjobs/converter/businesscontact/JobsBusinessContactConverter.java @@ -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