--- build.xml.org	2007-05-01 09:25:55.000000000 -0400
+++ build.xml	2007-05-01 09:27:46.000000000 -0400
@@ -382,6 +382,7 @@
         <junit printsummary="yes" timeout="${unittest.timeout.low}" fork="yes">
             <jvmarg value="-Djgroups.bind_addr=${jgroups.bind_addr}"/>
             <jvmarg value="-Djgroups.tcpping.initial_hosts=${jgroups.tcpping.initial_hosts}"/>
+            <jvmarg value="-Djava.net.preferIPv4Stack=true"/>
             <classpath refid="jg.classpath"/>
             <formatter type="brief" usefile="false"/>
             <batchtest todir="${tmp.dir}">
@@ -400,7 +401,8 @@
             <jvmarg value="-Djgroups.bind_addr=${jgroups.bind_addr}"/>
             <jvmarg value="-Djgroups.tcpping.initial_hosts=${jgroups.tcpping.initial_hosts}"/>
             <jvmarg value="-Dtests.tmp.dir=${tmp.dir}"/>
-            <jvmarg value="-Dlog4j.configuration=file:c:\log4j.properties"/>
+            <jvmarg value="-Dlog4j.configuration=file:conf/log4j.properties"/>
+            <jvmarg value="-Djava.net.preferIPv4Stack=true"/>
             <classpath refid="jg.classpath"/>
             <formatter type="xml" usefile="true"/>
             <batchtest todir="${tmp.dir}/tests-results">
