Skip to content
Snippets Groups Projects
Commit 4871a379 authored by felmer's avatar felmer
Browse files

Merge branch 'master' of sissource.ethz.ch:sispub/openbis

parents 97056ad9 7528861d
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ JAVA_OPTS=${JAVA_OPTS:=-server -d64 -Djavax.net.ssl.trustStore=etc/openBIS.keyst ...@@ -15,7 +15,7 @@ JAVA_OPTS=${JAVA_OPTS:=-server -d64 -Djavax.net.ssl.trustStore=etc/openBIS.keyst
# #
# Memory options to the JRE # Memory options to the JRE
# #
JAVA_MEM_OPTS="-Xmx2048m -Xms512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" JAVA_MEM_OPTS="-Xmx2048m -Xms512m -XX:MaxPermSize=256m -XX:+UseG1GC -XX:+CMSClassUnloadingEnabled"
# #
# Maximal number of log files to keep # Maximal number of log files to keep
......
...@@ -11,10 +11,10 @@ fi ...@@ -11,10 +11,10 @@ fi
if [[ "$_java" ]]; then if [[ "$_java" ]]; then
version=$("$_java" -version 2>&1 | awk -F '"' '/version/ {print $2}'| cut -c1-3) version=$("$_java" -version 2>&1 | awk -F '"' '/version/ {print $2}'| cut -c1-3)
if [[ "$version" > "1.6" ]]; then if [[ "$version" > "1.7" ]]; then
echo Java version $version found. echo Java version $version found.
else else
echo Java version $version found is under the required 1.7. echo Java version $version found is under the required 1.8.
exit -1 exit -1
fi fi
fi fi
......
...@@ -11,10 +11,10 @@ fi ...@@ -11,10 +11,10 @@ fi
if [[ "$_java" ]]; then if [[ "$_java" ]]; then
version=$("$_java" -version 2>&1 | awk -F '"' '/version/ {print $2}'| cut -c1-3) version=$("$_java" -version 2>&1 | awk -F '"' '/version/ {print $2}'| cut -c1-3)
if [[ "$version" > "1.6" ]]; then if [[ "$version" > "1.7" ]]; then
echo Java version $version found. echo Java version $version found.
else else
echo Java version $version found is under the required 1.7. echo Java version $version found is under the required 1.8.
exit -1 exit -1
fi fi
fi fi
......
...@@ -15,7 +15,7 @@ JAVA_OPTS=${JAVA_OPTS:=-server -d64} ...@@ -15,7 +15,7 @@ JAVA_OPTS=${JAVA_OPTS:=-server -d64}
# #
# Memory options to the JRE # Memory options to the JRE
# #
JAVA_MEM_OPTS="-Xmx2048m -Xms512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" JAVA_MEM_OPTS="-Xmx2048m -Xms512m -XX:MaxPermSize=256m -XX:+UseG1GC -XX:+CMSClassUnloadingEnabled"
# #
# OpenBIS options # OpenBIS options
......
...@@ -422,7 +422,7 @@ function SampleFormController(mainController, mode, sample, paginationInfo) { ...@@ -422,7 +422,7 @@ function SampleFormController(mainController, mode, sample, paginationInfo) {
mainController.serverFacade.deleteSamples(samplesToDelete, "Deleted to trashcan from eln sample form " + _this._sampleFormModel.sample.identifier, mainController.serverFacade.deleteSamples(samplesToDelete, "Deleted to trashcan from eln sample form " + _this._sampleFormModel.sample.identifier,
function(response) { function(response) {
if(response.error) { if(response.error) {
Util.showError("Deletes failed, other changes where commited: " + response.error.message, callbackOk); Util.showError("Deletions failed, other changes were committed: " + response.error.message, callbackOk);
} else { } else {
Util.showSuccess(message, callbackOk); Util.showSuccess(message, callbackOk);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment