Tomcat 7 not starting on Debian (Problem with directory)
Posted: Tue Aug 18, 2015 5:03 pm
Hello all,
I'm installing OpenEMM 2015 R2 on a Debian Wheezy. I followed step by step the InstallAdminGuide up to step 6.4 (Start and Stop OpenEMM). If I type "openemm.sh start" I get this (good looking) output:
So everything seems to be fine. But tomcat is not running. Tomcat works fine if I start it separately (I can access the default tomcat site).
The catalina.out log shows me the following:
So for me it looks like that the directory variable is messed up. (he added "/home/openemm-2015-r2" at the beginning of every path).
But I can't find out why he's doing this or in which script that happens.
Do you have any ideas to solve this problem?
Many thanks in advance.
Regards,
Steffen
I'm installing OpenEMM 2015 R2 on a Debian Wheezy. I followed step by step the InstallAdminGuide up to step 6.4 (Start and Stop OpenEMM). If I type "openemm.sh start" I get this (good looking) output:
Code: Select all
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: done.
[warning sendmails: listener [....] Starting Mail Transport Agent (MTA): sendmail[....] MTA is already running. ... (warning).
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.
The catalina.out log shows me the following:
Code: Select all
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Aug 18, 2015 5:46:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015-r2/"/home/openemm/lib"], exists: [false], isDirectory: [false], canRead: [false]
Aug 18, 2015 5:46:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015-r2/"/home/openemm/lib/*.jar"], exists: [false], isDirectory: [false], canRead: [false]
Aug 18, 2015 5:46:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015-r2/"/opt/openemm/tomcat/lib"], exists: [false], isDirectory: [false], canRead: [false]
Aug 18, 2015 5:46:44 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/openemm-2015-r2/"/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:235)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
But I can't find out why he's doing this or in which script that happens.
Do you have any ideas to solve this problem?
Many thanks in advance.
Regards,
Steffen