facebook

Initializing Spring FrameworkServlet takes long time

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #306791 Reply

    Jamie Daniel
    Member

    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

    #306813 Reply

    davemeurer
    Member

    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

    #306814 Reply

    Jamie Daniel
    Member

    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

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Initializing Spring FrameworkServlet takes long time

You must be logged in to post in the forum log in