[jboss-cvs] JBossAS SVN: r74604 - trunk/testsuite/src/main/org/jboss/test/cts/ejb.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 16 08:22:28 EDT 2008


Author: adrian at jboss.org
Date: 2008-06-16 08:22:28 -0400 (Mon, 16 Jun 2008)
New Revision: 74604

Modified:
   trunk/testsuite/src/main/org/jboss/test/cts/ejb/CallerSessionBean.java
Log:
[JBAS-5591] - Port test fix from 4.2.x

Modified: trunk/testsuite/src/main/org/jboss/test/cts/ejb/CallerSessionBean.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cts/ejb/CallerSessionBean.java	2008-06-16 12:10:03 UTC (rev 74603)
+++ trunk/testsuite/src/main/org/jboss/test/cts/ejb/CallerSessionBean.java	2008-06-16 12:22:28 UTC (rev 74604)
@@ -238,7 +238,7 @@
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
       env.setProperty(Context.OBJECT_FACTORIES, "org.jboss.naming:org.jnp.interfaces");
-      env.setProperty(Context.PROVIDER_URL, "localhost:1099");
+      env.setProperty(Context.PROVIDER_URL, System.getProperty("jboss.bind.address", "localhost") + ":1099");
 
       InitialContext ctx = new InitialContext(env);
       log.info("looking up: "+ejbName);




More information about the jboss-cvs-commits mailing list