On Tuesday, January 15, 2019 at 1:04:24 PM UTC-5, Kev Evans wrote:
>
> I am in the middle of installing Dspace 6.3 on a new Centos 7 test server. 
> Everything is installed as per the install guide. However I am unable to 
> see the applications. I think I have defined the home directory in the 
> local.cfg but on starting tomcat I see this message in the logs
>
>
> "Failure during filter init: DSpace home directory could not be 
> determined. It MUST include a subpath of '/config/config-definition.xml'. 
> Please consider setting the 'dspace.dir' "
>
> I have copied all DSpace applications into the webapps directory of tomcat 
> but crucially I have not defined a ROOT context (that is currently the 
> tomcat manager application). 
>
>

DSpace runs well without being in ROOT context.  I have development and 
test machines here with multiple DSpace instances per Tomcat, and none of 
the webapp.s are at ROOT.

The 'dspace.dir' referenced in the message is a context parameter.  It can 
be set in the webapp.'s 'WEB-INF/web.xml' (look for a <context-param/>' and 
also in the Context object (the relevant <Context/> element in Tomcat's 
'server.xml' or (better) in 'Catalina/localhost/SOMEAPP.xml') (look for a 
<Parameter/>).  The value in local.cfg at the time of 'ant fresh_install' 
should have been copied into 'web.xml'.  I would check both 'web.xml' and 
the <Context/> to see that this context parameter is defined, and correctly.

Note that, if defined in both places, the value in 'web.xml' takes 
precedence unless the <Parameter/> has 'override="false"'.  I don't recall 
the default for 'override'.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to