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).
chris@1
     1
#!/bin/bash
chris@1
     2
export CLASSPATH=/usr/share/java/jchart2d.jar:/usr/share/java/sonews.jar
chris@1
     3
ARG0=org.sonews.web.SonewsServlet@sonews
chris@1
     4
ARG1=org.sonews.web.SonewsConfigServlet@sonews/config
chris@1
     5
ARG2=org.sonews.web.SonewsPeerServlet@sonews/peer
chris@1
     6
ARG3=org.sonews.web.SonewsChartServlet@sonews/chart
chris@1
     7
/usr/bin/kitten -s $ARG0 -s $ARG1 -s $ARG2 -s $ARG3