Hallo!
Wegen einem Problem mit Tomcat habe ich mich eigens in diesem Forum eingeloggt, weil ich nicht weiterkomme.
Ich versuche Tomcat auf einer openSUSE 13.2 zu starten, aber er startet nicht.
# env |grep java
JRE_HOME=/usr/lib/jvm/java/jre
JAVA_BINDIR=/usr/lib/jvm/java/bin
JAVA_HOME=/usr/lib/jvm/java
SDK_HOME=/usr/lib/jvm/java
JDK_HOME=/usr/lib/jvm/java
JAVA_ROOT=/usr/lib/jvm/java
# java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (IcedTea 3.2.0) (suse-33.1-i386)
OpenJDK Server VM (build 25.111-b14, mixed mode)
workstation:/usr/local/tomcat/bin # ./startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
# netstat -pantu |grep 8080
ergibt kein Ergebnis. Ich finde folgendes im logfile:
04.12.2017 22:35:07 org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
........
Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in java.net.URLClassLoader{urls=[file:/usr/local/tomcat/lib/,file:/usr/
local/tomcat/lib/catalina-ha.jar,file:/usr/local/tomcat/lib/tomcat-i18n-es.jar,file:/usr/local/tomcat/lib/jasper.jar,file:/usr/local/tomcat/lib/tomcat-util.jar,file:/usr/local/tomcat/lib/e
l-api.jar,file:/usr/local/tomcat/lib/tomcat7-websocket.jar,file:/usr/local/tomcat/lib/tomcat-i18n-fr.jar,file:/usr/local/tomcat/lib/jsp-api.jar,file:/usr/local/tomcat/lib/tomcat-api.jar,fi
le:/usr/local/tomcat/lib/annotations-api.jar,file:/usr/local/tomcat/lib/jasper-el.jar,file:/usr/local/tomcat/lib/websocket-api.jar,file:/usr/local/tomcat/lib/catalina-ant.jar,file:/usr/loc
al/tomcat/lib/tomcat-jdbc.jar,file:/usr/local/tomcat/lib/catalina.jar,file:/usr/local/tomcat/lib/tomcat-dbcp.jar,file:/usr/local/tomcat/lib/ecj-4.4.2.jar,file:/usr/local/tomcat/lib/tomcat-
coyote.jar,file:/usr/local/tomcat/lib/catalina-tribes.jar,file:/usr/local/tomcat/lib/tomcat-i18n-ja.jar,file:/usr/local/tomcat/lib/servlet-api.jar], parent=gnu.gcj.runtime.SystemClassLoade
r{urls=[file:/usr/local/tomcat/bin/bootstrap.jar,file:/usr/local/tomcat/bin/tomcat-juli.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
Versucht habe ich schon verschiedene Tomcat Versionen, immer das gleiche Ergebnis und die
gleichen Fehlermeldungen.
Hat jemand Rat für mich?
Grüße
Andreas
Wegen einem Problem mit Tomcat habe ich mich eigens in diesem Forum eingeloggt, weil ich nicht weiterkomme.
Ich versuche Tomcat auf einer openSUSE 13.2 zu starten, aber er startet nicht.
# env |grep java
JRE_HOME=/usr/lib/jvm/java/jre
JAVA_BINDIR=/usr/lib/jvm/java/bin
JAVA_HOME=/usr/lib/jvm/java
SDK_HOME=/usr/lib/jvm/java
JDK_HOME=/usr/lib/jvm/java
JAVA_ROOT=/usr/lib/jvm/java
# java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (IcedTea 3.2.0) (suse-33.1-i386)
OpenJDK Server VM (build 25.111-b14, mixed mode)
workstation:/usr/local/tomcat/bin # ./startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
# netstat -pantu |grep 8080
ergibt kein Ergebnis. Ich finde folgendes im logfile:
04.12.2017 22:35:07 org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
........
Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in java.net.URLClassLoader{urls=[file:/usr/local/tomcat/lib/,file:/usr/
local/tomcat/lib/catalina-ha.jar,file:/usr/local/tomcat/lib/tomcat-i18n-es.jar,file:/usr/local/tomcat/lib/jasper.jar,file:/usr/local/tomcat/lib/tomcat-util.jar,file:/usr/local/tomcat/lib/e
l-api.jar,file:/usr/local/tomcat/lib/tomcat7-websocket.jar,file:/usr/local/tomcat/lib/tomcat-i18n-fr.jar,file:/usr/local/tomcat/lib/jsp-api.jar,file:/usr/local/tomcat/lib/tomcat-api.jar,fi
le:/usr/local/tomcat/lib/annotations-api.jar,file:/usr/local/tomcat/lib/jasper-el.jar,file:/usr/local/tomcat/lib/websocket-api.jar,file:/usr/local/tomcat/lib/catalina-ant.jar,file:/usr/loc
al/tomcat/lib/tomcat-jdbc.jar,file:/usr/local/tomcat/lib/catalina.jar,file:/usr/local/tomcat/lib/tomcat-dbcp.jar,file:/usr/local/tomcat/lib/ecj-4.4.2.jar,file:/usr/local/tomcat/lib/tomcat-
coyote.jar,file:/usr/local/tomcat/lib/catalina-tribes.jar,file:/usr/local/tomcat/lib/tomcat-i18n-ja.jar,file:/usr/local/tomcat/lib/servlet-api.jar], parent=gnu.gcj.runtime.SystemClassLoade
r{urls=[file:/usr/local/tomcat/bin/bootstrap.jar,file:/usr/local/tomcat/bin/tomcat-juli.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
Versucht habe ich schon verschiedene Tomcat Versionen, immer das gleiche Ergebnis und die
gleichen Fehlermeldungen.
Hat jemand Rat für mich?
Grüße
Andreas