DSpace 5.x on Ubuntu 20.04 and Tomcat 9

58 views
Skip to first unread message

amgc...@gmail.com

unread,
Nov 16, 2020, 4:35:22 AM11/16/20
to DSpace Technical Support
Dear all,

We are upgrading our DSpace VMs to Ubuntu 20.04 and discovered that Tomcat 8 is no longer available in the repositories, only from Tomcat 9.x.

Is anyone currently running DSpace 5.10 in Ubuntu 20.04 on Tomcat 9? It would be useful to know whether it is working OK for you or you've encountered any issues.

Thanks a lot!
Agustina

Alan Orth

unread,
Nov 16, 2020, 8:59:38 AM11/16/20
to amgc...@gmail.com, DSpace Technical Support
Hi Agustina,

Yes I suspect you will run into some problems. There were many issues with DSpace 5.x on Tomcat versions beyond 7. As of DSpace 6 you can use Tomcat 8.5, but I haven't heard of anyone using Tomcat 9. For what it's worth, we are running Tomcat 7 on Ubuntu 18.04 via a binary distribution from Apache's website (https://tomcat.apache.org/). I deploy the Tomcat tarball into /usr/local and run it from there. This method works on any Linux distribution. I created systemd service units that run Tomcat and it all works really well actually, and I'm running the latest stable Tomcat 7. I can share more tips and configs if you'd like.

Regards,

--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/94236c9f-de15-4de1-84e3-1d3b335be91cn%40googlegroups.com.


--

Paul Münch

unread,
Nov 16, 2020, 10:14:19 AM11/16/20
to Alan Orth, amgc...@gmail.com, DSpace Technical Support
Hello,

as an addition: we run DSpace 6.3 on Debian 10 with Tomcat 9 (from distro package sources).

Kind regards,

Paul
--
Philipps-Universität Marburg | UB
Digitale Dienste | Deutschhausstraße 9 | D228
Tel. +49 06421 28-24624
--
> To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAKKdN4X-MAntWRy1-ze%3DXB-7oqu_H9LOvR_94P%2Bq2VL5LJoBjw%40mail.gmail.com.

amgc...@gmail.com

unread,
Nov 17, 2020, 5:27:54 AM11/17/20
to DSpace Technical Support
Hi Alan, Paul,

Many thanks for the information. Alan, do you have examples of issues people reported / you've experienced?

We've had DSpace 5.10 running on a test environment with Tomcat 9 and have been testing and haven't experienced any issue so far.

Best and many thanks!
Agustina

Alan Orth

unread,
Nov 17, 2020, 10:30:02 AM11/17/20
to amgc...@gmail.com, DSpace Technical Support
Dear Agustina,

I looked in the DSpace Jira briefly and found these two issues:

- Failure to set dspace.current.user.id session cookie under Tomcat 8.5.x: https://jira.lyrasis.org/browse/DS-4140
- Stop relying on alphabetical loading of jars in WEB-INF/lib: https://jira.lyrasis.org/browse/DS-2437
- DSpace 6.3 REST-API fail to start on ubuntu 18.04 LTS's tomcat8: https://jira.lyrasis.org/browse/DS-4160
- Meta issue tracking various Tomcat 8 issues: https://jira.lyrasis.org/browse/DS-3092

Some of these are unresolved and some people report they are running on Tomcat 8. I'm surprised to hear that! Good news if so... we need to move with the ecosystem.

Regards,

amgc...@gmail.com

unread,
Nov 19, 2020, 4:43:15 AM11/19/20
to DSpace Technical Support

Dear Alan,

This is really useful so big thank you. I was aware of the alphabetical loading of jars issue (which I've overcome by using context files and the preloading of the additions jar) but there's still all of the other that I wasn't aware of.

Best,
Agustina
Reply all
Reply to author
Forward
0 new messages