Re: Tomcat slow during startup = 7.0.28

2013-11-24 Thread Konstantin Kolinko
2013/11/21 Robert Olofsson robert.olofs...@digpro.se: On 11/21/2013 03:17 PM, Mark Thomas wrote: You appear to be complaining about specification mandated behaviour. The scan is required as soon as there is an SCI that declares an interest in a class. As far as I know we do not use any

Re: Tomcat slow during startup = 7.0.28

2013-11-21 Thread Mark Thomas
On 21/11/2013 13:20, Robert Olofsson wrote: Hi! I have tried to upgrade our system to more modern tomcat (from 7.0.28) to 7.0.47 and we also get the slow startup due to annotations processing. In my case it makes tomcat startup go from 1 second to ~8 seconds and for development that is

Re: Tomcat slow during startup = 7.0.28

2013-11-21 Thread Robert Olofsson
On 11/21/2013 03:17 PM, Mark Thomas wrote: You appear to be complaining about specification mandated behaviour. The scan is required as soon as there is an SCI that declares an interest in a class. As far as I know we do not use any such thing. We do use two ServletContextListener and from the

Re: Tomcat slow during startup = 7.0.28

2013-01-18 Thread Conrad Kostecki
Hello Stefan! Am 15.01.2013 19:17, schrieb Stefan Mayr: Am 14.01.2013 15:11, schrieb Conrad Kostecki: Hi! I've noticed, that Tomcat got much slower during startup. When using a Version 7.0.27 (+ Oracle JDK 7), it takes much longer. ... After this Step, with a newer version, it can take

Re: Tomcat slow during startup = 7.0.28

2013-01-15 Thread Conrad Kostecki
Hi Chris! Am 14.01.2013 16:44, schrieb Christopher Schultz: [..] Take a thread dump or two. I suspect that Tomcat is scanning more JAR files than it used to due to the clarifications of certain behaviors by the servlet EG. If Tomcat is spending a long time scanning JAR files, there are a

Re: Tomcat slow during startup = 7.0.28

2013-01-15 Thread Leon Rosenberg
Hello Conrad, are you running on virtual or real hardware? regards Leon On Mon, Jan 14, 2013 at 3:11 PM, Conrad Kostecki koste...@his.de wrote: Hi! I've noticed, that Tomcat got much slower during startup. When using a Version 7.0.27 (+ Oracle JDK 7), it takes much longer. Jan 14, 2013

Re: Tomcat slow during startup = 7.0.28

2013-01-15 Thread Stefan Mayr
Am 14.01.2013 15:11, schrieb Conrad Kostecki: Hi! I've noticed, that Tomcat got much slower during startup. When using a Version 7.0.27 (+ Oracle JDK 7), it takes much longer. ... After this Step, with a newer version, it can take several minutes, until it continues. During this pause, I can

Re: Tomcat slow during startup = 7.0.28

2013-01-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Conrad, On 1/15/13 4:58 AM, Conrad Kostecki wrote: Hi Chris! Am 14.01.2013 16:44, schrieb Christopher Schultz: [..] Take a thread dump or two. I suspect that Tomcat is scanning more JAR files than it used to due to the clarifications of

Re: Tomcat slow during startup = 7.0.28

2013-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Conrad, On 1/14/13 9:11 AM, Conrad Kostecki wrote: I've noticed, that Tomcat got much slower during startup. When using a Version 7.0.27 (+ Oracle JDK 7), it takes much longer. Jan 14, 2013 2:12:40 PM