1.1 --- a/bin/sonews.sh Fri Oct 14 00:45:06 2011 +0200
1.2 +++ b/bin/sonews.sh Mon Oct 17 21:06:24 2011 +0200
1.3 @@ -9,9 +9,12 @@
1.4 $NEWSROOT/lib/commons-codec-1.5.jar:\
1.5 $NEWSROOT/lib/mysql-connector-java.jar:\
1.6 $NEWSROOT/lib/javax.mail.jar:\
1.7 +$NEWSROOT/lib/saxon.jar:\
1.8 $NEWSROOT/lib/postgresql-8.3-604.jdbc4.jar:\
1.9 $NEWSROOT/lib/mysql-connector-java-5.1.7-bin.jar
1.10
1.11 +JAVA_OPTIONS="-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl";
1.12 +
1.13 LOGFILE=var/log/sonews.log
1.14 PIDFILE=var/pid/sonews.pid
1.15 ARGS=$@
1.16 @@ -23,7 +26,7 @@
1.17 case "$1" in
1.18 start)
1.19 echo "Starting sonews Newsserver..."
1.20 - $JAVA -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE &
1.21 + $JAVA $JAVA_OPTIONS -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE &
1.22 echo $! > $PIDFILE
1.23 ;;
1.24 stop)