-
Notifications
You must be signed in to change notification settings - Fork 149
Error Messages in the Geoportal Web Application
Listed below are some common errors that can occur when configuring your Geoportal, and how to begin for resolving them. For errors related to logging into the Geoportal or user registration page, see Connecting to a User Directory. Note: After changing any of the Geoportal configuration files during troubleshooting, the geoportal web application must be restarted for the changes to take effect.
Action: Check that the <indexlocation></indexlocation> tag in the gpt.xml file has a local folder path specified.
Action: Check the following things:
- Check that the JNDI connection information is correct. For Tomcat, this is specified in the geoportal.xml context file. For WebLogic and GlassFish, the JNDI connection is configured through these application servers' interfaces, as per their respective installation guides (see Installation topic).
- In your gpt.xml file, check that the user settings in the identity section are correct, and that issues outlined in Connecting to a User Directory have been resolved. If your geoportal is a version prior to 1.2, especially check that the user specified in the catalogAdminDN attribute is a member of the Geoportal Administrators group in your user directory structure (as of 1.2, the catalogAdminDN is no longer needed and thus is not in the gpt.xml file).
Action: Follow troubleshooting suggestions in Connecting to a User Directory to verify that the <ldapadapter></ldapadapter> section in the gpt.xml file has been configured properly.
Action: Check gpt.xml file and locate the taskUrl and mapserviceUrl tags. Verify that the geoprocessing and map service url are specified correctly.
Action: The search results returned are determined by what parts of the metadata are indexed. See Details of Lucene Indexing in the Geoportal to understand how to adjust the geoportal configuration such that the geoportal indexes your organization's fields of interest.
Error behavior: You made a configuration change, but the change doesn't appear when you re-launch the geoportal.
Action: If you are using Tomcat, you may need to delete the \\Tomcat\work\Catalina\localhost\geoportal folder. This folder acts as a cache for Tomcat so it doesn't have to rebuild your geoportal web application from scratch every time. Deleting the folder forces Tomcat to load the newly configured version of the web application. Caution: make sure you are deleting the one from the work folder and not the one from the webapps folder.
Action: Check the gpt.xml file that the searchResultsRender=jsf' has been added. This needs to be added in the Search setting section. Refer to the Glassfish Geoportal installation guide for full instructions.
Back to Common problems and solutions