Puppet Defined Type: resource

Defined in:
manifests/resource.pp

Overview

ORACLE JDBC ==

The relevant documentation for this is quite heavy going, but these are key documents

http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
http://docs.oracle.com/cd/B28359_01/java.111/b31224/concache.htm
https://forums.oracle.com/forums/thread.jspa?threadID=967849

To set debug logging see following URL and edit logging.properties

http://dev-answers.blogspot.com/2010/03/enable-debugtrace-level-logging-for.html

To reference include files from server.xml see

http://blogs.mulesoft.org/including-files-into-tomcats-server-xml-using-xml-entity-includes/

Note this subtle but crucial difference for SID vs SERVICE_NAME based connections.

Old form: jdbc:oracle:thin:<host>:<port>:<SID>
New form: jdbc:oracle:thin:@<host>:<port>/<SERVICE_NAME>

puppet2sitepp @tomcatresources

Parameter Summary

  • resource_type (Any)
  • resource_name (Any)
  • servicename (Any) => $name
  • catalina_base (Any) => "/opt/${name}"
  • factory (Any) => undef
  • driver_class_name (Any) => undef
  • resource_url (Any) => undef
  • username (Any) => undef
  • user (Any) => undef
  • password (Any) => undef
  • initial_size (Any) => undef
  • max_active (Any) => undef
  • max_idle (Any) => undef
  • min_idle (Any) => undef
  • max_wait (Any) => undef
  • validation_query (Any) => undef
  • min_evictable_idletimemillis (Any) => undef
  • time_between_evictionrunsmillis (Any) => undef
  • numtests_per_evictionrun (Any) => undef
  • init_sql (Any) => undef
  • auth (Any) => undef
  • location (Any) => undef