{"id":19281291,"url":"https://github.com/calavera/trinidad-dbpool","last_synced_at":"2025-04-22T01:30:58.771Z","repository":{"id":848467,"uuid":"576654","full_name":"calavera/trinidad-dbpool","owner":"calavera","description":"Database connection pool for Trinidad","archived":false,"fork":false,"pushed_at":"2011-02-03T15:28:51.000Z","size":1805,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T17:53:25.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/calavera/trinidad-dbpool","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"olbrich/ruby-units","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calavera.png","metadata":{"files":{"readme":"README.rdoc","changelog":"History.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-03-23T23:40:46.000Z","updated_at":"2013-12-19T07:20:05.000Z","dependencies_parsed_at":"2022-08-16T11:10:25.726Z","dependency_job_id":null,"html_url":"https://github.com/calavera/trinidad-dbpool","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calavera%2Ftrinidad-dbpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calavera%2Ftrinidad-dbpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calavera%2Ftrinidad-dbpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calavera%2Ftrinidad-dbpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calavera","download_url":"https://codeload.github.com/calavera/trinidad-dbpool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249259148,"owners_count":21239422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T21:22:16.258Z","updated_at":"2025-04-22T01:30:58.439Z","avatar_url":"https://github.com/calavera.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= trinidad-dbpool\n\nTrinidad extensions to support database connection pools configured into the Apache Tomcat\ncontainer.\n\n== Pools supported\n\n* MySql (trinidad_mysql_dbpool_extension)\n* PostgreSQL (trinidad_postgresql_dbpool_extension)\n\n== Usage\n\n* Install the extension gem, ie: jruby -S gem install trinidad_mysql_dbpool_extension\n* Configure the pool into the trinidad's configuration file, ie:\n\n  web_apps:\n    default:\n      extensions:\n        mysql_dbpool:                                   # EXTENSION NAME AS KEY\n          jndi: 'jdbc/TestDB'                           # jndi name\n          username: 'root'                              # database username\n          password: 'root'                              # database password\n          url: 'jdbc:mysql://localhost:3306/javatest'   # database url\n          maxActive: 100                                # max nodes actives\n          maxIdle: 30                                   # max nodes idles\n          maxWait: 10000                                # max nodes waiting\n\n_jndi_, _username_, _password_ and _url_ are mandatory, while other\nconfiguration options can be found here:\n\nhttp://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html\n\nhttp://commons.apache.org/dbcp/configuration.html\n\n* Configure your rails application to use jndi into the config/database.yml\n\n  production:\n    adapter: jdbc\n    jndi: java:/comp/env/jdbc/TestDB\n    driver: com.mysql.jdbc.Driver     # jdbc driver is mandatory\n\n== Note on Patches/Pull Requests\n \n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a\n  future version unintentionally.\n* Commit, do not mess with rakefile, version, or history.\n  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)\n* Send me a pull request. Bonus points for topic branches.\n\n== Copyright\n\nCopyright (c) 2010 David Calavera. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalavera%2Ftrinidad-dbpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalavera%2Ftrinidad-dbpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalavera%2Ftrinidad-dbpool/lists"}