• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Deployment of a spring application in Tomcat takes too long

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We have an application, we're working on. When deploying locally it fires up in a few minutes. However, when deployed to our shared development environment, each operation Spring does during start-up of the app, takes exactly 2 seconds. Or maybe it's the other way around: for every operation Spring does during start-up, it allocates 2 seconds to finish that operation.
Why is this happening? We're using Tomcat 8 and a fairly straightforward Spring MVC application.
Any clues?
 
Sandeep Sanaboyina
Ranch Hand
Posts: 74
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Found the issue. Had debug enabled for org.springframework in slf4j. Removing that fixed the issue.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic