{
load();
try {
// Load the JDO configuration file from the specified input source.
TransactionDemarcation transactionDemarcation = JDOConfLoader.getTransactionDemarcation (source, resolver);
if (transactionDemarcation == null)
throw new TransactionManagerAcquireException ("Problem obtaining transaction manager demarcation configuration");
String demarcationMode = transactionDemarcation.getMode();
TransactionManager transactionManager = transactionDemarcation.getTransactionManager();
if (transactionManager == null) {
if (!demarcationMode.equals(LocalTransactionManagerFactory.NAME))
throw new TransactionManagerAcquireException ("Problem obtaining required transaction manager configuration.");