[jboss-cvs] JBossAS SVN: r70066 - in branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss: ejb3 and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 25 14:02:27 EST 2008


Author: bdecoste
Date: 2008-02-25 14:02:27 -0500 (Mon, 25 Feb 2008)
New Revision: 70066

Modified:
   branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/annotation/ejb/RemoteBindingImpl.java
   branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/ProxyFactoryHelper.java
Log:
[JBPAPP-628] [JBPAPP-629] binding 0.0.0.0 clientBindUrl to correct Connector

Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/annotation/ejb/RemoteBindingImpl.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/annotation/ejb/RemoteBindingImpl.java	2008-02-25 17:40:19 UTC (rev 70065)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/annotation/ejb/RemoteBindingImpl.java	2008-02-25 19:02:27 UTC (rev 70066)
@@ -57,6 +57,7 @@
       this.jndi = jndi;
       this.stack = stack;
       this.bindUrl = bindUrl;
+      this.invokerName = "";
       this.proxyFactory = proxyFactory;
    }
    

Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/ProxyFactoryHelper.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/ProxyFactoryHelper.java	2008-02-25 17:40:19 UTC (rev 70065)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/ProxyFactoryHelper.java	2008-02-25 19:02:27 UTC (rev 70066)
@@ -582,7 +582,7 @@
       String clientBindUrl = binding.clientBindUrl();
       if (clientBindUrl.trim().length() == 0)
       {
-         if (binding.invokerName().trim().length() != 0)
+         if (binding.invokerName() != null && binding.invokerName().trim().length() != 0)
          {
             try
             {




More information about the jboss-cvs-commits mailing list