Vocabulary Service Deployment using SISSvoc
Pre-installation:
$sudo apt-get install tomcat6
$sudo apt-get install apache2
$sudo apt-get update
Install Sesame Server and Workbench:
Download the openRDF Sesame SDK: http://sourceforge.net/projects/sesame/files/Sesame%202/2.6.2/openrdf-sesame-2.6.2-sdk.zip
Extract “war/openrdf-sesame.war” and “war/openrdf-workbench.war”
Download Elda:
https://cgsrv1.arrc.csiro.au/swrepo/VocabService/jenkins/branches/Version-3.0/
Extract “sissvoc.war”
Copy openrdf-sesame.war, openrdf-workbench.war and sissvoc.war on the server’s Tomcat container (/var/lib/tomcat6/webapps), and restart tomcat6 ($sudo service tomcat6 restart)
Configure Services:
Create directory “/var/lib/tomcat6/data”
Change permission of data directory ($sudo chown tomcat6:tomcat6 /var/lib/tomcat6/data), or create a symbolic link for data directory ($ sudo ln –s /mnt/data/)
Edit “/etc/default/tomcat6”, and add to JAVA_OPTS: "-Dinfo.aduna.platform.appdata.basedir=/var/lib/tomcat6/data". (The repositories on sesame server will be deployed in this data directory.)
Add “ProxyPass/ProxyPassReverse” to the VirtualHost section in apache config “/etc/apache2/sites-enabled/000-default”, since our server does not open its 8080 port (Tomcat) to outside user:
ProxyPass /openrdf-workbench ajp://localhost:8009/openrdf-workbench
ProxyPassReverse /openrdf-workbench ajp://localhost:8009/openrdf-workbench
ProxyPass /openrdf-sesame ajp://localhost:8009/openrdf-sesame
ProxyPassReverse /openrdf-sesame ajp://localhost:8009/openrdf-sesame
ProxyPass /sissvoc ajp://localhost:8009/sissvoc
ProxyPassReverse /sissvoc ajp://localhost:8009/sissvoc
Edit apache config (“/etc/apache2/sites-enabled/000-default”) to avoid people from outside to change the sesame repositories:
#Only allow the server to change the repositories
<Location "/openrdf-sesame/repositories/">
<LimitExcept GET>
Order deny,allow
Deny from all
Allow from 23.21.155.132
</LimitExcept>
</Location>
#Authentication to workbench
<Location "/openrdf-workbench">
AuthType Basic
AuthName "Input your username and password to access Sesame server"
AuthUserFile /etc/apache2/auth/.htpasswd
Require valid-user
</Location>
Note: .htpasswd file includes all the usernames and passwords. Use “$htpasswd –c /etc/apache2/auth/.htpasswd username” to generate the password.
Publish the vocabulary:
You can use OpenRDF Sesame Workbench, Sesame console and Sesame Windows Client (http://sourceforge.net/projects/sesamewinclient/) to load the vocabulary. Then you can get the vocabulary SPARQL endpoint, e.g. http://vocabulary.usgin.org/openrdf-sesame/repositories/usgin.vocabulary
Configure the http URI for concepts, so that http requests for these URIs are redirected to the suitable SISSvoc endpoints. Go to http://resources.usgin.org/admin/ for rewrite rule change using Regular Expression.
Clone and modify template specs/SISSvoc3-template-ELDAConfig.ttl to configure SISSvoc. Modify xsltsheets/ashtml.xsl to style the results. Create or change the LandingPage.jsp for the vocabulary.
Modify WEB-INF/web.xml, replacing the example configuration (in “servlet/param-value”) with a comma separated list of LDA specification files (e.g. ./usginVocab/usgin-vocabulary.ttl) you wish to load. Also replace welcome file (in “welcome-file-list/welcome-file”) with any page you want. Then you will need to restart Tomcat.
Test the Vocabulary Service:
http://vocabulary.usgin.org/sissvoc
http://vocabulary.usgin.org/openrdf-workbench/
http://vocabulary.usgin.org/sissvoc/api/meta/ (display all the sissvoc enpoints)
- Login to post comments
Application Documents | Description | Document ID | Posted by | Update | Rating |
---|---|---|---|---|---|
The 3rd version of CSW Client application |
This version includes our new state geothermal data catalog in the search list. Overall, the following four catalogs... |
app2012-032 | gchen | 09/28/2012 - 12:31pm | |
The 2nd version of CSW Client application |
The only difference between this version and the previous version is that this version is using FGDC... |
app2012-030 | gchen | 01/03/2012 - 4:00pm | |
Set up WCS service as prototype | Copy of CASE NGDS - DOE Funded: 217-578 at http://task.usgin.orgOn server side, WCS can be published... | app2011-029 | gchen | 12/27/2011 - 3:34pm | |
CSW client application |
This is an ArcMap add-in application which can access the CSW Catalog Services to locate WMS services that can be added... Click to download CSW Client |
app2011-028 | gchen | 11/15/2011 - 7:57pm | |
Thredds Installation | 1) Install Java and Tomcat, and set environment variables: JAVA_HOME, TOMCAT_HOME and CATALINA_HOME.2) Download the... | app2011-026 | gchen | 10/19/2011 - 7:59am | |
NetCDF Clients | 1) Python script tool (ArcGIS tool): https://my.usgs.gov/confluence/download/attachments/63832489/netcdf.zip?... | app2011-027 | gchen | 10/12/2011 - 4:27pm | |
Geoportal Project Setup and Workflow |
Modifying the Geoportal source code for the USGIN project is a team based effort. Managing a project like this... |
app2011-022 | averill.cate | 03/01/2011 - 3:38pm | |
How to Install Apache Tomcat for Development Mode | The following text was taken from the RUNNING.txt file found in the root folder of a downloaded and unzipped copy of... | app2011-025 | averill.cate | 02/25/2011 - 2:55pm | |
How to Install Apache Ant | Visit http://ant.apache.org/manual/install.html for Apache Ant recommended installation proceedures. | app2011-024 | averill.cate | 02/25/2011 - 2:48pm | |
Cygwin; the Unix-like Command Line Interface - Installation | Cygwin is a Unix-like command line interface (CLI). It can be used to interact with the local operating system to... | app2011-023 | averill.cate | 02/25/2011 - 2:18pm | |
ESRI Geoportal Metadata Record Editor Default Map Zoom/Extent | The USGIN's implementation of ESRI's Geoportal has a metadata record editor. The editor is used when adding a new... | app2011-021 | averill.cate | 02/09/2011 - 9:36am | |
AZGS Drupal Module |
The AZGS document repository's (http://repository.azgs.az.gov/) entries can be exported to ISO 19139 metadata xml files... |
app2011-020 | averill.cate | 02/02/2011 - 1:58pm | |
Git Workflow | In a recent post I described setting up a project's Git repository and cloning the project from the repository so you... | app2011-019 | averill.cate | 01/28/2011 - 1:43pm | |
Creating a Git Repository and Project | We've been using Git to manage our Geoportal source code and the Drupal source code to the AZGS Document Repository... | app2011-018 | averill.cate | 01/28/2011 - 12:04pm | |
ESRI CSW Client Installation and USGIN Catalog Profile |
ESRI Provides a CSW client that plugs into ArcMap. The client can be used to browse and query ESRI Geoportal... ESRI Geoportal Server Clients |
app2010-016 | averill.cate | 01/04/2011 - 9:18am | |
More Documentation on ESRI Geoportal, ArcMap CSW Client and USGIN | Here is more documentation on how ESRI's GeoPortal, ESRI's ArcMap CSW Client, and the Arizona Geological Survey's USGIN... | app2010-017 | averill.cate | 12/29/2010 - 1:32pm | |
CSW Client for ESRI ArcGIS Desktop and ArcExplorer |
ESRI offers CSW clients for ArcGIS Desktop and ArcExplorer as part of their free Geoportal add-ons.This client allows... |
app2009-011 | wgrunberg | 12/28/2010 - 12:40pm | |
Easy setup of a Python 2.6 development environment on Windows | Easy steps for setting up a Python 2.6 development environment on Windows: | app2009-009 | wgrunberg | 08/05/2010 - 11:15am | |
Windows Setup Guide for Downloading, Developing, Deploying and Debugging GeoNetwork within Eclipse |
The enclosed document explains how to download the GeoNetwork trunk from Eclipse, and then configure the web app to... |
app2010-013 | dowen | 07/21/2010 - 9:50am | |
Convert Shapefiles to PostGIS Tables | There is a relatively simple command that comes with PostGIS that allows you to convert ESRI shapefiles into geometry-... | app2009-008 | Ryan Clark | 04/30/2010 - 2:01pm | |
Make Tomcat 6.x work in IIS7 | This is a walkthrough to help you use ISAPI Filters to run Tomcat on a Windows Server Machine that uses IIS7. If you're... | app2010-015 | Ryan Clark | 04/14/2010 - 3:21pm | |
ArcMap Extension to Adjust for Invalid WMS 1.3.0 Requests |
PurposeThis extension was built to deal with a bug in ArcMap 9.3.1 which issues invalid WMS 1.3.0 GetMap requests.... Download the extension here |
app2010-014 | Ryan Clark | 03/08/2010 - 12:08pm | |
USGIN Catalog Service source configuration file for GI-go GeoBrowser 6.1 |
Easily add the USGIN Catalog Service to GI-go GeoBrowser by downloading the configuration file and following these... |
app2009-012 | wgrunberg | 12/14/2009 - 11:39am | |
Configuring degree CSW 2.x | This is a list of our configuration changes too deegree-csw - specifically version 2.3-pre (Compile deegree from SVN)... | app2009-006 | wgrunberg | 12/01/2009 - 10:46am | |
Development of USGIN Amazon Machine Image (AMI) |
This document outlines the development of the USGIN Amazon Machine Image. The purpose of this image is to provide a... |
app2009-010 | Ryan Clark | 11/09/2009 - 1:55pm | |
Running GeoNetwork 2.4.1 under Tomcat 5.5 on Windows XP | This cookbook describes how GeoNetwork 2.4.1 can be made to work under Tomcat 5.5 (JDK 1.5.0_17) on Windows XP. This... | app2009-007 | wgrunberg | 10/09/2009 - 3:05pm | |
Compile deegree from SVN | These are CSW-centric notes on compiling deegree — a Java-based spatial data services engine (http://www.deegree.org... | app2009-005 | wgrunberg | 10/02/2009 - 8:14am | |
Make Tomcat Work Through Port 80 |
On a machine running Tomcat and Apache, you can set things up so that instead of having to type Tomcat URLs... |
app2009-004 | Ryan Clark | 09/21/2009 - 3:47pm | |
GeoServer Workspace Configuration | Workspace.xml is one of two configuration documents used to create a workspace in GeoServer The id element is GeoServer... | app2009-002 | Ryan Clark | 09/21/2009 - 3:41pm | |
GeoServer FeatureType Configuration | This XML document tells GeoServer to treat a datastore as a featuretype -- that is, provide it as a featuretype that... | app2009-003 | Ryan Clark | 09/21/2009 - 3:41pm | |
GeoServer Namespace Configuration | The namespace.xml is one of two files that compose a workspace in GeoServer. This configures the namespace aspect of... | app2009-001 | Ryan Clark | 09/21/2009 - 3:38pm |
Related Community Groups |
---|
CSW Debug Blog | 17 Posts | Join A group blog to discuss metadata Catalog Service for the Web (CSW) implementation experiences |
Building a GeoSciML WFS Server | 11 Posts | Join Development, testing and implementation of a WFS service that returns GeoSciML documents |
ETL Debug Blog | 12 Posts | Join A group blog on implementing and debugging Extract-Transform-Load (ETL) efforts. |
Presentations and Posters | 12 Posts | Join Post your posters and presentations related to USGIN topics. |
Metadata interest group | 13 Posts | Join group for general posting on metadata content, standards, tools |
USGIN Amazon Virtual Server Development | 18 Posts | Invite only Documenting the process of development of a Web Server in the Amazon EC2 environment. Software installations tailored to the requirements for USGIN |
GeoNetwork configuration and development | 7 Posts | Join Discussion on GeoNetwork setup, configuration, and development. |
Student Projects | 0 Posts | Join Discussion of student projects related to USGIN |
Drupal Development | 6 Posts | Join All about bending Drupal to your needs |
Geoportal on an Amazon Virtual Machine | 3 Posts | Closed Installation, configuration, etc. |
Using Django for USGIN | 7 Posts | Request membership Thought and ideas about using Django to accomplish USGIN-related... things. |
ArcGIS Server and OGC Services | 3 Posts | Join Tips on using ArcGIS Server to provide OGC web services |
Content model discussion | 0 Posts | Request membership Community site for comments on development of content models and encoding for information intechange |
Making Web Maps | 2 Posts | Request membership For information about the myriad of mechanisms for showing service data on a web page. |
Troubleshooting Web Service Deployment - Blog | 5 Posts | Join This blog is for documenting our group's experiences with web service deployment. |
Best Practices for USGIN Web Service Hosting | 10 Posts | Join Tips, techniques, and frequently asked questions for hosting AASG Geothermal Data Web Map Services and Web Feature Services |
Hub Disaster Recovery | 0 Posts | Request membership Discussions around how to harden a distributed federated system against disaster; setting up a system to mirror hub VMs at other hubs. |