tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Brittain <ja...@olliance.com>
Subject [PATCH] TC4: TomcatBlock on Avalon 3.1a1: Part 3
Date Fri, 09 Feb 2001 23:23:24 GMT
Attached are the files I added to make TomcatBlock (Tomcat 4 running
on Avalon 3.1a1):

catalina/src/conf/avalon-MANIFEST.MF

This manifest file is used to create tomcat-4.0.bar.  Avalon needs a
special manifest to know which Block is contained in the BAR file.


catalina/src/conf/avalon-server.xml

When Tomcat runs on Avalon, it needs a special/tailored server.xml.
This is it.  It's not really that different from the regular server.xml
file, so we may want to make the build system just apply a diff (?)
instead of copying this whole file in as "server.xml" like I've set
it up to do currently..


catalina/src/conf/tomcat-4.0.conf.xml

This is one of the config files that tells Avalon about the Tomcat
bar file.


catalina/src/share/org/apache/catalina/logger/AvalonFileLogger.java

Allows Catalina to log through Avalon.


catalina/src/share/org/apache/catalina/startup/TomcatBlock.java

The main Block class that makes it all happen.


catalina/src/share/org/apache/catalina/startup/TomcatBlock.xinfo

An Avalon Block descriptor file for TomcatBlock.


catalina/src/share/org/apache/catalina/valves/AccessLogValveBase.java

The superclass of both FileAccessLogValve and AvalonAccessLogValve.


catalina/src/share/org/apache/catalina/valves/AvalonAccessLogValve.java

This is an AccessLogValve that sends the web server access log through
Avalon's logging system.


catalina/src/share/org/apache/catalina/valves/FileAccessLogValve.java

This is the stand-alone AccessLogValve that simply writes the output
to a file on the filesystem.  This class replaces the older, now
obsolete AccessLogValve class.


And that's it.  Let me know what you think..  :)

-- 
Jason Brittain
Software Engineer, Olliance Inc.        http://www.Olliance.com
Current Maintainer, Locomotive Project  http://www.Locomotive.org

Mime
View raw message