Problem with Tomcat 7 on Ubuntu 14
Posted: Sun Oct 25, 2015 8:33 pm
I have been trying for a while to install OpenEMM 2015 on ubuntu 14 using the Install and Administration Guide.
I have followed the instructions closely, and Tomcat (7) itself seems to be working fine, but nevertheless, when I get to this part:
su – openemm
Do not forget the hyphen in the first line!
To start the OpenEMM environment, change to the home directory of OpenEMM and launch the start
script with
openemm.sh start
Tomcat does not start... The output to the screen looks fine (IMO):
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:14381 -15:14407 -15:14414 -15:14421 -15:14431 -15:14438 -15:14445 done.
Starting sendmails: listener * Starting Mail Transport Agent (MTA) sendmail * MTA is already running.
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 :OK
Using CATALINA_BASE: /home/openemm
Using CATALINA_HOME: /opt/openemm/tomcat
Using CATALINA_TMPDIR: /home/openemm/temp
Using JRE_HOME: /opt/openemm/java
Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar:/opt/openemm/tomcat/bin/tomcat-juli.jar
Tomcat started.
but
openemm.sh status
yields
No Tomcat process is running.
The /home/openemm/logs/catalina.out does seem to indicate a problem:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/home/openemm/lib"], exists: [false], isDirectory: [false], canRead: [false]
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/home/openemm/lib/*.jar"], exists: [false], isDirectory: [false], canRead: [false]
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/opt/openemm/tomcat/lib"], exists: [false], isDirectory: [false], canRead: [false]
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/opt/openemm/tomcat/lib/*.jar"], exists: [false], isDirectory: [false], canRead: [false]
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:208)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
I have JDK8 installed, and apparently working fine, but it looks like there is some problem with java.
Would anyone be able to give me a hint as to how I could fix this?
I have followed the instructions closely, and Tomcat (7) itself seems to be working fine, but nevertheless, when I get to this part:
su – openemm
Do not forget the hyphen in the first line!
To start the OpenEMM environment, change to the home directory of OpenEMM and launch the start
script with
openemm.sh start
Tomcat does not start... The output to the screen looks fine (IMO):
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:14381 -15:14407 -15:14414 -15:14421 -15:14431 -15:14438 -15:14445 done.
Starting sendmails: listener * Starting Mail Transport Agent (MTA) sendmail * MTA is already running.
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 :OK
Using CATALINA_BASE: /home/openemm
Using CATALINA_HOME: /opt/openemm/tomcat
Using CATALINA_TMPDIR: /home/openemm/temp
Using JRE_HOME: /opt/openemm/java
Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar:/opt/openemm/tomcat/bin/tomcat-juli.jar
Tomcat started.
but
openemm.sh status
yields
No Tomcat process is running.
The /home/openemm/logs/catalina.out does seem to indicate a problem:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/home/openemm/lib"], exists: [false], isDirectory: [false], canRead: [false]
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/home/openemm/lib/*.jar"], exists: [false], isDirectory: [false], canRead: [false]
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/opt/openemm/tomcat/lib"], exists: [false], isDirectory: [false], canRead: [false]
Oct 25, 2015 12:22:06 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015/"/opt/openemm/tomcat/lib/*.jar"], exists: [false], isDirectory: [false], canRead: [false]
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:208)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
I have JDK8 installed, and apparently working fine, but it looks like there is some problem with java.
Would anyone be able to give me a hint as to how I could fix this?