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







Crtserver

print

Action : tom.crtserver   (Category : tom, Name : crtserver, By : kikonf)
Complete Name : tom.crtserver.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 crtserver plugin : Creates a Tomcat Catalina Base Server instance.

The following shows the Descriptor File for the Action : tom.crtserver

Toggle lines
<!-- Copyright (c) 2008, Patrick Germain Placidoux                          -->
<!-- All rights reserved.                                                   -->
<!--                                                                        -->
<!-- This file is part of Kikonf Public Software.                           -->
<!--                                                                        -->
<!-- Kikonf Public Software is released under the modified BSD License,     -->
<!-- which should accompany it or any part of it in the file "COPYING".     -->
<!-- If you do not have this file you can access the license                -->
<!-- through the WWW at http://www.kikonf.org/license/bsd/license.txt.      -->
<!--                                                                        -->
<!-- Home page: http://www.kikonf.org                                       -->
<!-- Contact: kikonf@gmx.com                                                -->
<!-- ====================================================================== -->
<!--                                                                        -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->
<!-- UPDATE     |     DATE     |   CODE   |  REASON                         -->
<!-- ====================================================================== -->
<!--            |              |          |                                 -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->


<crtserver

    type = '{\
        *eq:action,\
        *required:True,\
        *display:False\
    }'
    bal = '{*display:False}'
    sub_type = '{\
        *value:configuration,\
        *eq:configuration,\
        *required:True,\
        *deny:True,\
        *display:False\
    }'
    softwares = "{
        '*type':'dict',
        '*dtype':
            {
                'tom':
                {
                    '*ge':'5.5',
                    '*le':'7',
                    '*required':True
                }
            },
        '*deny':True, 
        '*display':False
    }"
    
    server_port = '{\
        *value:8005,\
        *type:int,\
        *required:True,\
        *help:%lang/action.tom.en/crtserver.server_port.help,\
        *lhelp:%lang/action.tom.en/crtserver.server_port.lhelp\
    }'
    jvm_route = '{\
        *value:jvm1,\
        *required:True,\
        *help:%lang/action.tom.en/crtserver.jvmRoute.help,\
        *lhelp:%lang/action.tom.en/crtserver.jvmRoute.lhelp\
    }'
    mode = '{\
        *value:0755,\
        *type:int,\
        *required:True,\
        *help:%lang/action.tom.en/crtserver.jvmRoute.help,\
        *lhelp:%lang/action.tom.en/crtserver.jvmRoute.lhelp\
    }'
    java_home = '{\
        *required:True,\
        *help:%lang/action.tom.en/crtserver.jvmRoute.help,\
        *lhelp:%lang/action.tom.en/crtserver.jvmRoute.lhelp\
    }'
    
    __wk__='{\
        *help:%lang/action.tom.en/crtserver.help,\
        *lhelp:%lang/action.tom.en/crtserver.lhelp\
    }'    
>

    <scope 
        cbase = '{*required:True}'
        service = ''
        engine = '*default'
    
        __wk__ = '{\
            *eq:1,\
            *help:%lang/action.tom.en/scope.help,\
            *lhelp:%lang/action.tom.en/scope.lhelp,\
        }'
    />



</crtserver>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/tom/crtserver/by/kikonf/ACT_INF/action.xml)


A descriptor file is a WYSISWYG xsd like schema, wich describes what are the supported Tags, Attributes and Attributes values for one Action.
The special Attributes : type, sub_type, bal, softwares, __wk__ are reserved by Kikonf.

The table below summarizes the informations provided by the tom.crtserver Descriptor File :

/crtserver>   Creates a Tomcat Catalina Base Server instance.
Name Default Type Required Denied Help
server_port 8005 int True   %lang/action.tom.en/crtserver.server_port.help
jvm_route jvm1   True   %lang/action.tom.en/crtserver.jvmRoute.help
mode 493 int True   %lang/action.tom.en/crtserver.jvmRoute.help
java_home     True   %lang/action.tom.en/crtserver.jvmRoute.help

/crtserver/scope>   A scope refers to configuration Level within the Tomcat scheme.
Required:True
Name Default Type Required Denied Help
cbase     True    
service   str      
engine *default str      



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