[jboss-cvs] JBossAS SVN: r62751 - branches/Branch_4_2/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:12:22 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-05-02 14:12:22 -0400 (Wed, 02 May 2007)
New Revision: 62751
Modified:
branches/Branch_4_2/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: branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java 2007-05-02 18:11:40 UTC (rev 62750)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/testbeancluster/test/RetryInterceptorUnitTestCase.java 2007-05-02 18:12:22 UTC (rev 62751)
@@ -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