Public bug reported:
Deploying application through "Deploy directory or WAR file located on server"
in tomcat manager
does not work anymore since 18.04 (it used to work until 16.04 and is working
in regular tomcat)
Context configuration set in "XML Configuration file URL" is not copied
anymore in /var/lib/tomcat8/conf/Catalina/localhost as it should.
I have created a simple application to illustrate the issue.
- Copy attached hello.zip in /tmp and unzip it
- From tomcat web manager on the same machine
- in "Context Path (required)" put /hello
- in "XML Configuration file URL" set /tmp/hello.xml
- in "WAR or Directory URL" set /tmp/hello.war
Click deploy
Navigate to http://host:8080/hello/hello
In 16.04 you see "Everything is ok", but in 18.04 and 18.10 you see "You should
not be able to read this"
The reason for that is this servlet displays value of an init param that is
overridden through a context configuration. as Since 18.04 context is not
copied anymore, the non-overridden value is displayed.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: tomcat8-admin (not installed)
ProcVersionSignature: Ubuntu 4.18.0-16.17-generic 4.18.20
Uname: Linux 4.18.0-16-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 15 14:59:20 2019
InstallationDate: Installed on 2016-08-12 (945 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: tomcat8
UpgradeStatus: Upgraded to cosmic on 2018-11-22 (113 days ago)
** Affects: tomcat8 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug cosmic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820288
Title:
Tomcat Web Application Manager does not copy context configuration
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1820288/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs