Please help me.
I have installed Geoportal 1.2.6 on Windows machine.
I have enabled simpleAdapter identity.
<!-- Base map configuration. (used in search page, preview, details page, editor)
- jsapiUrl: URL to the JavaScript API
- mapServiceUrl: URL for a map service
Types: ArcGIS REST, WMS, WMTS. (This can be empty for openstreet map).
- mapServiceType: A type of map service
Values: dynamic | tiled | wms | wmts | openstreet
- mapVisibleLayers: An array of visible WMS layer names.
This parameter should be defined when WMS is used as a map service.
(from <name> element of WMS GetCapabilities xml)
Example: "['name1','name2','name3','name4']"
- geometryServiceUrl: REST URL to an ArcGIS Server GeometryServer service.
- locatorUrl: REST URL to an ArcGIS Server GeocodeServer service, e.g. locatorUrl="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Geocode_USA/GeocodeServer" - locatorSingleFieldParameter: field for the GeocodeServer service upon which locations can be searched
- the urls start with "//" without the protocol (http: or https:).
-->
<interactiveMap
jsapiUrl="//js.arcgis.com/3.13/"
mapServiceUrl="//services.arcgisonline.com/arcgis/rest/services/ESRI_StreetMap_World_2D/MapServer"
mapServiceType="dynamic"
geometryServiceUrl="//tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"
locatorUrl="//geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"
locatorSingleFieldParameter = "Address"/>
<catalog gptTablePrefix="GPT_">
<!-- Lucene configuration.
- indexLocation: path to the folder that will hold indexed documents
(e.g. c:/geoportal/lucene-index/catalog1)
- writeLockTimeout: the wait time in milli-seconds for acquiring a write lock
- useNativeFSLockFactory: if true a NativeFSLockFactory is used otherwise use a SimpleFSLockFactory
- analyzerClassName: the class name for the Lucene analyzer
- adaptor: parameters that define the optional OntologyService configuration, as per geoportal webhelp at
http://help.arcgis.com/en/geoportal_extension/10.0/help/index.html#/Enable_Search_Using_an_Ontology_... -->
<lucene
indexLocation="C:\lucene"
writeLockTimeout="60000"
useNativeFSLockFactory="true"
analyzerClassName="org.apache.lucene.analysis.standard.StandardAnalyzer">
<!--
<adaptor name="like" className="com.esri.gpt.catalog.lucene.StandardNetworkParserAdaptor">
<attribute key="baseUrl" value="http://serverName/OntologyService/query?threshold=0.25&term="/> </adaptor>
-->
</lucene>
<!-- Additional configuration for Lucene
- lucene.alwaysStoreXmlInIndex:
true if the full document xml should be store within the index
- lucene.force.isPartOf:
force all Lucene queries to have an isPartOf field equal to the supplied value
- lucene.useSingleSearcher:
true if a single Lucene searcher is preferred across all threads
- lucene.useSingleWriter:
true if a single Lucene writer is preferred across all threads
- lucene.useRemoteWriter:
true if documents should be indexed remotely
- lucene.remoteWriterUrl:
the URL to be used when indexing documents remotely
-->
<parameter key="lucene.alwaysStoreXmlInIndex" value="false"/>
<parameter key="lucene.force.isPartOf" value=""/>
<parameter key="lucene.useSingleSearcher" value="true"/>
<parameter key="lucene.useSingleWriter" value="true"/>
<parameter key="lucene.useLocalWriter" value="true"/>
<parameter key="lucene.useRemoteWriter" value="false"/>
<parameter key="lucene.remoteWriterUrl" value=""/>
<!-- Lucene index based assertions (resource ratings and comments).
- assertion.index.enabled: indicates if ratings and comments should be enabled.
- assertion.index.location: path to the folder that will hold the indexed comments and ratings.
NOTE: This assertion.index.location should not be the same location as the lucene\indexLocation value.
These indexes should not be deleted and should be on a file backup/restore plan.
Example: c:/geoportal/lucene_assertion_index_location/catalog1
- assertion.index.allowNonLocalResourceIds: if true, comments and ratings can be made about resources that do not exist
in the local catalog.
- assertion.rating.enabled: allow users to rate resources.
- assertion.comment.enabled: allow users to leave comments for resources.
- assertion.comment.maxLength: maximum characters allowed for one comment.
-->
<parameter key="assertion.index.enabled" value="true"/>
<parameter key="assertion.index.location" value="C:\lucene\assertion"/>
<parameter key="assertion.index.allowNonLocalResourceIds" value="false"/>
<parameter key="assertion.rating.enabled" value="true"/>
<parameter key="assertion.comment.enabled" value="true"/>
<parameter key="assertion.comment.maxLength" value="2048"/>
<!-- Map Viewer configuration.
Optional. You can use the following section to integrate a map viewer with your geoportal,
According to the Integrate a Map Viewer webhelp documentation at:
http://help.arcgis.com/en/geoportal_extension/10.0/help/index.html#/Integrate_a_Map_Viewer/00t000000... Below is the flex map viewer configuration.
- url = Url of the Flex viewer. {contextPath} parameter will be replaced with the application server contextpath.
NOTE: For other clients to use "Add to Map" link in REST response, the absolute URL to your Flex Viewer needs to be configured in the url parameter.
- className: class name of the map viewer instance, e.g., for Flex example is com.esri.gpt.catalog.search.MapViewerFlex.
NOTE: The MapViewerFlex must be in the same domain and port in order for layering of resources to work
-->
<!-- The Geoportal Flex widget configuration for ArcGIS View for Flex 2.2 -->
<mapViewer>
<instance
url="{contextPath}/viewer/index.jsp"
className="com.esri.gpt.catalog.search.MapViewerFlex_2_4">
<parameter key="width" value="1000"/>
<parameter key="height" value="700"/>
<parameter key="regexCanConsumeUrl" value=""/>
</instance>
</mapViewer>
<!-- The map viewer configuration for Portal for ArcGIS
<mapViewer>
<instance
url="[agsportal]/home/webmap/viewer.html"
className="com.esri.gpt.catalog.search.MapViewerAgsPortal">
<parameter key="wmsBaseMapUrl" value="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> </instance>
</mapViewer>
-->
<!-- Search settings.
- searchTimeoutMillisecs: length of time allotted to a search attempt before a timeout error occurs
- distributedSearchTimeoutMillisecs: length of time allotted to a federated search attempt before a timeout error occurs
- distributedSearchMaxSelectedSites: maximum number of sites allowed to be searched in one federated search attempt
- searchResultsPerPage: number of results to show on a page. If more results are returned than this value, page navigation will be visible
- searchResultsReviewsShown: How should the reviews be shown on the results page. Options are "none", "only-reviewed" or "all"
- maxSavedSearches: maximum number of allowed searches in storage, per user.
- allowExternalSiteSearch: Flag enabling federated search
- allowTemporalSearch: Flag enabling temporal search on metadata fields
-->
<search
searchTimeoutMillisecs="10000"
distributedSearchTimeoutMillisecs="5000"
distributedSearchMaxSelectedSites="5"
searchResultsPerPage="10"
searchResultsReviewsShown="only-reviewed"
maxSavedSearches="10"
allowExternalSiteSearch="true"
allowTemporalSearch="true">
<!-- Settings for repositories available in federated search
- key: regular expression, can be used to identify the rid for the repository.
- class: search engine instance, a Java class that will process the search request.
- labelResourceKey: text that appears in the federated search list.
If no key is given, the repository will not be visible in the federated search list.
- abstractResourceKey: text that appears on the REST distributed search, describing the repository. -->
<repositories>
<repository
key="local"
class="com.esri.gpt.catalog.search.SearchEngineLocal"
labelResourceKey="catalog.search.searchSite.defaultsite"
abstractResourceKey="catalog.search.searchSite.defaultsite.abstract"/>
<!-- Default search engine that catches blank rids -->
<repository key="^$"
class="com.esri.gpt.catalog.search.SearchEngineLocal"
labelResourceKey=""
abstractResourceKey=""/>
<!-- arcgis.com rid. Optional. -->
<repository key="arcgis.com"
class="com.esri.gpt.catalog.search.SearchEngineRest"
labelResourceKey="catalog.search.searchSite.agsonline"
abstractResourceKey="catalog.search.searchSite.agsonline.abstract">
<parameter key="endPointSearchUrl"
value="http://www.arcgis.com/sharing/search?q={searchTerms}&start={startIndex}&num={count}&f=json"/> <parameter key="defaultParamValues"
value="q✔access:shared || access:public || access:private "/>
<parameter key="profileId"
value="urn:esri:gpt:HTTP:JSON:ESRI:AGSONLINE" />
</repository>
<repository
key="dataGov"
class="com.esri.gpt.catalog.search.SearchEngineExternalCsw"
labelResourceKey="catalog.search.searchSite.dataGov"
abstractResourceKey="catalog.search.searchSite.dataGov.abstract"
>
<parameter key="profileId"
value="urn:ogc:CSW:2.0.2:HTTP:APISO:PYCSW" />
<parameter key="url"
value="http://catalog.data.gov/csw-all?service=CSW&version=2.0.2&request=GetCapabilities" /> </repository>
<repository
key="geodab"
class="com.esri.gpt.catalog.search.SearchEngineExternalCsw"
labelResourceKey="catalog.search.searchSite.geoDab"
abstractResourceKey="catalog.search.searchSite.geoDab.abstract"
>
<parameter key="profileId"
value="urn:ogc:CSW:2.0.2:HTTP:APISO:GICAT" />
<parameter key="url"
value="http://production.geodab.eu/gi-cat-StP/services/cswiso?request=GetCapabilities&service=CSW&version=2..." /> </repository>
<!-- For the registered CS-W repositories flagged for viewing in federated search -->
<repository key="*"
class="com.esri.gpt.catalog.search.SearchEngineExternalCsw"/>
</repositories>
<!-- Class registration to produce search result in a custom format.
- regexFormat: output format name that is used in REST search URL.
Example: if output format value is csv, the REST URL will be http://geoportal/rest/find/document?f=csv - class: location of the custom class to generate the output format.
-->
<searchResultFormat>
<format regexFormat="csv" class="com.esri.gpt.control.georss.CsvWriter">
</format>
</searchResultFormat>
</search>
<!-- Metadata Access Policy Configuration
For Ldap identity adapter, single group restriction policy configure as below,
if not configured then publisher selects from all ldap groups
type="unrestricted"
or
type="public-protected" protectedGroupDN="distinguishedName(E.g. cn=gpt_administrators,ou=groups,ou=system)"
or
type="restricted"
-->
<metadataAccessPolicy type="unrestricted"/>
<!-- Sitemap parameters
- sitemap.baseUrl: the base URL for sitemap files
default = auto-generated, e.g. http://host:port/[contextPath]/sitemap - sitemap.documentUrlPattern: the default URL pattern referencing documents within a sitemap,
{0} will be replaced with the document's UUID,
default = /sitemap/document/{0}?f=html
- sitemap.documentUrlPattern.[format]: response format specific document URL patterns,
{0} will be replaced with the document's UUID,
e.g.
http://host:port/[contextPath]/sitemap?f=xml will produce specific document references with the following pattern
http://host:port/[contextPath]/sitemap/document/{0}?f=xml - sitemap.urlsPerIndexFile: the maximum number of sitemap files to be referenced within
the sitemap index file (should not exceed 1000), default = 1000
- sitemap.urlsPerSitemapFile: the maximum number of documents to be referenced within
an individual sitemap file (should not exceed 50000), default = 1000
- sitemap.namespaceUri: the sitemap namespace URI,
default = http://www.sitemaps.org/schemas/sitemap/0.9 - sitemap.changefreg: the change frequency to be listed per document reference,
hourly daily weekly monthly yearly , default = weekly
- sitemap.priority: the priority to be listed per document reference, 0.0 -> 1.0,
default = none
-->
<parameter key="sitemap.baseUrl" value=""/>
<parameter key="sitemap.documentUrlPattern" value="/sitemap/document/{0}?f=html"/>
<parameter key="sitemap.documentUrlPattern.html" value="/sitemap/document/{0}?f=html"/>
<parameter key="sitemap.documentUrlPattern.htmlfragment" value="/sitemap/document/{0}?f=htmlfragment"/>
<parameter key="sitemap.documentUrlPattern.xml" value="/sitemap/document/{0}?f=xml"/>
<parameter key="sitemap.documentUrlPattern.kml" value="/sitemap/document/{0}?f=kml"/>
<parameter key="sitemap.urlsPerIndexFile" value="1000"/>
<parameter key="sitemap.urlsPerSitemapFile" value="1000"/>
<parameter key="sitemap.namespaceUri" value="http://www.sitemaps.org/schemas/sitemap/0.9"/> <parameter key="sitemap.changefreq" value="weekly"/>
<parameter key="sitemap.priority" value=""/>
<!-- Web Harvester parameters.
- webharvester.active: flag for if synchronization is active at startup. Default: true
- webharvester.queueEnabled: flag to enable task queue.
Default: current webharvester.active value.
Note! its is not possible to set this flag to false if webharvester.active is true
- webharvester.poolsize: pool size of the Threads. Default: 4
- webharvester.autoSelectFrequency: Resources auto-selection frequency. Default: 1[HOUR]
- webharvester.autoSelectSuspendPeriod: period for how long can repository be suspended from
harvesting after unsuccessful harvest. Default: 1[Day]
- webharvester.watchDogFrequency: Watch-dog activation frequency. Default: 1[MINUTE]
- webharvester.baseContextPath: Base context path used inside email notifications. Default: none (no report link in the notification)
- webharvester.maxRepRecords: Maximum number of records to report. Default: 10000. -1 to remove limit.
- webharvester.maxRepErrors: Maximum number of errors to report. Default: 5000. -1 to remove limit
- webharvester.resource.autoApprove: Autoapprove newly registered resources. Default: false
- webharvester.updateindex: Update the Lucene index following document publication. Default: true
- webharvester.cleanup: Delete documents that no longer exist on the remote server. Default: true
- webharvester.policy.class: Manages policy of the harvester; currently only manages how frequently enforce 'full harvest'.
Default: com.esri.gpt.control.webharvest.engine.DefaultHarvestPolicy
- webharvester.policy.simple.frequency: frequency how often 'full harvest' should be enforced.
For example, if the value is 3, every third harvest for a site will be a full harvest.
- webharvester.agp2agp.maxItems: maximum number of items to harvest through Agp2Agp protocol.
-->
<parameter key="webharvester.active" value="true"/>
<parameter key="webharvester.queueEnabled" value=""/>
<parameter key="webharvester.poolsize" value=""/>
<parameter key="webharvester.autoSelectFrequency" value=""/>
<parameter key="webharvester.autoSelectSuspendPeriod" value=""/>
<parameter key="webharvester.watchDogFrequency" value=""/>
<parameter key="webharvester.baseContextPath" value=""/>
<parameter key="webharvester.maxRepRecords" value="70"/>
<parameter key="webharvester.maxRepErrors" value="7"/>
<parameter key="webharvester.resource.autoApprove" value=""/>
<parameter key="webharvester.updateindex" value="true"/>
<parameter key="webharvester.cleanup" value="true"/>
<parameter key="webharvester.policy.class" value="com.esri.gpt.control.webharvest.engine.SimpleHarvestPolicy"/>
<parameter key="webharvester.policy.simple.frequency" value="1"/>
<parameter key="webharvester.agp2agp.maxItems" value="2000"/>
<!-- Robot parameters.
- bot.robotstxt.enabled: use of robots.txt during harvesting is enabled. Default: true
- bot.robotstxt.override: allows user to override bot.robotstxt.enabled. Default: true;
- bot.agent: name of the user agent for interpreting content of robots.txt. Default: "GeoportalServer"
-->
<parameter key="bot.robotstxt.enabled" value=""/>
<parameter key="bot.robotstxt.override" value=""/>
<parameter key="bot.agent" value=""/>
<!-- Additional Parameters.
- catalog.enableEditForAllPubMethods:
true if document editing should be enabled for all publication methods,
false if only documents created by the editor should be editable
- catalog.enableEditForAdministrator:
true if document editing should be enabled for administrator even
if he is not an owner of the metadata
- catalog.enableDuplicate:
true to enable "Duplicate" operation on metadata
- catalog.admin.allowApplyToAll:
true if an administrator should be able to apply an action to
all matching records
- catalog.useCollections:
true enables collections (experimental, should be false by default)
- database.isCaseSensitive:
true if the database is case sensitive (set this to false for MySQL)
- publicationRequest.autoApprove:
true if newly published documents should be approved by default
- publicationRequest.allowFileIdForUuid
true if an xml's internal file identifier should used as the document uuid
- spatialRelevance.ranking.maxDoc:
turn spatial relevance ranking off when the catalog exceeds the supplied maximum document number
- rssProviderUrl:
URL to include as the provider within RSS responses
- reverseProxy.baseContextPath:
the URL prefix to use when the application is deployed behind a reverse proxy (e.g. http://somehost/geoportal); should be the user-facing URL. Best practice is to set this even if not using a reverse proxy - RestServlet.printXml.stripStyleSheets:
true if references to XSLs and DOCTYPEs would be stripped from
document XMLs when requesting the full XML from the rest end-point
- Administration.viewMetadata.stripStyleSheets:
true if references to XSLs and DOCTYPEs would be stripped from
document XMLs when requesting a full XML view from the administration page
- httpClientRequest.connectionTimeout: connection timeout for HTTP requests to the remote endpoints using Apache HTTP client.
If no value is provided, the default value is infinitive.
Possible values: If no unit is given, number of milliseconds,
[SECOND] – number of seconds
[MINUTE] – number of minutes
[HOUR] – number of hours
- httpClientRequest.responseTimeout: response timeout for HTTP requests to the remote endpoints using Apache HTTP client.
If no value is provided, the default value is infinitive.
Possible values: If no unit is given, number of milliseconds,
[SECOND] – number of seconds
[MINUTE] – number of minutes
[HOUR] – number of hours
- httpClient.alwaysClose: forces to always close socket connection for requests to the remote endpoints using Apache HTTP client.
Default: false.
- AllowDuplicateResourceURL:
true to allow registration of web resources with the URL which
already has been registered
- AllowonlyAuthenticatedUser:
true to disable access to the search and browse pages for users
which has not been authenticated
-->
<parameter key="catalog.enableEditForAllPubMethods" value="false"/>
<parameter key="catalog.enableEditForAdministrator" value="false"/>
<parameter key="catalog.enableDuplicate" value="true"/>
<parameter key="catalog.admin.allowApplyToAll" value="true"/>
<parameter key="catalog.useCollections" value="false"/>
<parameter key="database.isCaseSensitive" value="true"/>
<parameter key="publicationRequest.autoApprove" value="false"/>
<parameter key="publicationRequest.allowFileIdForUuid" value="false"/>
<parameter key="spatialRelevance.ranking.maxDoc" value="1000000"/>
<parameter key="rssProviderUrl" value=""/>
<parameter key="reverseProxy.baseContextPath" value=""/>
<parameter key="RestServlet.printXml.stripStyleSheets" value="true"/>
<parameter key="Administration.viewMetadata.stripStyleSheets" value="true"/>
<parameter key="httpClientRequest.connectionTimeout" value="2[MINUTE]"/>
<parameter key="httpClientRequest.responseTimeout" value="2[MINUTE]"/>
<parameter key="httpClient.alwaysClose" value="false"/>
<parameter key="AllowDuplicateResourceURL" value="false"/>
<parameter key="AllowOnlyAuthenticatedUser" value="false"/>
<!-- Resource Link Builder
- resourceLinkBuilder.preview.filter: regular expression disabling ‘preview’ link on search result
for all records having resource URL matching template.
-->
<parameter key="resourceLinkBuilder.preview.filter" value="^ftp://.*|^ftps://.*|.*\.zip$|.*\.e00$|.*\.lpk$|.*\.pkinfo$|.*\.gz$|.*\.tgz$|.*\.tar$|.*\.rar$|.*\.sh..."/> <!-- This parameter is used to enable managing user role in ldap identity store. -->
<parameter key="ldap.identity.manage.userRoleEnabled" value="true"/>
<!-- This parameter is used to restrict managing user roles to roles configured in geoportal. -->
<parameter key="ldap.identity.restrictToConfiguredRoles" value="true"/>
<!-- This parameter is used to restrict number to matches to be returned on searching ldap users. -->
<parameter key="ldap.identity.search.maxResults" value="1000"/>
<Context docBase="geoportal" path="/geoportal" debug="1" reloadable="true" crossContext="true">
<Resource name="jdbc/gpt" auth="Container" type="javax.sql.DataSource"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://localhost:5432/postgres"
username="geoportaluser"
password="geoportal"
maxActive="20"
maxIdle="10"
maxWait="-1" />
</Context>
When I try to register the ArcGIS server by giving REST URL and SOAP URL I get an error message like below.