import java.util.Map;
-import org.springframework.remoting.RemoteAccessException;
-
import eu.etaxonomy.cdm.api.application.CdmApplicationRemoteConfiguration;
import eu.etaxonomy.cdm.api.service.IMetadataService;
import eu.etaxonomy.cdm.config.CdmSource;
// the connection is up
// if no exception is thrown then we assume that the
// connection is up
- try {
- metadataService.getDbSchemaVersion();
- } catch (RemoteAccessException e) {
- throw new CdmSourceException("RemoteAccessException: " + e.getMessage());
- }
+ // FIXME:Remoting is this really correct?
+ metadataService.getDbSchemaVersion();
return true;
}