[jboss-cvs] JBossAS SVN: r62752 - trunk/testsuite/src/main/org/jboss/test/testbeancluster/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 2 14:17:46 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-05-02 14:17:46 -0400 (Wed, 02 May 2007)
New Revision: 62752

Modified:
   trunk/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java
Log:
[JBAS-4387] Pass the dir of the custom jndi.properties to URLClassLoader, not the URL of the file itself.

Modified: trunk/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java	2007-05-02 18:12:22 UTC (rev 62751)
+++ trunk/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java	2007-05-02 18:17:46 UTC (rev 62752)
@@ -90,7 +90,7 @@
                // getResources("jndi.properties") request.
                // We use this to allow running the server with
                // HA-JNDI autodiscovery set to a custom address 
-               URL[] urls = new URL[]{ customJndiProperties.toURL() };
+               URL[] urls = new URL[]{ customJndiDir.toURL() };
                ClassLoader cl = new URLClassLoader(urls, tccl);
                Thread.currentThread().setContextClassLoader(cl);
             }




More information about the jboss-cvs-commits mailing list