Error: Could not find or load main class org.apache.catalina

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

Error: Could not find or load main class org.apache.catalina

Postby johannes_77 » 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:

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.


The startup script provides the following:

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


What might be the problem here?
Johannes Siebert
johannes_77
 
Posts: 19
Joined: Mon Mar 09, 2009 8:47 pm

Re: Error: Could not find or load main class org.apache.cata

Postby maschoff » Tue Feb 07, 2017 9:27 pm

Have you checked this thread: installation-upgrades-f2/topic3079.html
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2131
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany


Return to Installation & Upgrades

Who is online

Users browsing this forum: No registered users and 1 guest

cron