Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 44818 invoked from network); 30 Apr 2008 11:35:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 11:35:30 -0000 Received: (qmail 17826 invoked by uid 500); 30 Apr 2008 11:35:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 17786 invoked by uid 500); 30 Apr 2008 11:35:19 -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 17775 invoked by uid 99); 30 Apr 2008 11:35:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 04:35:19 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shakahshakah@gmail.com designates 74.125.46.152 as permitted sender) Received: from [74.125.46.152] (HELO yw-out-1718.google.com) (74.125.46.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 11:34:32 +0000 Received: by yw-out-1718.google.com with SMTP id 6so234450ywa.54 for ; Wed, 30 Apr 2008 04:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=bTcTdhthORCetS7/0U7vnCH5ZPyLizjIJ4pkuzmjR+U=; b=OALrJDiHrXedcWhk37HTdBNSUZAcl5AGZdEaCh+SGB7RoSZgAxL0Omz4c2opMFRZkUNwBoY5HCjnFkvtCXCYck1+9Ve/zu2wcPXlsOu4aIOb+0lbWaFdIkUm0Mua4aragVVmVgSaxFrt7yOp+wlccUGgQdvbU1smLlRLtpGfjqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=o+G3r3fZVU4DcwP6kJCAnjUg8pkJNB3S1A183K/l4P7tUt2RN/HEwTyHe56r6D0zoXRC2I+0Dca3A+RfThixwKROhukfI9VixPBYw2RFu71vn+oADEG5H2+jEOx/wFC5YTbBt+ysDlbEh/3MMVQTjyTfb41Rh7wijPHYFcXhsyQ= Received: by 10.150.156.20 with SMTP id d20mr887764ybe.57.1209555284523; Wed, 30 Apr 2008 04:34:44 -0700 (PDT) Received: by 10.150.135.3 with HTTP; Wed, 30 Apr 2008 04:34:44 -0700 (PDT) Message-ID: Date: Wed, 30 Apr 2008 07:34:44 -0400 From: "Jim Cox" To: "Tomcat Users List" Subject: Re: Tomcat takes 2 hours to start In-Reply-To: <16976673.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_508_167407.1209555284519" References: <16953495.post@talk.nabble.com> <16976673.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_508_167407.1209555284519 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> >> when i start the server in normal mode with command >> >> " /opt/tomcat/in/catalina.sh run" >> >> it starts in almost 2 hours. FWIW, your log excerpt shows a 2-minute delay, not a 2-hour delay as your originally reported. In any case, re your question on starting via "truss", it should be as simple as the following: truss /opt/tomcat/in/catalina.sh run (though I assume you really meant "/opt/tomcat/*b*in/catalina.sh run") If you tail the Tomcat log and then start tomcat via truss (as shown above) you'll hopefully see something valuable in the truss output when you see the pause in the Tomcat logging. On Wed, Apr 30, 2008 at 2:44 AM, jitesh sharma wrote: > > hello, > > Tomcat logs when it starts : > > Apr 30, 2008 12:08:32 PM org.apache.catalina.core.AprLifecycleListen er > lifecycleEvent > INFO: The Apache Tomcat Native library which allows optimal performance in > produ ction environments was not found on the java.library.path: > /usr/jdk/instances/jd > > k1.5.0/jre/lib/i386/client:/usr/jdk/instances/jdk1.5.0/jre/lib/i386:/usr/jdk/ins > tances/jdk1.5.0/jre/../lib/i386:/usr/lib > Apr 30, 2008 12:08:33 PM org.apache.coyote.http11.Http11BaseProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Apr 30, 2008 12:08:33 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 3929 ms > Apr 30, 2008 12:08:34 PM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > Apr 30, 2008 12:08:34 PM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 > Apr 30, 2008 12:08:34 PM org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > Apr 30, 2008 12:08:54 PM java.util.prefs.FileSystemPreferences$7 run > WARNING: Prefs file removed in background /.java/.userPrefs/prefs.xml > Apr 30, 2008 12:08:54 PM java.util.prefs.FileSystemPreferences$7 run > WARNING: Prefs file removed in background > /etc/.java/.systemPrefs/prefs.xml > > ------------------------------------------------------------------------------- > After this output it goes for a long break and then print > > ------------------------------------------------------------------------------- > > Apr 30, 2008 12:10:38 PM org.apache.coyote.http11.Http11BaseProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Apr 30, 2008 12:10:39 PM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > Apr 30, 2008 12:10:39 PM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/59 config=null > Apr 30, 2008 12:10:39 PM org.apache.catalina.storeconfig.StoreLoader load > INFO: Find registry server-registry.xml at classpath resource > Apr 30, 2008 12:10:39 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 125914 ms > > > Thanks > jitesh > > > mgainty wrote: > > > > It seems you are perhaps using different startup parameters? > > We could provide a more comprehensive answer if you display Tomcat log > > for the startup configuration experiencing the long delay > > > > Thanks > > Martin-- > > > > > > -- > View this message in context: > http://www.nabble.com/Tomcat-takes-2-hours-to-start-tp16953495p16976673.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > ------=_Part_508_167407.1209555284519--