A colleague and I are developing with hibernate 3.2 on tomcat 5.5.17, using Eclipse 3.2.1 and MyEclipse 5.0GA and MySQL 5.0.18. We use the same project source in a subversion repository.
My machine starts in 10s in run mode and 16s in debug mode.
His (newer) one takes 5s in run mode and 90s in debug mode.
We can't work out why his is so much slower in debug mode.
We've traced through the tomcat console output on each machine, and they are identical.
His tomcat slows down just after this line:
INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xxDao, yyDao, ...]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [dataSource,jmxExporter,statisticsBean,sessionFactory]; root of BeanFactory hierarchy]>
There are delays in initialising the servlet, but there are further delays in getting tomcat started after that:
2007-02-28 10:14:47,269 INFO [org.springframework.web.servlet.DispatcherServlet] - <FrameworkServlet 'action': initialization completed in 34393 ms>
2007-02-28 10:14:47,285 INFO [org.springframework.web.servlet.DispatcherServlet] - <Servlet 'action' configured successfully>
28/02/2007 10:15:03 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
28/02/2007 10:15:24 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
28/02/2007 10:15:25 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/3179 config=null
28/02/2007 10:15:29 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
28/02/2007 10:15:36 org.apache.catalina.startup.Catalina start
INFO: Server startup in 89155 ms
I'd appreciate any tips for how to isolate the differences between the two machines.
John.
|