After emerging the 5.0.19 version of tomcat, the server fails to start because of the following error: Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap This, I believe, causes log4j to throw the following error: log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded) log4j:WARN Please initialize the log4j system properly Reproducible: Always Steps to Reproduce: 1. Execute the /etc/init.d/tomcat start command. 2. Review the /var/log/tomcat/catalina.log file. Actual Results: The log contains the error described in the 'Details' field. Expected Results: Tomcat should startup and listen for connections on port 8080. Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kerberos krb4 libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png python quicktime readline scanner sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Created attachment 35982 [details] catalina.log File Containing Error Information The attached file contains the log file generated by tomcat when I attempt to start it.
I presently have the 3.1 release of the dev-java/commons-collections package loaded on my system. When I look at the /usr/share/commons-collections/lib/commons-collections.jar file, the org.apache.commons.collections.FastHashMap.class file is located in the .jar file.
wildstar lib # emerge search commons-collections Searching... [ Results for search key : commons-collections ] [ Applications found : 1 ] * dev-java/commons-collections Latest version available: 3.1 Latest version installed: 3.1 Size of downloaded files: 1,110 kB Homepage: http://jakarta.apache.org/commons/collections.html Description: Jakarta-Commons Collections Component License: Apache-1.1 wildstar lib #
Just commited ebuilds for newer version, can you check if you still have this problem with those? if so reopen the bug and i'll look into it