On 12/03/2019 14:42, Christopher Schultz wrote:
> 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.

Is is practical to try and cover changes in file system layout for
distributions we don't control?

Mark


> 
>> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to