Mercurial > dive4elements > river
view contrib/make_flys_release/bin/run.sh @ 5200:42bb6ff78d1b 2.9.11
Directly set the connectionInitSqls on the datasource
Somehow the factory fails to set the connectionInitSqls if
we add it to the dbcpProperties. So we now set it directly
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 08 Mar 2013 11:48:33 +0100 |
parents | 7e82d51c5a27 |
children | 28e3019a6b14 |
line wrap: on
line source
#!/bin/bash APP=de.intevation.artifactdatabase.App DIR=`dirname $0`/.. DIR=`readlink -f "$DIR"` CLASSPATH= for l in `find "$DIR/bin/lib" -name \*.jar -print`; do CLASSPATH=$CLASSPATH:$l done export CLASSPATH exec java -Xmx256m \ -server \ -Djava.awt.headless=true \ -Dflys.datacage.recommendations.development=false \ -Djava.io.tmpdir="$DIR/cache" \ -Dflys.backend.enablejmx=true \ -Dflys.uesk.keep.artifactsdir=false \ -Dwsplgen.bin.path="$DIR/bin/wsplgen.exe" \ -Dwsplgen.log.output=false \ -Dartifact.database.dir="$DIR/conf" \ $APP