From b40df8280bba8f4c8726389dcb39536801f8cd28 Mon Sep 17 00:00:00 2001 From: Athou Date: Sun, 30 Jun 2013 10:25:13 +0200 Subject: [PATCH] prefer ipv4 stack (fix #358) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 936cdd49..92010cc9 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,8 @@ It will generate a zip file at `target/commafeed.zip` with everything you need t * Create a directory somewhere (e.g. `/opt/commafeed/`) and extract the generated zip inside this directory. * Create a directory called `logs` (e.g. `/opt/commafeed/logs`) -* On Linux, create the file `bin/setenv.sh` and put the following in it : `export JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"` -* On Windows, create the file `bin/setenv.bat` and put the following in it : `set JAVA_OPTS=-Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC` +* On Linux, create the file `bin/setenv.sh` and put the following in it : `export JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"` +* On Windows, create the file `bin/setenv.bat` and put the following in it : `set JAVA_OPTS=-Djava.net.preferIPv4Stack=true -Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC` * If you don't use the embedded database, create a database in your external database instance, then uncomment the `Resource` element corresponding to the database engine you use from `conf/tomee.xml` and edit the default credentials. * If you'd like to change the default port (8082), edit `conf/server.xml` and look for `