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

index 9211957a08c4a33afd9d878fcb790310858b1296..57a9fdc2b31c80b9b6eeaffda8ad44720f79cc9f 100644 (file)
@@ -62,7 +62,7 @@ public class AddressbookMobileProviderWebApplicationBean implements AddressbookM
                        Context context = new InitialContext();
 
                        // Try to lookup the bean
-                       this.cellphoneBean = (MobileProviderSingletonBeanRemote) context.lookup("java:global/addressbook-ejb/MobileProvider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
+                       this.cellphoneBean = (MobileProviderSingletonBeanRemote) context.lookup("java:global/addressbook-ejb/mobileprovider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw
                        throw new FaceletException(ex);
index 3259ba10ab53475e22669a2ee0996648ccea560d..2e435ba9852b61cee75689a5f9afd9682316d016 100644 (file)
@@ -63,7 +63,7 @@ public class AddressbookMobileProviderConverter 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/addressbook-ejb/MobileProvider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
+                       this.providerController = (MobileProviderSingletonBeanRemote) context.lookup("java:global/addressbook-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