forked from orientechnologies/orientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue orientechnologies#1322 adding -Djava.awt.headless=true to…
… all .bat and -sh
- Loading branch information
Showing
12 changed files
with
10 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,6 @@ LOG_FILE_LEVEL=fine | |
WWW_PATH=$ORIENTDB_HOME/www | ||
#UNCOMMENT BELOW TO DISABLE THE CACHE | ||
ORIENTDB_SETTINGS=-Dcache.level1.enabled=false | ||
JAVA_OPTS_SCRIPT=-XX:+HeapDumpOnOutOfMemoryError | ||
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true" | ||
|
||
java -server $JAVA_OPTS $JAVA_OPTS_SCRIPT $ORIENTDB_SETTINGS -Djava.util.logging.config.file="$LOG_FILE" -Dorientdb.config.file="$CONFIG_FILE" -Dorientdb.www.path="$WWW_PATH" -Dorientdb.build.number="@BUILD@" -cp "$ORIENTDB_HOME/lib/orientdb-server-@[email protected]:$ORIENTDB_HOME/lib/*" com.orientechnologies.orient.server.OServerMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,6 @@ LOG_FILE_LEVEL=fine | |
WWW_PATH=$ORIENTDB_HOME/www | ||
#UNCOMMENT BELOW TO DISABLE THE CACHE | ||
ORIENTDB_SETTINGS=-Dcache.level1.enabled=false | ||
JAVA_OPTS_SCRIPT=-XX:+HeapDumpOnOutOfMemoryError | ||
JAVA_OPTS_SCRIPT="-XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true" | ||
|
||
java -server $JAVA_OPTS $JAVA_OPTS_SCRIPT $ORIENTDB_SETTINGS -Djava.util.logging.config.file="$LOG_FILE" -Dorientdb.config.file="$CONFIG_FILE" -Dorientdb.www.path="$WWW_PATH" -Dorientdb.build.number="@BUILD@" -cp "$ORIENTDB_HOME/lib/orientdb-server-@[email protected]:$ORIENTDB_HOME/lib/*" com.orientechnologies.orient.server.OServerMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ PRGDIR=`dirname "$PRG"` | |
[ -f "$ORIENTDB_HOME"/lib/orientdb-tools-@[email protected] ] || ORIENTDB_HOME=`cd "$PRGDIR/.." ; pwd` | ||
export ORIENTDB_HOME | ||
|
||
ORIENTDB_SETTINGS="-Dcache.level1.enabled=false -Dcache.level2.enabled=false -Djava.util.logging.config.file=$ORIENTDB_HOME/config/orientdb-client-log.properties" | ||
ORIENTDB_SETTINGS="-Dcache.level1.enabled=false -Dcache.level2.enabled=false -Djava.util.logging.config.file=$ORIENTDB_HOME/config/orientdb-client-log.properties -Djava.awt.headless=true" | ||
#JAVA_OPTS=-Xmx1024m | ||
|
||
java -client $JAVA_OPTS $ORIENTDB_SETTINGS -Dfile.encoding=utf-8 -Dorientdb.build.number="@BUILD@" -cp "$ORIENTDB_HOME/lib/orientdb-tools-@[email protected]:$ORIENTDB_HOME/lib/*" com.orientechnologies.orient.graph.console.OGremlinConsole $* |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ if NOT exist "%CONFIG_FILE%" set CONFIG_FILE=%ORIENTDB_HOME%/config/orientdb-ser | |
set LOG_FILE=%ORIENTDB_HOME%/config/orientdb-server-log.properties | ||
set LOG_LEVEL=warning | ||
set WWW_PATH=%ORIENTDB_HOME%/www | ||
REM set JAVA_OPTS=-Xms1024m -Xmx1024m | ||
set JAVA_OPTS=-Djava.awt.headless=true | ||
|
||
call %JAVA% -client %JAVA_OPTS% -Dorientdb.config.file="%CONFIG_FILE%" -cp "%ORIENTDB_HOME%\lib\orientdb-tools-@[email protected];%ORIENTDB_HOME%\lib\*" com.orientechnologies.orient.server.OServerShutdownMain %CMD_LINE_ARGS% | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ fi | |
LOG_FILE=$ORIENTDB_HOME/config/orientdb-server-log.properties | ||
LOG_LEVEL=warning | ||
WWW_PATH=$ORIENTDB_HOME/www | ||
#JAVA_OPTS=-Xms1024m -Xmx1024m | ||
JAVA_OPTS=-Djava.awt.headless=true | ||
|
||
java -client $JAVA_OPTS -Dorientdb.config.file="$CONFIG_FILE" -cp "$ORIENTDB_HOME/lib/orientdb-tools-@[email protected]:$ORIENTDB_HOME/lib/*" com.orientechnologies.orient.server.OServerShutdownMain $* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ PRGDIR=`dirname "$PRG"` | |
[ -f "$ORIENTDB_HOME"/lib/orientdb-tools-@[email protected] ] || ORIENTDB_HOME=`cd "$PRGDIR/.." ; pwd` | ||
export ORIENTDB_HOME | ||
|
||
ORIENTDB_SETTINGS="-Dcache.level1.enabled=false -Dcache.level2.enabled=false -Djava.util.logging.config.file=$ORIENTDB_HOME/config/orientdb-client-log.properties" | ||
ORIENTDB_SETTINGS="-Dcache.level1.enabled=false -Dcache.level2.enabled=false -Djava.util.logging.config.file=$ORIENTDB_HOME/config/orientdb-client-log.properties -Djava.awt.headless=true" | ||
#JAVA_OPTS=-Xmx1024m | ||
|
||
java -client $JAVA_OPTS $ORIENTDB_SETTINGS -Dfile.encoding=utf-8 -Dorientdb.build.number="@BUILD@" -cp "$ORIENTDB_HOME/lib/orientdb-tools-@[email protected]:$ORIENTDB_HOME/lib/*" com.orientechnologies.orient.console.OConsoleDatabaseApp $* |