Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deployment of a spring application in Tomcat takes too long  RSS feed

 
Sandeep Sanaboyina
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Found the issue. Had debug enabled for org.springframework in slf4j. Removing that fixed the issue.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!