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







Datasrc

print

Action : tom.datasrc   (Category : tom, Name : datasrc, By : kikonf)
Complete Name : tom.datasrc.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 datasrc plugin : This Action configures a JDBC Datasource (JNDI).

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

Toggle lines
<!-- This will create a resource at the Tomcat Global Resources level and a ResourceLink at the Context level -->
<datasrc
    type = 'action'
    name = 'jdbc/mydb'
>

    <!-- <scope context.global='true' context='*blank' resources.global='true'/> -->   
    <scope context='*blank' resources.global='true'/>  
    <!-- <scope context='*blank'/> --> 
    
    <!-- <scope host='localhost'/> -->     
    <!-- <scope engine='Catalina'/> -->
    <!-- <scope host='localhost'/> -->
    <!-- <scope context.global='true' context='*blank'/> -->
    <!-- <scope context='*blank'/> -->

    <resource
        dbtype = 'db2'
        dbname = 'MYDB01'
        host = 'myserver.intra.net'
        port = '1234'
        username = 'myuser'
        password = 'mypass'
    >    
        <extended>
            <pool/>
            <validation_query/>
            <evictor_thread/>
            <stale_connections/>
            <others/>
        </extended>
    </resource>

    <link name = 'jdbc/local_name'/>
    
</datasrc>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/tom/datasrc/by/kikonf/tom.datasrc.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 MQ", "Db2" and "AIX" are registred trademarks of International Business Machines Corporation.
  • "Oracle", "MySql", "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
  • "Linux" is a trademark registred to Linus Torvalds
  • "MS SQL Server" is a registred trademark of Microsoft Corporation.
  • "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