Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E7410175C2 for ; Sun, 9 Nov 2014 23:26:52 +0000 (UTC) Received: (qmail 78944 invoked by uid 500); 9 Nov 2014 23:26:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78874 invoked by uid 500); 9 Nov 2014 23:26:48 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 78863 invoked by uid 99); 9 Nov 2014 23:26:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2014 23:26:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.1.198.7] (HELO smtp.nspdc.no) (195.1.198.7) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2014 23:26:44 +0000 Received: from gw.havleik.no (unknown [10.1.1.1]) by smtp.nspdc.no (Postfix) with ESMTP id 24488C01C0 for ; Mon, 10 Nov 2014 00:25:51 +0100 (CET) Received: from pennywise.havleik.no (unknown [10.1.1.162]) by gw.havleik.no (Postfix) with ESMTPA id EB9205C0166 for ; Mon, 10 Nov 2014 00:25:50 +0100 (CET) Date: Mon, 10 Nov 2014 00:25:50 +0100 From: =?UTF-8?B?QmrDuHJu?= T Johansen To: users@tomcat.apache.org Subject: Re: Problem when rebooting.... Message-ID: <20141110002550.5787036f@pennywise.havleik.no> In-Reply-To: <545FEF92.8050204@ice-sa.com> References: <20141108230858.620773a1@pennywise.havleik.no> <20141109005346.7fc4b5b1@pennywise.havleik.no> <20141109231056.41316a65@pennywise.havleik.no> <545FEF92.8050204@ice-sa.com> Organization: Havleik Consulting X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUIBwf70Dubhk3myVz////9//3w7uYAZptxAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cFFREYEZmH3wYAAAGCSURBVDjLddPNcoMgEADgLWk8u2aaM6HWc9OxnjupeG+jnq1JeP9H6PKzZYyUi8AnuywotP80iN1ZQpWCE1ArEzDRvBQJANeuK+g8lCs4ediu4INmhYRsBVM2g5lBrEFVYqpSABshtykQB8yTKwQiFil4IECANBSx9EUObECW9yAzhdUQK4ywnasbbVqs4HE07sTqJXRQ6t6dcbaEyXcGOsp+AXJTf9faNJKvBDiS6nXbjvPEsYCvyRfWzRD2BVxeCDnyvQOX97ftkCRA/AhkuHfgKtrWZ3kN2SF8CVeGKWSHMKKq6gTI/0BJBr0AfSxePOgL7SrrA+gzoupbt+NjDrBjGI+Iua9QE4hdCNWh+wzcbrtDoQ4YVnxZQH8o3cH23z18OshFBJuE4OygcD/myQE+9RHcei097PuYA/cUSIKHqw2lfzwUStElOWhcDn0J4P5BC43xYN6UHSoGZRiMUYoi0dO+o5oA7UgTF2XH7pVnY26+QG3uGx/i4Ic37gy21F+IF/gxgPWcVgAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sun, 09 Nov 2014 23:49:54 +0100 Andr=C3=A9 Warnier wrote: > Bj=C3=B8rn T Johansen wrote: > > On Mon, 10 Nov 2014 00:35:46 +0300 > > Konstantin Kolinko wrote: > >=20 > >> 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 m= ode): > >>> > >>> "localhost-startStop-1" #15 daemon prio=3D5 os_prio=3D0 tid=3D0x00007= fdc84002000 nid=3D0x702 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.processAnnotatio= nsFile(ContextConfig.java:1975) > >>> at org.apache.catalina.startup.ContextConfig.processAnnotatio= nsFile(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 > >=20 > > But it never finishes? And also I do not have this problem when stoppin= g and starting the Tomcat server without booting, why is that? Shouldn't the > > result be the same? > >=20 >=20 > 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 alrea= dy be consumed by=20 > other processes starting around the same time). >=20 Hmm... Guess I'll havce to check it out... Thx... :) BTJ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org