Skip to content
Snippets Groups Projects
Commit 54b104a8 authored by felmer's avatar felmer
Browse files

SSDM-3230: unzip sis-base*.jar, hdf5-macosx*.jar, hdf5-linux*.jar and...

SSDM-3230: unzip sis-base*.jar, hdf5-macosx*.jar, hdf5-linux*.jar and hdf5-windows*.jar to WEB_INF/lib/ and add -Dnative.libpath=lib/native to startup.sh.

SVN: 35850
parent ea9f4910
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,15 @@ test -f "$logconf_file" && cp -p "$logconf_file" "$war_classes/etc/"
echo "Make the configuration checksum file available : " $checksum_file
test -f "$checksum_file" && cp -p "$checksum_file" "$base_folder"
# unzip native libraries
LIB_FOLDER="$openbis_webapp/WEB-INF/lib"
rm -rf $LIB_FOLDER/native
unzip -q $LIB_FOLDER/sis-base-*.jar -d $LIB_FOLDER native/*
unzip -q $LIB_FOLDER/hdf5-macosx-*.jar -d $LIB_FOLDER native/*
unzip -q $LIB_FOLDER/hdf5-linux-*.jar -d $LIB_FOLDER native/*
unzip -q $LIB_FOLDER/hdf5-windows-*.jar -d $LIB_FOLDER native/*
echo installing core-plugins
if [ -f "$server_folder/../core-plugins/core-plugins.properties" ]; then
excludingStuff="-x core-plugins/core-plugins.properties"
......
......@@ -18,6 +18,7 @@ $JVM -DSTOP.PORT=$JETTY_STOP_PORT \
$JAVA_OPTS $JAVA_MEM_OPTS \
$OPENBIS_OPTS \
-Dpython.path=$JETTY_LIB_PATH \
-Dnative.libpath=$JETTY_BIN_DIR/../webapps/openbis/WEB-INF/lib/native \
-jar ../jetty-dist/start.jar --lib=lib/logging/*.jar:webapps/openbis/WEB-INF/lib/*.jar etc/jetty-started.xml >> logs/jetty.out 2>&1 &
# Write PID to PID file
......
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