hi but we can start tomcat with other methods such as
/etc/init.d/tomcat start /etc/rc5.d/S80tomcat start $CATALINA_HOME/bin/startup.sh the above methods all work fine. and those are called by /sbin/service. > Date: Tue, 30 Jun 2009 17:26:14 +0200 > From: [email protected] > To: [email protected] > Subject: Re: tomcat hang when start with "service tomcat start" > > zhicheng wang wrote: > > > > > > hi > > > > thanks for the reply. we downloaded tomcat from apache so it is real > > tomcat. the start upscript was also downloaded from internet (not the > > redhat one), with some modifications and has been running fine for a few > > years. > > > > the problem began when we started running a Grails app (as ROOT.war) as the > > hang point indicated > > INFO: Initializing Spring root WebApplicationContext > > > Ha, that may be another matter altogether. > I have an old system like that, with an old CPU and not too much RAM, > and this one webapp which takes 15 minutes to initialize whenever I > restart Tomcat. > During that time, Tomcat is using 99% of the system's CPU time. > Are you sure that this is not simply the case here ? > > You could check with "top" what really happens. > > You could also make this webapp into a non-ROOT webapp, and not start it > right away. I believe there is a <load-on-startup> parameter for that > in the web.xml of the application, which you can set to 0. > Then the app will only initialise when you first call it. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > _________________________________________________________________ MSN straight to your mobile - news, entertainment, videos and more. http://clk.atdmt.com/UKM/go/147991039/direct/01/
