Jive Software Open Source

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Openfire (ARCHIVED)
  • JM-1477

patch: JDBC providers using the main Openfire database connection pool

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 3.6.0
  • Fix Version/s: 3.6.1
  • Component/s: Core
  • Labels:
    None
  • Acceptance Test - Add?:
    No

Description

http://www.igniterealtime.org/community/thread/35456

Hello everyone, my first post. I am contributing a patch to allow the JDBC*Provider classes to use the global database pool. I did it because we are not using the embeeded database and the Openfire db schema is installed on the same database than our users and group tables, so in order to reduce the database configuration to only one place the patch add three new properties:

  • jdbcAuthProvider.useConnectionProvider
  • jdbcGroupProvider.useConnectionProvider
  • jdbcUserProvider.useConnectionProvider

When any of these properties is true, the respective JDBC*Provider ignore the jdbcProvider.driver and jdbcProvider.connectionString properties and calls DbConnectionManager.getConnection() to get a connection from the openfire connection pool.

Hope this helps

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
  • Reviews
  • Builds
Hide
Permalink
Daryl Herzmann added a comment - 11/05/08 09:52 PM

JM-1485

Show
Daryl Herzmann added a comment - 11/05/08 09:52 PM JM-1485

People

  • Assignee:
    Gaston Dombiak
    Reporter:
    Daryl Herzmann
Vote (0)
Watch (0)

Dates

  • Created:
    10/15/08 05:14 PM
    Updated:
    11/05/08 09:52 PM
    Resolved:
    11/05/08 09:52 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for igniterealtime.org. Try JIRA - bug tracking software for your team.