2017-10-23 23:17 GMT+03:00 André Warnier (tomcat) <a...@ice-sa.com>:
> On 23.10.2017 21:30, Ray Holme wrote:
>>
>> I have two systems running Tomcat 8.5.13 on Linux
>>
>>     my development machine runs fully patched Fedora 26
>>
>>     the server I use is using Ubuntu 16.4.3
>>
>> Both have identical catalina.properties files as well as context.xml files
>>
>>    The context file has a one line addition towards the end before the end
>> of context with this line
>>
>>    <JarScanner scanClassPath="false"/>
>>
>>    The properties file has ALL the jar files to be found in my application
>> added to the
>>
>>    list of StandardJars....
>>
>> My development machine spends 1 second or less on the TLD warning before
>> the next line in the log comes up.
>>
>> The server spends 150 seconds (good day, yesterday it was 10.5 minutes).
>>
>> What can I do to speed up the startup?
>>
> Did you read this ?
> https://wiki.apache.org/tomcat/HowTo/FasterStartUp

+1

Also, take several (3) thread dumps to see what code is actually being executed.
https://wiki.apache.org/tomcat/FAQ/Troubleshooting_and_Diagnostics#Common_Troubleshooting_Scenario

Is Ubuntu installed manually from official Tomcat binaries provided by ASF?
https://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q5

It may be that the configuration that you edited is not the one that
is actually being used.

Tomcat can be run with CATALINE_BASE != CATALINA_HOME,  and some OS
vendors place Tomcat configuration files into a different place.

Print the values of system properties
catalina.home
catalina.base
tomcat.util.scan.StandardJarScanFilter.jarsToSkip
tomcat.util.scan.StandardJarScanFilter.jarsToScan
(e.g. by writing a simple JSP file that displays the values)

Best regards,
Konstantin Kolinko

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

Reply via email to