cle_clock
Home > wikikonf >  wls/actions/by kikonf > chgports







Chgports

print

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

Purpose of the wls category :
Easy to customize. This category use in background the wlst command in jython mode, to drive WebLogic Server configuration.
You can use it to manage the whole WebLogic architecture.

Purpose of this chgports plugin : Changes a JVM ports

The following shows the Descriptor File for the Action : wls.chgports

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                         -->
<!-- ====================================================================== -->
<!--            |              |          |                                 -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->

<!-- starting_port: If you guive a starting_port the whole JVM(TM) ports will be numbered starting by this value. -->

<chgports
    type = '{\
        *eq:action,\
        *required:True\
    }'
    bal = ''
    sub_type = '{\
        *value:configuration,\
        *eq:configuration,\
        *required:True\
    }'
    softwares = "{\
        '*type':'dict',\
        '*dtype':\
            {\
                'wls':\
                {\
                    '*ge':'10',\
                    '*required':True\
                }\
            }\
    }"

    starting_port='{*type:int}'
    enable_iiop='{*value:true,*checkIn:(true,false),*required:True}'
    __wk__='{*help:%lang/action.wls.en/chgports.help}'
    >
    
    <scope 
        cluster = ''
        server = '{*required:True}'
        __wk__='{\
            *eq:1,\
            *help:%lang/action.wls.en/scope.help,\
            *lhelp:%lang/action.wls.en/scope.lhelp,\
        }'
    />

    <port
        protocol='{*checkIn:(http,https,t3,t3s,iiop,iiops),*required:True}'        
        channel=''
        host='{*value:localhost,*required:True}'        
        port='{*type:int,*required:True}'        
        enable='{*value:true,*checkIn:(true,false),*required:True}'        
        enable_http='{*value:true,*checkIn:(true,false),*required:True}'        
        enable_tuneling='{*value:false,*checkIn:(true,false),*required:True}'        
        enable_ssl='{*value:false,*checkIn:(true,false),*required:True}'        
        ssl_client_auth='{*value:false,*checkIn:(true,false),*required:True}'        
    />

</chgports>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/wls/chgports/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 wls.chgports Descriptor File :

/chgports>   Changes a JVM ports
Name Default Type Required Denied Help
type     True    
bal   str      
sub_type configuration   True    
softwares   dict      
starting_port   int      
enable_iiop true (true, false) True    

/chgports/scope>   A scope refers to a Name Space where to create the resource
Required:True
Name Default Type Required Denied Help
cluster   str      
server     True    

/chgports/port>  
Name Default Type Required Denied Help
protocol   (http, https, t3, t3s, iiop, iiops) True    
channel   str      
host localhost   True    
port   int True    
enable true (true, false) True    
enable_http true (true, false) True    
enable_tuneling false (true, false) True    
enable_ssl false (true, false) True    
ssl_client_auth false (true, false) True    



Trademarks :
  • "oracle", "Weblogic", "Weblogic Server", "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