How to start tomcat with jsvc?

jsvc, tomcat

Solution

Just ran into this error myself. In my case, using the absolute path to jsvc --- `/usr/bin/jsvc` on my machine --- fixed it.

Problem

I'm trying to start tomcat with jsvc but it gives me this strange error ``` JSVC re-exec requires execution with an absolute or relative path ``` using ``` jsvc -debug -cp ./bin/bootstrap.jar:bin/tomcat-juli.jar \ -outfile ./logs/catalina.out -errfile ./logs/catalina.err \ org.apache.catalina.startup.Bootstrap ```

Original source