]> git.mxchange.org Git - jjobs-war.git/commitdiff
fixed JNDI names
authorRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 20:46:43 +0000 (22:46 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 20:46:43 +0000 (22:46 +0200)
src/java/org/mxchange/jjobs/beans/mobileprovider/JobsMobileProviderWebApplicationBean.java
src/java/org/mxchange/jjobs/converter/mobileprovider/JobsMobileProviderConverter.java

index 85cd9fa1af573b03c5e12b7edd9a3eae4a2dd7dc..c51927ce6e446c78aeef7fce49fe6650a5bd1e03 100644 (file)
@@ -62,7 +62,7 @@ public class JobsMobileProviderWebApplicationBean implements JobsMobileProviderW
                        Context context = new InitialContext();
 
                        // Try to lookup the bean
-                       this.cellphoneBean = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/MobileProvider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
+                       this.cellphoneBean = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/mobileprovider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw
                        throw new FaceletException(ex);
index 9e765ee57f5669d42145a9c6ae926361f7c45682..6cebf1da3984f1a36e4d5ef2a9c56ab6dde9ed3f 100644 (file)
@@ -63,7 +63,7 @@ public class JobsMobileProviderConverter implements Converter {
                        this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
 
                        /// and SMS provider controller
-                       this.providerController = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/MobileProvider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
+                       this.providerController = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/mobileprovider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw it
                        throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N