Skip to content

TeaServlet Administration

nicholashagen edited this page Jan 23, 2012 · 2 revisions

Previous - Lifecycle | Table of Contents

The administration console, when included with the teaadmin dependency, allows compiling templates, viewing information on the TeaServlet environment, and statistics. The administration console is available at http://[server]:[port]/[context]/system/console?[key]=[value] where [key]=[value] is defined in the admin section of the TeaServlet configuration [INCLUDE LINK].

Templates and Compiling

The template section allows viewing the active templates available to the TeaServlet as well as compiling templates. Templates may be set to compile templates selectively, compile all templates with changes, or re-compile all templates.

Functions

The functions section shows all methods in alphabetical order, regardless of application, that Tea templates may invoke.

Applications

The applications section shows all applications and their associated methods that Tea templates may invoke.

Logging

The logging section shows any logs including errors, warnings, etc that have resulted from invoking templates. The logging levels are controlled via the logs section of the TeaServlet configuration [INCLUDE LINK].

Statistics and Information

The statistics and information sections show general information about the servlet container, templates, service, etc. The statistics also includes runtime statistics and breakdown from invoking the templates. This includes a breakdown per template of time spent invoking other methods, invoking other templates, and general processing. The stats allow a developer the ability to easily profile templates to resolve potential bottlenecks in the system.

Previous - Lifecycle | Table of Contents