-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Joel,
On 3/12/19 09:43, Joel Griffith wrote: > I'm upgrading a webapp server from Tomcat 7 to Tomcat 8 on Ubuntu > 16.04. At installation, Tomcat 7 creates a directory > `/var/lib/tomcat7/common/`. When Tomcat 8 is installed, however, > the `/var/lib/tomcat8/` directory it creates does not include a > `common/` directory, and the deployment script complains that it > isn't there. > > build.xml:129: /var/lib/tomcat8/common/lib does not exist. This must be a deployment script that is managed by neither the Tomcat project nor the Ubuntu package maintainers. You will need to update it. > I've been searching for a day and have found exactly zero > documentation on this, including on the official 8.0 migration > guide ( https://tomcat.apache.org/migration-8.html). You are right; it isn't mentioned. That should be added to the migration guide. > What is the `/var/lib/tomcat7/common/` directory for, and why does > Tomcat 8 not have one? Tomcat used to have a somewhat complex series of directories containing libraries. You can read about it, here: http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html#Class_Lo ader_Definitions Tomcat 8 has removed some of that complexity by merging the "shared" (lib/) and "common" (common/lib/) classloaders. The "common" classloader was removed because it caused a lot of confusion and didn't really provide much benefit. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlyHxWIACgkQHPApP6U8 pFia5A/8D0Zqr+KD1w/tmhXPbaFgNRJHio1ztQwIg4ZE99bZq7sPAB8YBXBSnXJJ zfVjniFb3eV7UVhf0Wp6m7G3z4BEws/v1gWSgdSCR3HXvCRZvtL9UrvqPQMCVbYh fTDIkGBzssJE9mVSwzh5un9DRk5dmocf8WYEEh1CBrIrLdefz7hebzQKPvdImBfC 1HYBGmpJcE5UMqv71tOuc4qlS0NLjao6k70oePbG0ZAqrdDkMQH9P1uZ721gIdNC axw8V4ZwbHvd6tLbfcRs4GuOF20s/WiBbzk3xM31B3M+6UiLaaONeIkriVTjHDOz AAWBTZmXtcNrY/qsqM17j/muc6xnp09lGDU3+hUKdzlaOhwsoA9T9FhY9k7BRu7j RwilSp5vrSSL4uiH2hmHh4sA/9bTvGp2gjKH67loHL5EjsRpYdbvEYQYQZSHyjBM Sti6aa9aml0Emr+jtUWnF7WFuwTO6Ix/4QLIA/GMQ4tD7QWP7obw3IhacbTXZiwS PSzkmNxW8zNwrtHPr3ouuN4xB8eqct7rQjwdFmUhMBzbdDP9FZJw9Ecv8TlEJWaX uytYXdu9vUlQ4HWphbJ6xTuEww8PENp3qU+t6kbPyWFlcVEFKObTbJQOMZpoDI0I Og/9xDhy8qsn1uQhx/cw8xk6S7lAAbf68RSSAtJMCPDDRJe19Xk= =Li0e -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org