MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jamiedaniel
Post subject: Initializing Spring FrameworkServlet takes long time  PostPosted: Mar 15, 2010 - 04:24 PM
Registered Member
Registered Member


Joined: May 01, 2006
Posts: 15

When deploying to Tomcat 6.0.20, I have noticed that when the application is deployed to the server and started, an INFO message appears in the console.

INFO: Initializing Spring FrameworkServlet 'AppName Servlet'

This is from inside MyEclipse.

Starting the application this way takes a long time to start.

Any ideas on why the app takes so long to start up this way ?

Thanks,
Jamie
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
davemeurer
Post subject: RE: Initializing Spring FrameworkServlet takes long time  PostPosted: Mar 16, 2010 - 03:09 PM



Joined: Jan 20, 2010
Posts: 191

Hi Jamie,

Does it load slow with every application you deploy to that tomcat instance? Or just the one you are working on now? For example, try a simple app with 1 domain object scaffolded.

Have you tried another Tomcat version to see if the behavior exists?

Are there other apps deployed to this tomcat server that MyEclipse may not see?

Kind regards,
Dave
 
 View user's profile Send private message  
Reply with quote Back to top
jamiedaniel
Post subject: RE: Initializing Spring FrameworkServlet takes long time  PostPosted: Mar 16, 2010 - 03:25 PM
Registered Member
Registered Member


Joined: May 01, 2006
Posts: 15

I have tried a few versions of Tomcat as well as a different machine hosting Tomcat.

It seems that the more Domain Objects there are, the longer it takes to initialize, as well as, the time it takes to click through the first menu selection when the system comes up.

For example:

5 Objects with all components ( full scaffolding ): takes 2.5 minutes to INFO: Initializing Spring FrameworkServlet 'AppName Servlet'

Once the application is deployed, initialized and available,

Dave,

The first time I click on any menu item, the application hangs for a few secs. This happens when every menu item is selected the first time. Once that has happened, the application then behaves better.

I will be trying this on JBoss to test a different target server.

Thanks,
Jamie
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits