3

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
Chathuranga Chandrasekara
  • 20,548
  • 30
  • 97
  • 138
Guillaume Massé
  • 8,004
  • 8
  • 44
  • 57

2 Answers2

5

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

chetan
  • 350
  • 3
  • 10
-2

I run Tomcat by double-click startup.sh file on $CATALINA_HOME/bin folder. After that, I enter this URL http://localhost:8080/ in the browser and it runs.

DMKE
  • 4,553
  • 1
  • 31
  • 50