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

index ac6010e3de838235628856e10377b6ae9d32a856..97bb5fb166a88eeef64986f0fe7179caa930b8c9 100644 (file)
@@ -62,7 +62,7 @@ public class AddressbookSmsProviderWebApplicationBean implements AddressbookSmsP
                        Context context = new InitialContext();
 
                        // Try to lookup the bean
-                       this.cellphoneBean = (SmsProviderSingletonBeanRemote) context.lookup("java:global/addressbook-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N
+                       this.cellphoneBean = (SmsProviderSingletonBeanRemote) context.lookup("java:global/addressbook-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.SmsProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw
                        throw new FaceletException(ex);
index 316ea1e4dca9ef0ce49c8212df7b9867f5eef40c..5e557208c043f82c70ce963e32f2b1d7053fcd15 100644 (file)
@@ -63,7 +63,7 @@ public class AddressbookSmsProviderConverter 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/addressbook-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.AddressbookSmsProviderSingletonBeanRemote"); //NOI18N
+                       this.providerController = (SmsProviderSingletonBeanRemote) context.lookup("java:global/addressbook-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