cle_clock
Home > wikikonf >  tom/actions/by kikonf > env







Env

print

Action : tom.env   (Category : tom, Name : env, By : kikonf)
Complete Name : tom.env.by.kikonf
Version : 4.0        License : Modified BSD License

Purpose of the tom category :
Easy to customize. This category use in background the Kikonf Repoz tools to create and configure Apache Tomcat ® root installs and Catalina bases at any level (server.xml, hosts or defaults).
You can use it to manage the whole Tomcat ® Architecture.

Purpose of this env plugin : This Action configures a Tomcat Environmen entry.

The following shows in what part of a typical Architecture is likely to be found, the Resource configured by Action : tom.env








This Action configures a Tomcat Environmen entry.


Notice :
--------
This documentation contains excerpts from the Tomcat official site http://tomcat.apache.org, jndi-resources-howto.html
This documentation IS NOT the official documentation.
For the offical Tomcat doecumentation please refer to the previous Tomcat official site (http://tomcat.apache.org).


2. USING ENVIRONNENT ENRY WITH TOMCAT

Running Kikonf Action env will create an Environment entry into Tomcat at a Context (or aka) level.
e.g.:
<Environment name="maxExemptions" value="10"
type="java.lang.Integer" override="false"/>


This is equivalent to the inclusion of the env-entry tag
into the web application deployment descriptor (/WEB-INF/web.xml):
e.g.:
<env-entry>
<env-entry-name>maxExemptions</param-name>
<env-entry-value>10</env-entry-value>
<env-entry-type>java.lang.Integer</env-entry-type>
</env-entry>



Trademarks :
  • "Apache", "Apache Tomcat" and "Tomcat" are trademarks of the Apache Software Foundation.
  • "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
  • Other names may be trademarks of their respective owners.

Copyright © 2011 - Patrick Placidoux, Hélène Malamoud