VERIFIED SOLUTION i
X

Resolve unable to access a repository with following settings RepositoryService RMI error in Spectrum Spatial

Issue

Spectrum Named tables under location resources not found 
 
Wrapper.log snippet .... 
 
Caused by: javax.jcr.RepositoryException: Unable to access a repository with the following settings: 
 
org.apache.jackrabbit.repository.uri: http://<SERVER>:<PORT>/RepositoryService/rmi 
 
The following RepositoryFactory classes were consulted: 
org.apache.jackrabbit.core.RepositoryFactoryImpl: declined 
org.apache.jackrabbit.commons.JndiRepositoryFactory: declined 
org.apache.jackrabbit.rmi.repository.RmiRepositoryFactory: failed 
because of RepositoryException: Failed to read the resource at 
 
URL http://<SERVER>:<PORT>/RepositoryService/rmi 
because of UnknownHostException: <SERVER>
 
Perhaps the repository you are trying to access is not available at the moment. 
at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:199) ~[jackrabbit-jcr-commons-2.1.1.jar:na] 
at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:239) ~[jackrabbit-jcr-commons-2.1.1.jar:na] 
at com.mapinfo.midev.repository.Repository.init(Repository.java:114) ~[midev-core-repository-1.5.1-onprem.jar:1.5.1-onprem-26865] 
 

Cause

The Server and Port combination that Spectrum Spatial references in it's Spatial Repository is out of sync with what the Spectrum Technology Platform is using.

Resolution

UPDATED: April 24, 2017


Ensure that the Server and Port combination that Spectrum Spatial references is correct.

The following link can show "How to change the default server and port for Spectrum Spatial repository using WebDAV"
 

Environment Details

Product Feature: Spectrum Server


 

Downloads

  • No Downloads