Roel
Roel

Reputation: 97

Intalled Dspace on Debian, 404 error stays after copying files to tomcat webapps

This is my first time installing Dspace, I followed the tutorial from the duraspace site.

wiki.duraspace.org/display/DSDOC5x/Installing+DSpace

I also added the needed xml files to /etc/tomcat7/localhost/

I then started my tomcat service but 127.0.0.1:8080/xmlui gives me a 404. The original tomcat pages(docs,...) do work.

I've already looked at the

/var/log/tomcat7/catalina.out for seeing what goes wrong and found no errors. So I'm out of inspiration.

I have never worked with Dspace or Tomcat before. It could be that I looked over something small.

Some help would be welcome. Thank you very much

If it can help these are the files inside my Catalina/localhost

Files inside Catalina/localhost

Inside the not standard xml files the code is (as example xmlui.xml):

<?xml version='1.0'?>
<Context
docBase="/dspace/webapps/xmlui"
reloadable="true"
cachingAllowed="false"/>

The files inside the /dspace/webapps/xmlui as ls:

aspects             exception2html.xslt  META-INF      static  WEB-INF
exception2dri.xslt  i18n                 sitemap.xmap  themes

About rights: It should not be a problem. For now I just dit a chmod -R 777 on the /dspace folder.

A remembrance that all services run except of my rest, xmlui and jspui.

the log of my tomcat starting up in /var/log/tomcat7/catalina.out:

https://gist.github.com/RoelKint/06795ccc0fc8c56367554e4c860c8ded

Upvotes: 1

Views: 718

Answers (1)

Pablo Bianchi
Pablo Bianchi

Reputation: 2058

In my case, the issue was I copied all the Solr cores to /opt/solr/server/solr/configsets instead of to /var/solr/data, as it should on a Debian (11 in my case). From step 13 on the documentation:

# [solr] is the location where Solr is installed.
# NOTE: On Debian systems the configsets may be under /var/solr/data/configsets
cp -R [dspace]/solr/* [solr]/server/solr/configsets

Seems that in other cases is a permissions issue.

Upvotes: 0

Related Questions