[jboss-cvs] JBossAS SVN: r87158 - projects/jboss-osgi/trunk/build/hudson/jboss/bin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Apr 10 17:32:12 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-04-10 17:32:11 -0400 (Fri, 10 Apr 2009)
New Revision: 87158

Modified:
   projects/jboss-osgi/trunk/build/hudson/jboss/bin/runjboss.sh
Log:
Add -Djava.net.preferIPv4Stack=true -Dxb.builder.useUnorderedSequence=true


Modified: projects/jboss-osgi/trunk/build/hudson/jboss/bin/runjboss.sh
===================================================================
--- projects/jboss-osgi/trunk/build/hudson/jboss/bin/runjboss.sh	2009-04-10 20:37:10 UTC (rev 87157)
+++ projects/jboss-osgi/trunk/build/hudson/jboss/bin/runjboss.sh	2009-04-10 21:32:11 UTC (rev 87158)
@@ -91,28 +91,15 @@
     fi
 fi
 
-# Setup JBosst Native library path
-JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/native"
-if [ -d "$JBOSS_NATIVE_DIR" ]; then
-    if [ "x$LD_LIBRARY_PATH" = "x" ]; then
-        LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR"
-    else
-        LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH"
-    fi
-    export LD_LIBRARY_PATH
-    if [ "x$JAVA_OPTS" = "x" ]; then
-        JAVA_OPTS="-Djava.library.path=$JBOSS_NATIVE_DIR"
-    else
-        JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_DIR"
-    fi
-fi
-
-#JPDA options. Uncomment and modify as appropriate to enable remote debugging .
-#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"
-
 # Setup JBoss sepecific properties
 JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS"
 
+# Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower
+JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
+
+# This should be removed when JBoss configuration XML files can be validated JBAS-6744
+JAVA_OPTS="$JAVA_OPTS -Dxb.builder.useUnorderedSequence=true"
+
 # Setup the java endorsed dirs
 JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
 




More information about the jboss-cvs-commits mailing list