The Relationships Manager

From Devwiki
Jump to: navigation, search
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Introduction

Detail

If you would like more details on the project please follow the links below:

Download

This project has been released under the GNU Public License. A copy can be found in the gpl.txt. To download the war file follow the link below:

 http://dev.llgc.org.uk/fedora/projects/relationships/relationships-2.0.war

Version 2.0

This version requires Fedora 2.1.1 to be installed.

Instillation

This project is packaged as a war file and can be installed on any tomcat instillation. For a basic tomcat install copy the relationships-2.0.war to the following location:

$TOMCAT_HOME/webapps

Tomcat should automatically discover the new service and you should be able to see the relationships project at the following url:

 
  http://TOMCAT_HOST:TOMCAT_PORT/relationships-2.0
  

If you would like to install it on the Fedora's tomcat install it in the following location:

 
  $FEDORA_HOME/server/jakarta-tomcat-5.0.28/webapps/
  

Again tomcat should automatically discover the war and extract it. If there is a problem you may have to restart the Fedora server. You should be able to access the relationships project at:

 
  http://FEDORA_HOST:FEDORA_PORT/relationships-2.0
  

Configuration

When you navigate to the following URL:

 http://TOMCAT_HOST:TOMCAT_PORT/relationships-2.0/

You will be presented with the following page:

Error creating thumbnail: Unable to save thumbnail to destination

Click on the link 'Edit Configuration'. This will take you to the following screen:

Error creating thumbnail: Unable to save thumbnail to destination

From this page you will be able to edit the connection information to the fedora repository and various system configuration options. Once you have changed the options click the submit button and your changes will automatically be updated (there is no need for a restart).

Folder Structure

The structure of the WAR file is shown below:

 relationships -
                |
                |- index.jsp: start page
                |
                |- style.css: CSS Style Sheet
                |
                |- pages: JSP pages 
                |
                |- WEB-INF-: Java Struts configuration files
                           |
                           |- classes: -
                           |            | 
                           |            |- project.properties: Project Properties file
                           |            |
                           |            |- MessageResources.properties: Message Resources file used for translation
                           |            |
                           |            |- log4j.xml: Logging configuration
                           |            |
                           |            |- uk: Java Class Files 
                           |
                           |- lib: Java jar (library files)
                           |
                           |- src:     -
                                        |- build.xml: for auto-compiling and distributing project
                                        |
                                        |- rdf_vocab: a number of vocab files including OAI and Fedora relationships
                                        |
                                        |- uk: Java Source files