|
|
|
|
|
Datasrc
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>
Trademarks :
|