throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException, IOException,
BootstrapProcessingException, DatabusException, BootstrapDatabaseTooOldException, BootstrapDBException
{
EventProcessor processorCallback = new EventProcessor();
BootstrapConfig config = new BootstrapConfig();
BootstrapReadOnlyConfig staticConfig = config.build();
BootstrapServerConfig configBuilder = new BootstrapServerConfig();
configBuilder.setEnableMinScnCheck(false);
BootstrapServerStaticConfig staticServerConfig = configBuilder.build();
BootstrapProcessor processor = new BootstrapProcessor(staticServerConfig, null);
String sourceName = "TestBootstrap.testBootstrapProcessor.events";
// Create the tables for all the sources before starting up the threads
BootstrapConn _bootstrapConn = new BootstrapConn();
boolean autoCommit = true;
_bootstrapConn.initBootstrapConn(autoCommit,
staticConfig.getBootstrapDBUsername(),
staticConfig.getBootstrapDBPassword(),
staticConfig.getBootstrapDBHostname(),
staticConfig.getBootstrapDBName());
BootstrapDBMetaDataDAO dao = new BootstrapDBMetaDataDAO(_bootstrapConn,
staticConfig.getBootstrapDBHostname(),
staticConfig.getBootstrapDBUsername(),
staticConfig.getBootstrapDBPassword(),
staticConfig.getBootstrapDBName(),
autoCommit);
SourceStatusInfo srcStatusInfo = dao.getSrcIdStatusFromDB(sourceName, false);
if (srcStatusInfo.getSrcId() >= 0 )
{