I've only experienced this so far with Tomcat, but I think it may be a more global problem. Tomcat dies immediately after startup if I set TOMCAT_START="debug" or "-security debug". Reproducible: Always Steps to Reproduce: 1. Set TOMCAT_START="debug" or "-security debug" in /etc/conf.d/tomcat-6 2. /etc/init.d/tomcat-6 start -- note that it appears to start successfully 3. Navigate to a Webpage that that instance of Tomcat would render, such as http://localhost:8080/ 4. If the page appears, refresh -- it should crash at that point. Actual Results: A few seconds after /etc/init.d/tomcat-6 start, a message like this appears on the console: Aug 26 16:42:51 gfbsd /etc/init.d/tomcat-6[1831]: start-stop-daemon: /opt/diablo-jdk-1.5.0.07.01/bin/jdb died Expected Results: It should not crash. Portage 2.2_rc8 (default-bsd/fbsd/6.2/x86, gcc-4.2.4, freebsd-lib-6.2-r4, 6.2-RELEASE i386) ================================================================= System uname: FreeBSD-6.2-RELEASE-i386-32bit Timestamp of tree: Mon, 25 Aug 2008 16:30:03 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r6, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-devel/autoconf: 2.62-r1 sys-devel/automake: 1.10.1-r1 sys-devel/binutils: 2.17-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 6.2-r4 ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd" CBUILD="i686-gentoo-freebsd6.2" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-gentoo-freebsd6.2" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-sj3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 berkdb cli cracklib crypt cups dri gdbm iconv java java5 midi ncurses nls oss pam pcre perl postgres ppds python readline reflection session spl ssl tcpd unicode x86-fbsd zlib" APACHE2_MODULES="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 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" APACHE2_MPMS="prefork" ELIBC="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" USERLAND="BSD" VIDEO_CARDS="vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Does this occur if you set the logging to DEBUG in the tomcat logging.properties file? Which version of Tomcat? -Mike
Close this ancient bug please!
Closing per William's request. This is too old.