Hello,
I tried to setup my first ciphermail on an CetOS 7 based virtual
machine, like described here:
https://www.ciphermail.com/documents/quick-install-guide.txt
If I try to start tomcat the following error occurred:
Jun 26 16:26:24 vml000127 systemd: Starting Apache Tomcat Web
Application Container...
Jun 26 16:26:24 vml000127 systemd: Started Apache Tomcat Web
Application Container.
Jun 26 16:26:24 vml000127 server: Java virtual machine used:
/usr/lib/jvm/jre/bin/java
Jun 26 16:26:24 vml000127 server: classpath used:
/usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.ja
r:/usr/share/java/commons-daemon.jar
Jun 26 16:26:24 vml000127 server: main class used:
org.apache.catalina.startup.Bootstrap
Jun 26 16:26:24 vml000127 server: flags used: $JAVA_OPTS
- -Djava.awt.headless=true -Xmx128M
Jun 26 16:26:24 vml000127 server: options used:
- -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat
- -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp
- -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.propertie
s
- -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jun 26 16:26:24 vml000127 server: arguments used: start
Jun 26 16:26:24 vml000127 server: Error: Could not find or load main
class $JAVA_OPTS
Jun 26 16:26:24 vml000127 systemd: tomcat.service: main process
exited, code=exited, status=1/FAILURE
Jun 26 16:26:24 vml000127 server: Java virtual machine used:
/usr/lib/jvm/jre/bin/java
Jun 26 16:26:24 vml000127 server: classpath used:
/usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.ja
r:/usr/share/java/commons-daemon.jar
Jun 26 16:26:24 vml000127 server: main class used:
org.apache.catalina.startup.Bootstrap
Jun 26 16:26:24 vml000127 server: flags used: $JAVA_OPTS
- -Djava.awt.headless=true -Xmx128M
Jun 26 16:26:24 vml000127 server: options used:
- -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat
- -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp
- -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.propertie
s
- -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jun 26 16:26:24 vml000127 server: arguments used: stop
Jun 26 16:26:24 vml000127 server: Error: Could not find or load main
class $JAVA_OPTS
Jun 26 16:26:24 vml000127 systemd: tomcat.service: control process
exited, code=exited status=1
Jun 26 16:26:24 vml000127 systemd: Unit tomcat.service entered failed
state.
"Error: Could not find or load main class $JAVA_OPTS" What's wrong?
Where could be the nasty bug? Any idea?
ttyl
Django