helpers/sonews-web
author cli
Sun, 09 May 2010 12:38:46 +0200
changeset 30 146b3275b792
parent 1 6fceb66e1ad7
permissions -rw-r--r--
The StorageBackendException is catched two times so that the user see the "500 internal server error" only at the second catch (probably fixes #5).
     1 #!/bin/bash
     2 export CLASSPATH=/usr/share/java/jchart2d.jar:/usr/share/java/sonews.jar
     3 ARG0=org.sonews.web.SonewsServlet@sonews
     4 ARG1=org.sonews.web.SonewsConfigServlet@sonews/config
     5 ARG2=org.sonews.web.SonewsPeerServlet@sonews/peer
     6 ARG3=org.sonews.web.SonewsChartServlet@sonews/chart
     7 /usr/bin/kitten -s $ARG0 -s $ARG1 -s $ARG2 -s $ARG3