import org.opennms.core.xml.CastorUtils;
</BUG>
import org.opennms.netmgt.config.opennmsDataSources.ConnectionPool;
import org.opennms.netmgt.config.opennmsDataSources.DataSourceConfiguration;
import org.opennms.netmgt.config.opennmsDataSources.JdbcDataSource;
<BUG>import org.slf4j.Logger;
import org.slf4j.LoggerFactory;</BUG>
public final class DataSourceConfigurationFactory {
<BUG>private static final Logger LOG = LoggerFactory.getLogger(DataSourceConfigurationFactory.class);</BUG>
private final DataSourceConfiguration m_dsc;
public DataSourceConfigurationFactory(File fileName) {
<BUG>InputStream is = null;</BUG>
try {

package org.opennms.core.db;
import java.io.File;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import org.opennms.core.xml.JaxbUtils;
import org.opennms.netmgt.config.opennmsDataSources.ConnectionPool;
import org.opennms.netmgt.config.opennmsDataSources.DataSourceConfiguration;
import org.opennms.netmgt.config.opennmsDataSources.JdbcDataSource;
public final class DataSourceConfigurationFactory {
private final DataSourceConfiguration m_dsc;
