There are several helpful notes in the server.xml file

>      Note:  A "Service" is not itself a "Container", so you may not
>      define subcomponents such as "Valves" or "Loggers" at this level.


These are nice, but they didn't tell me  where to put my "Valve" component
to do standard access logging.

If we could put a similar comment in the "Engine" class, it could save users
a lot of time -- I think it took me half an hour to figure this out.

E.g. it could say:

 <!-- An Engine represents the entry point (within Catalina) that processes
>          every request.  The Engine implementation for Tomcat stand alone
>          analyzes the HTTP headers included with the request, and passes
> them
>          on to the appropriate Host (virtual host).
>
>      Note:  An "Engine" IS a "Container", so you may
>      define subcomponents such as "Valves" or "Loggers" at this level!
> -->


 Thanks,

Josiah Yoder

Reply via email to