• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!