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

MSSqlFileSystem - JNDI & several configuration issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-alpha4
    • 1.6
    • jackrabbit-core
    • None
    • JBoss 4.2.3GA, SQLServer JDBC Driver 2.0, xa-datasource

    Description

      there are several configuration issues using the org.apache.jackrabbit.core.fs.db.MSSqlFileSystem
      my (working) configuration (repository.xml) looks like:

      <FileSystem class="org.apache.jackrabbit.core.fs.db.MSSqlFileSystem">
      <param name="driver" value="javax.naming.InitialContext"/>
      <param name="url" value="java:MYDatasource"/>
      <param name="schema" value="mssql"/>
      <param name="schemaObjectPrefix" value="MYPREFIX_"/>
      <param name="user" value="MYUSERNAME"/>
      <param name="password" value="MYPASSWORD"/>
      <param name="tableSpace" value=""/>
      </FileSystem>

      i have to unnecessarily specify username & password, because the MSSqlFileSystem presets them to an empty string instead of null. funnily enough the tableSpace is preset to null, which leads to a nullpointer in createSchemaSql

      Attachments

        1. JCR-2223.patch
          2 kB
          Martijn Hendriks

        Activity

          People

            Unassigned Unassigned
            towe80 Torsten Weck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: