hi all,

first of all sorry bcoz i am busy with my presentation work so i can not
reply regularly.
secondly sorry again bocz the log info which i have posted is generated
using :

# /opt/tomcat/bin/catalina.sh debug

that is why its showing 2 minutes server startup time.
and as i mentioned earlier that tomcat runs fine in debug mode.

the actual output using :
# /opt/tomcat/bin/catalina.sh run   
--------------------------------------------------------------------------------------
Using CATALINA_BASE:   /opt/tomcat
Using CATALINA_HOME:   /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME:       /usr/jdk/jdk1.5.0_07
May 7, 2008 10:33:49 AM org.apache.catalina.core.AprLifecycleListener
lifecycleE vent
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
May 7, 2008 10:33:49 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 7, 2008 10:33:49 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1664 ms
May 7, 2008 10:33:49 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 7, 2008 10:33:49 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
May 7, 2008 10:33:50 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 7, 2008 10:33:58 AM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /.java/.userPrefs/prefs.xml
May 7, 2008 10:33:58 AM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml
------------------------------------------------------------------------------------------------------------------
here it takes stops for a long time and then displays next log
--------------------------------------------------------------------------------------------------------------
May 7, 2008 1:03:42 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 7, 2008 1:03:43 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 7, 2008 1:03:43 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/98  config=null
May 7, 2008 1:03:43 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 7, 2008 1:03:43 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8993857 ms


With Thanks,
jitesh 
 

[EMAIL PROTECTED] wrote:
> 
> 
> 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
> <[EMAIL PROTECTED]>
> 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
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-takes-2-hours-to-start-tp16953495p17101749.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to