diff -r b5690fc25af6 -r 62b9b2533902 bin/sonews.sh --- a/bin/sonews.sh Fri Oct 14 00:45:06 2011 +0200 +++ b/bin/sonews.sh Tue Oct 18 19:45:13 2011 +0200 @@ -9,9 +9,12 @@ $NEWSROOT/lib/commons-codec-1.5.jar:\ $NEWSROOT/lib/mysql-connector-java.jar:\ $NEWSROOT/lib/javax.mail.jar:\ +$NEWSROOT/lib/saxon.jar:\ $NEWSROOT/lib/postgresql-8.3-604.jdbc4.jar:\ $NEWSROOT/lib/mysql-connector-java-5.1.7-bin.jar +JAVA_OPTIONS="-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl"; + LOGFILE=var/log/sonews.log PIDFILE=var/pid/sonews.pid ARGS=$@ @@ -23,7 +26,7 @@ case "$1" in start) echo "Starting sonews Newsserver..." - $JAVA -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE & + $JAVA $JAVA_OPTIONS -classpath $CLASSPATH $MAINCLASS $ARGS &> $LOGFILE & echo $! > $PIDFILE ;; stop)