Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1562

JNDI data sources with various PersistenceManager: wrong default values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core 1.4.2, core 1.4.3, core 1.4.4
    • core 1.4.5
    • jackrabbit-core
    • None

    Description

      With JCR-1305 Jackrabbit supports creating a connection throug a JNDI Datasource and without configuring user and password. This works for some but not all provided PersistenceManagers. Some of them - like the Oracle-specific BundleDBPersistenceManager - sets default values for user and password if none are provided in the jackrabbit config. This way its impossible to use such PersistenceManagers with the plain JNDI DS.

      This concerns the following BundleDbPersistenceManagers: OraclePersistenceManager, DerbyPersistenceManager, H2PersistenceManager.

      There also might be other PMs (perhaps some special SimpleDbPersistenceManagers) with similar behaviour.

      Attachments

        1. bundleDbNoDefaultUserPassword.txt
          5 kB
          Thomas Mueller

        Activity

          People

            Unassigned Unassigned
            srieckhoff Sven Rieckhoff
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: