Bug 183377 - Almost nothing is logged by tomcat due to problems with java.util.logging.LogManager
Summary: Almost nothing is logged by tomcat due to problems with java.util.logging.Log...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat5
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vivek Lakshmanan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-28 18:20 UTC by Miloslav Trmač
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: F-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-18 15:36:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miloslav Trmač 2006-02-28 18:20:35 UTC
The only log output in /var/log/tomcat5 is:
WARNING: System property "java.util.logging.manager" should be the name of a
subclass of java.util.logging.LogManager
Created MBeanServer with ID: [UID: 291096,1141140478345,-32768]:amilo:1

Moving tomcat-juli.jar away from /usr/share/tomcat5/bin/ avoids the warning
and allows at least something to be logged

Expected results:
Reasonably useful logging by default, comparable with the tomcat 5.0 packages.

Additional info:
Was it really necessary to update to tomcat 5.5 from 5.0 after all test
releases, six days before hard code freeze?

Comment 1 Rafael H. Schloming 2006-03-01 22:34:01 UTC
There is an updated rpm in dist-fc5-head with the tomcat-juli.jar removed. This
works around the problem for now. Unfortunately the underlying issue is a buggy
java.util.logging.LogManager implementation in the classpath version used by
gcj, and that will take a bit longer to fix.

Comment 2 Will Woods 2007-03-24 20:07:31 UTC
Does the underlying problem still exist in FC6/rawhide? If so, we should move
the bug there. Otherwise I think this can be closed.

Comment 3 Miloslav Trmač 2007-03-29 18:53:18 UTC
I was too happy to get away from Java programming, I'm afraid I don't have any
recent tomcat installation around.

The spec file still contains the following snippet, though:
# disable the juli log manager until the classpath
# java.util.logging.LogManager is fixed
# XXX: Still not fixed - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29869
rm -f $RPM_BUILD_ROOT%{bindir}/tomcat-juli.jar

Comment 4 Vivek Lakshmanan 2007-03-29 19:25:56 UTC
PR 29869 is being addressed ATM. But yes, the inclusion of tomcat-juli.jar still
causes a CNFE. I am changing the version for BZ to devel and monitoring activity
on the above PR. Hopefully tomcat-juli.jar can be reinstated soon...


Comment 5 Vivek Lakshmanan 2007-05-18 15:36:43 UTC
I have re-added the tomcat-juli.jar in

$ koji latest-pkg --quiet f7-final tomcat5
tomcat5-5.5.23-9jpp.2.fc7                 f7-final              vivekl

I *believe* this is now fixed. I am closing this bug but re-open if this reappears.



Note You need to log in before you can comment on or make changes to this bug.