I run the vcat tool in my own Tomcat installation using Kubernetes. All I configured was for the Tomcat to listen on port 8000, and I use the following command to start it:
webservice --backend=kubernetes jdk8 start '/data/project/vcat/tomcat/bin/catalina.sh run'
This has been working fine for months, until yesterday. According to the access logs the last request was served at 10/Feb/2020 21:45:12 UTC.
The output from "kubectl logs ..." shows this error message:
usage: webservice-runner [-h] [--type {tomcat,nodejs,generic,lighttpd,lighttpd-plain,uwsgi-plain,uwsgi-python}] [--extra_args EXTRA_ARGS] [--port PORT] [--register-proxy] webservice-runner: error: unrecognized arguments: d a t a / p r o j e c t / v c a t / t o m c a t / b i n / c a t a l i n a . s h r u n
Looks like somehow the parameters are not handed over to webservice-runner correctly. service.manifest seems fine to me:
# This file is used by Toolforge infrastructure. # Please do not edit manually at this time. backend: kubernetes distribution: debian version: 2 web: jdk8 web::extra_args: /data/project/vcat/tomcat/bin/catalina.sh run
I have tried the following so far, with no noticable changes:
- Using jdk11 instead of jdk8.
- Creating a separate start script that requires no parameters.
According to "webservice status" the webservice is supposed to be running right now and I have disabled all cron jobs that would attempt to restart it.