Error: Could not find or load main class org.apache.catalina
Posted: Tue Feb 07, 2017 4:10 pm
I am about to install OpenEMM on Ubuntu 16.04 and have installed previously successfully on Ubuntu 14.04. Now I am facing the problem, that somehow OpenEMM can not see tomcat running. I followed the provided docu.
Upon version check I do get the following:
The startup script provides the following:
What might be the problem here?
Upon version check I do get the following:
Code: Select all
openemm@rex:~/bin$ ./openemm.sh version
openemm.sh: 1.0.2
Username: openemm
Hostname: rex
Error: Could not find or load main class org.apache.catalina.util.ServerInfo
Tomcat can be started manualy and reached via :8080. However if I start tomcat manualy, it will run as root user not as openemm user.
Code: Select all
openemm@rex:~/bin$ ./openemm.sh start
Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start python /home/openemm/bin/scripts/recovery.py .. done.
Start /home/openemm/bin/scripts/update.py account bounce .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes: -15:4634 -15:4678 -9:4634 done.
[ ok ing sendmails: listener [....] Starting sendmail (via systemctl): sendmail.service.
mail queues ADMIN QUEUE MIDQUEUE SLOWQUEUE done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Starting up Tomcat ......
Check Java installation :OK
Check Tomcat installation :FAILED