cle_clock
Home > wikikonf >  was/actions/by kikonf > jvm







Jvm

print

Action : was.jvm   (Category : was, Name : jvm, By : kikonf)
Complete Name : was.jvm.by.kikonf
Version : 5.0        License : Modified BSD License

Purpose of the was category :
Easy to customize. This category use in background the wsadmin command in jython mode (through AdminConfig, AdminControl and AdminTask), to drive WebSphere Application Server configuration.
You can use it to manage the whole WebSphere architecture.

Purpose of this jvm plugin : Tune one JVM characteristics

The following shows a sample Action File to use with the Action : was.jvm
This sample file can be run with this command : kikact  was.jvm

Toggle lines
<jvm
    type = 'action'
    xms = '512' 
    xmx = '1024' 
    run_hprof = 'true' 
    disable_jit = 'true' 
    temp_dir='/dir/to/my/temp_dir'
    ha='true'
    plugin_max_con='52'
    user='myuser' group='mygroup'
    >

    <scope node = 'localhostNode01' server = 'server1'/>
        
    <verbose cl='true' gc='true' jni='true' />

    <classpath>
        my.class.path1
        my.class.path2
        my.class.path3
    </classpath>

    <boot_classpath>
        my.bootclass.path1
        my.bootclass.path2
    </boot_classpath>

    <debug_args enable='true' > 
        -Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777
    </debug_args>
    
    <generic_jvm_args>
        -D my_generic_jvm_args1 -Dmy_generic_jvm_args2
        -D my_generic_jvm_args3 -Dmy_generic_jvm_args4
    </generic_jvm_args>

    <hprof_args>
        -D my_hprof_args1
        -D my_hprof_args2
        -D my_hprof_args3
    </hprof_args>

    <system_props>
        <property name='my_propertie1' value = 'my_value1'/>
        <property name='my_propertie2' value = 'my_value2'/>
        <property name='my_propertie3' value = 'my_value3'/>
    </system_props>     
    
    <timouts tran_timout='500' orb_req_timout='200' orb_locale_req_timout='300'/>

    <extlibs>
        /dir/to/my/extlib1
        /dir/to/my/extlib2
        /dir/to/my/extlib3
    </extlibs>
    
    <gc>
        <explicitgc disable='true'/>
        <policy type='gencon'>
            <gencon xmns='128'  xmnx='256' xmos='128' xmox='768'/>
        </policy>
        <threads number='45'/>
    </gc>

    <shared_classes enable='true' name='my_sharedlib1' required='true' control_dir='/dir/to/my/sharedlib1' size='250' /> 
    
</jvm>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/was/jvm/by/kikonf/was.jvm.by.kikonf.xml)


  • Line 1 to 3 say something , say something , say something
  • Line 10 to 17 say something , say something , say something , say something , say something
  • Line 20 to 25 say something



Trademarks :
  • "IBM", "WebSphere", "WebSphere Aplication Server", "WAS" are registred trademarks of International Business Machines Corporation.
  • "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