Hi Peter,

When you were first installing DSpace, did you manually copy the webapps 
you wanted to deploy over to that apache-tomcat-8.5.4 path? If so, you'll 
have to perform that copy from $dspace/webapps again.

Also, it might pay to clear the XMLUI cache, usually found in 
/var/lib/tomcat/work/Catalina or ~tomcat/work/Catalina before restarting 
tomcat, as messages and other strings can be cached even after you've 
deployed changes

...One way to make deployment easier, especially if this is a test server, 
is to use Tomcat's host container config 
(https://tomcat.apache.org/tomcat-8.0-doc/config/host.html) to point 
appBase to $dspace/webapps, or some other common place that can symlink 
back to $dspace/webapps. You can also configure deployment of the webapps 
individually, with separate context configs, 
see https://tomcat.apache.org/tomcat-8.0-doc/config/context.html (using 
docBase and path rather than just appBase)

I see that the official 'quick start' instructions on the DSpace 6 
documentation do refer to a manual copy of $dspace/webapps/ to 
$tomcat/webapps during installation, and this could be considered a safer 
deployment method for production instances where you want some more control 
over where/when the deployed webapp switches vs. the ant update copies 
occurring, etc.

Hope this helps!

Cheers

Kim


On Monday, January 23, 2017 at 6:23:31 AM UTC+13, admin wrote:
>
> Hello,
>
> I installed DSpace and made some small modifications in messages_pl.xml 
> just to learn the rebuilding process. I followed 
> https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n#LocalizationL10n-XMLUIspecificlocalization.
>  
> Rebuild seems to be successful because as a result the updated file 
> appeared in dspace/webapps/xmlui/i18n, containing updated text.
>
> BUT, I still cannot see the changes on the website. So where does DSpace 
> take these texts from? After digging in the server I noticed that there is 
> a folder webapps containing xmlui (with i18n, which obviously doesn't 
> contain my edits to the messages_pl.xml), both within apache-tomcat-8.5.4… 
> I am not sure, but I feel there might be some incorrect mappings and DSpace 
> actually doesn't "take" from dspace/webapps but from 
> apache-tomcat-8.5.4/webapps? Where can I check and change it?
>
>
>
> Thanks,
>
> Peter
>

-- 
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