Hi Karl, the config looks OK so I'd start by checking your Tomcat logs
(both the main 'localhost' logs and the access logs) to see if there were
any errors deploying the sword webapp, and to see if Tomcat itself is
returning the 404, or if it's DSpace. Checking the DSpace logs at the time
of requesting the page is a good idea, too - if you see an error there then
at least the sword webapp is deploying and getting web traffic OK.

My instinct is that the webapp isn't deploying / starting properly for some
reason. The first directory you mentioned is definitely the webapp root for
Tomcat? (server.xml configuration for Tomcat will confirm this).
Tomcat may also need to be restarted after the webapp has been copied or
symlinked, and check that the tomcat user is the owner of all the contents.

Hope this helps!

Kim

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC


On Fri, 6 May 2022 at 11:35, Karl Wirth <[email protected]> wrote:

> Hello everyone,
>
> We are attempting to enable Swordv1 on our Dspace 5.5  test instance
> <http://dspace2-test.creighton.edu:8080/xmlui/> as a precursor to
> enabling it on our production server in order to facilitate ProQuest
> deposits, but we keep encountering a 404 error when trying to access the
> service document (
> http://dspace2-test.creighton.edu:8080/sword/servicedocument).
>
> As best we can tell we have made the necessary updates to the
> sword-server.cfg and dspace.cfg files and have added the sword webapp
> folder from the dspace webapp folder (/opt/dspace/webapps/sword) to our
> tomcat webapp folder (/opt/apache-tomcat-7.0.68/webapps/sword) based on the
> dspace 5 swordv1-server documentation
> <https://wiki.lyrasis.org/display/DSDOC5x/SWORDv1+Server>.
>
> We have also tried adding the sword webapp folder to
> /var/lib/tomcat/webapps/sword based on this similar previous question
> <https://groups.google.com/g/dspace-community/c/HqfQYNWY4Qs/m/rSo2uFg_IAAJ>
> in dspace-community.
>
> I have included a copy of the sword-server.cfg file in case we have missed
> a setting.
>
> Any tips or recommendations would be appreciated.
>
> Karl Wirth
>
> Creighton University
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-community/2c722b9f-c39a-415c-ba47-6e1e7e5beb4cn%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-community/2c722b9f-c39a-415c-ba47-6e1e7e5beb4cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/CAKZKfqp4HYC7Q3Gt%3DntydxbaFbS5p5i8uKuczXx1RuAbTUpzDQ%40mail.gmail.com.

Reply via email to