VIVO Documentation
Page History
...
Some of the warnings or errors may be cryptic, but they are intended to offer clues as to why your VIVO installation will not work properly.
FIGURE 1 - A fatal error at startup
Rebuilding the Search Index
The search index of VIVO is used not just for full text search but also for the menu pages and index pages. If the system is not displaying the individuals that you would expect to see, the search index may need to be rebuilt. To rebuild the index log in as an administrative user and request
...
- Log into VIVO as an administrator, go to Site Admin -> SPARQL query.
Clear all of the text from the text area, enter the following query in the text area:
Panelcode SELECT
str(?a
)?b WHERE {
?_ <http?a <http://vitro.mannlib.cornell.edu/ns/vitro/0.
7#rootTab> ?a7#rootTab> ?b }
- Scroll down and click “Run Query” and you should get a result like this:
To get the default namespace from the result, take everything in quotes braces up to and including the last forward slash. In this case the default namespace is *
*No Formatcode http://usertestingvivo.mannlibmydomain.cornell.edu/individual/
- If you do not have a the default namespace that matches does not match the domain name where your VIVO application is installed, you can use follow the steps below:
- Use the “Change Namespace of Resources” option under Site Admin – Ingest Tools
- to set the default namespace to match your VIVO application domain name as in the above examples.
- Set
Vitro.defaultNamespace
inruntime.properties
to the value for your namespace - Restart Tomcat
Long URLS
If you checked your default namespace and ensured it matches the domain name where your VIVO application is installed, you may find that you still have long URLs on some people profiles.
In other words, you expect to have URLs like this: *
No Formatcode |
---|
http://vivo.example.edu/individual/n5143 |
But instead, you have URLs like this:
No Formatcode |
---|
http://example.edu/individual?uri=http%3A%2F%2Fvivo.example.edu%2Fsomethingl%2Fn5143 |
...
In general, once you have the default namespace set up correctly for your VIVO application, then all the individuals you create using the web interface will have the default namespace. You have to be careful to make sure that any individuals created by an ingest process use the default namespace. Please see the Data Ingest Guide located at http://vivoweb.org for instructions.
Some individuals that are shipped with the application are not in the default namespace. For example, the countries and geographical locations are in a different namespace. Do not attempt to change the namespace of these individuals.