]> git.mxchange.org Git - jjobs-war.git/commitdiff
wrong JNDI name fixed
authorRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 11:45:42 +0000 (13:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 11:45:42 +0000 (13:45 +0200)
src/java/org/mxchange/jjobs/beans/smsprovider/JobsSmsProviderWebApplicationBean.java
src/java/org/mxchange/jjobs/converter/smsprovider/JobsSmsProviderConverter.java

index 2314b22f4a7abd989f47bb70743d2c3647cc1a2e..ba1c5d7853b0ab167469fc8ef2c833b806c5687d 100644 (file)
@@ -62,7 +62,7 @@ public class JobsSmsProviderWebApplicationBean implements JobsSmsProviderWebAppl
                        Context context = new InitialContext();
 
                        // Try to lookup the bean
-                       this.cellphoneBean = (SmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N
+                       this.cellphoneBean = (SmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.SmsProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw
                        throw new FaceletException(ex);
index 213600e5f8b10b992f641aac858b517eb6cfcceb..250802d1e7361cffa4f14ab2275a630a317818e6 100644 (file)
@@ -63,7 +63,7 @@ public class JobsSmsProviderConverter 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 = (SmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N
+                       this.providerController = (SmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.SmsProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw it
                        throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N