Bug 38908 - ByteBufferAccessLogValve given in server.xml is not working
Summary: ByteBufferAccessLogValve given in server.xml is not working
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.5.15
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 12:47 UTC by Anto Paul
Modified: 2006-03-11 03:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anto Paul 2006-03-09 12:47:09 UTC
Hi,
    server.xml contains an element declaring access log valve. When it is
configured it is giving error at start up ClassNotFoundException:
org.apache.catalina.valves.ByteBufferAccessLogValve. Also it is not found in the
repository at
http://svn.apache.org/viewcvs.cgi/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/

The element is 

<Valve className="org.apache.catalina.valves.ByteBufferAccessLogValve"
                 directory="logs"  prefix="localhost_access_log." suffix=".txt"
                 pattern="common" resolveHosts="false"/>
Comment 1 Remy Maucherat 2006-03-09 14:42:47 UTC
Obviously, if the class does not exist, it's not going to work. There are other
access log valves you can use.
Comment 2 Anto Paul 2006-03-10 06:08:29 UTC
(In reply to comment #1)
> Obviously, if the class does not exist, it's not going to work. There are other
> access log valves you can use.

If the class does not exist why you keep the element in the server.xml. You
should fix it instead of shouting.

Regards,
Anto Paul
Comment 3 Mark Thomas 2006-03-11 11:55:03 UTC
The ByteBufferAccessLogValve was an experiment that only briefly existed in the
repo. When it was removed, server.xml should have been updated and wasn't.

I have justed removed references to this Valve from server.xml.