From: Roland Haeder Date: Mon, 11 Apr 2016 16:48:14 +0000 (+0200) Subject: Fixed EJB name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=943f91eb60faf93d088a5b3f9925ed9accb73134;p=jjobs-war.git Fixed EJB name --- diff --git a/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebApplicationBean.java index aa29d719..e79c5762 100644 --- a/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/country/JobsAdminCountryWebApplicationBean.java @@ -96,7 +96,7 @@ public class JobsAdminCountryWebApplicationBean implements JobsAdminCountryWebAp Context context = new InitialContext(); // Try to lookup the bean - this.countryBean = (CountrySingletonBeanRemote) context.lookup("java:global/PizzaService-ejb/country!org.mxchange.jcountry.data.CountrySingletonBeanRemote"); //NOI18N + this.countryBean = (CountrySingletonBeanRemote) context.lookup("java:global/jjobs-ejb/country!org.mxchange.jcountry.data.CountrySingletonBeanRemote"); //NOI18N } catch (final NamingException ex) { // Continue to throw throw new FaceletException(ex); diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java index a78551f1..38b05691 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java @@ -194,7 +194,7 @@ public class JobsAdminUserWebSessionBean implements JobsAdminUserWebSessionContr Context context = new InitialContext(); // Try to lookup - this.userBean = (UserSessionBeanRemote) context.lookup("java:global/PizzaService-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N + this.userBean = (UserSessionBeanRemote) context.lookup("java:global/jjobs-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N } catch (final NamingException e) { // Throw again throw new FaceletException(e);