incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Ramirez (JIRA)" <>
Subject [jira] Created: (OODT-39) LuceneCatalogFactory default validation layer class will is incorrect
Date Thu, 23 Sep 2010 02:53:44 GMT
LuceneCatalogFactory default validation layer class will is incorrect

                 Key: OODT-39
             Project: OODT
          Issue Type: Bug
          Components: file manager
            Reporter: Paul Ramirez
             Fix For: 0.1-incubating

The following is what is used if the System property is not set for the validation layer:

String validationLayerFactoryClass = System.getProperty("filemgr.validationLayer.factory","org.apache.oodt.cas.validation.DataSourceValidationLayerFactory");

First the default class does not exist "org.apache.oodt.cas.validation.DataSourceValidationLayerFactory"
and should be changed to "org.apache.oodt.cas.filemgr.validation.DataSourceValidationLayerFactory".
Actually this probably would be better as the following:

String validationLayerFactoryClass = System.getProperty("filemgr.validationLayer.factory",

This way the compile time check will be made. As noted above I'm thinking the default for
LuceneCatalogFactory should be XML based one and not the DataSource one. Since it was already
broken this should not affect backwards compatibility.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message