Bjørn T Johansen wrote:
On Mon, 10 Nov 2014 00:35:46 +0300
Konstantin Kolinko <knst.koli...@gmail.com> wrote:

Rules:
http://tomcat.apache.org/lists.html#tomcat-users
-> 6. Do not top-post.

Ok, did a thread dump that resulted in the following dump..:


Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode):

"localhost-startStop-1" #15 daemon prio=5 os_prio=0 tid=0x00007fdc84002000 
nid=0x702 runnable [0x00007fdc8ebe7000]
   java.lang.Thread.State: RUNNABLE
        at java.io.UnixFileSystem.checkAccess(Native Method)
        at java.io.File.canRead(File.java:768)
        at 
org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1975)
        at 
org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:1971)

As it is visible from the method name, the "start" thread is busy
scanning classes for annotations.

This behaviour is explained here:

https://wiki.apache.org/tomcat/HowTo/FasterStartUp#General

But it never finishes? And also I do not have this problem when stopping and 
starting the Tomcat server without booting, why is that? Shouldn't the
result be the same?


http://en.wikipedia.org/wiki/Entropy_%28computing%29
Maybe your problem is there ?
(When the system boots, it has little entropy available, and it may already be consumed by other processes starting around the same time).


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

Reply via email to