Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585512 - www-servers/tomcat-8.0.35 fails to load: org.apache.catalina.LifecycleException
Summary: www-servers/tomcat-8.0.35 fails to load: org.apache.catalina.LifecycleException
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
Depends on:
Reported: 2016-06-10 09:17 UTC by Markus Wernig
Modified: 2020-03-23 00:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

catalina.log with startup errors (tomcat-startuperror.txt,24.84 KB, text/plain)
2016-06-10 09:19 UTC, Markus Wernig
catalina.log with startup errors (tomcat-startuperror.txt,24.84 KB, text/plain)
2016-06-10 09:32 UTC, Markus Wernig
catalina startup errors (catalina-startup.txt,14.56 KB, text/plain)
2016-06-22 16:32 UTC, Markus Wernig

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wernig 2016-06-10 09:17:48 UTC
After upgrading to 8.0.35 (from 8.0.33) tomcat is unable to load any deployed applicatiion or even any of its own deployments (like /docs, /examles etc.)

Even with no application deployed, it simply fails on start.

Actually, the java process IS running, but it has lots of errors in the log file and does not serve any requests.

Without any other change, a downgrade to 8.0.33 solves this problem, the error does not occur.

Reproducible: Always

# emerge --info www-servers/tomcat
Portage 2.3.0_rc1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.23-r2, 4.6.2-gentoo x86_64)
                         System Settings
System uname: Linux-4.6.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    16230420 total,   9132732 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 09 Jun 2016 11:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r2::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gstreamer gtk http iconv imap ipv6 jce jpeg kde kipi lcms ldap libav libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib multitarget ncurses networkmanager nls nptl nss ogg opengl openmp otr pam pango pcre pcsc pcsc-lite pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg synaptics tcpd tiff tools truetype udev udisks unicode upower usb utils vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="all" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="keyboard mouse evdev synaptics void alps" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" NETBEANS_MODULES="apisupport java javafx profiler websvccommon enterprise" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

                        Package Settings

www-servers/tomcat-7.0.69::gentoo was built with the following:
USE="doc extra-webapps -source -test -websockets" ABI_X86="64"

www-servers/tomcat-8.0.35::gentoo was built with the following:
USE="doc extra-webapps -source -test" ABI_X86="64"
Comment 1 Markus Wernig 2016-06-10 09:19:34 UTC
Created attachment 437036 [details]
catalina.log with startup errors

Startup log attached
Comment 2 Markus Wernig 2016-06-10 09:32:18 UTC
Created attachment 437038 [details]
catalina.log with startup errors

removed useless newlines for better readability
Comment 3 Miroslav Šulc gentoo-dev 2016-06-14 12:23:39 UTC
please check tomcat 8.0.36 whether the problem persists. thanks.
Comment 4 Markus Wernig 2016-06-22 16:32:54 UTC
Created attachment 438448 [details]
catalina startup errors

(In reply to Miroslav Šulc from comment #3)
> please check tomcat 8.0.36 whether the problem persists. thanks.

Some similar errors do occur, but the server does start, and the deployed application starts and responds.

BUT this was on 8.0.36 built WITHOUT the doc and extra-webapps USE flags that were used in the 8.0.35 build
Could not build 8.0.36 with them because of bug #586732.

So the comparison test is not decisive.
Comment 5 Markus Wernig 2016-06-22 16:37:56 UTC
The error persists with 8.0.35, even if it is built without the doc and extra-webapps USE flags. I.e. all as in the OP, server not usable.