Announcement Announcement Module
Collapse
No announcement yet.
Deploy, debug and Startup of Tomcat inside of STS is extreme slow on Mac Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Deploy, debug and Startup of Tomcat inside of STS is extreme slow on Mac

    Dear all,

    I use a Mac (Intel Core i7 2.66GHZ, 4GB Ram, JDK 1.6.0_26).
    For running and debugging my Spring application I use a Tomcat 7.0.14.
    If I try to debug my Application (Debug As -> Debug on Server) It take about 2.5 minutes to come up and I see a lot of this messages :

    INFO: No TLD files were found in [jndi:/localhost/biz-war/WEB-INF/lib/spring-test-3.0.5.RELEASE.jar]
    This message appear with all jar's in my /localhost/biz-war/WEB-INF/lib directory.

    ------------

    Start up the Tomcat from command line with the same war it take about 10 seconds.
    Also non of this messages " No TLD files were found in" appear in the logfile.

    Any idea what is going wrong on my machine with STS ?

    Regards

    Stephan

  • #2
    Hi,

    Not quite my area but thought I'd chip in. Are you using exactly the same instances on the command line and inside STS? I noticed this issue related to TLDs which discusses recent changes:

    https://issues.apache.org/bugzilla/s...g.cgi?id=51248

    It mentions a couple of options that are described here:
    http://tomcat.apache.org/tomcat-5.5-...g/context.html

    having tldValidation on will incur a performance penalty. Looks like it is ON inside STS and off outside? Maybe search around to see if that is set on your instance inside STS?

    cheers
    Andy

    Comment


    • #3
      Hi Andy,

      thanks for your replay. The TDL scan has nothing to do with my problem.

      The good news is my problem disappear since I installed STS 2.7.1 (springsource-tool-suite-2.7.1.RELEASE-e3.7-macosx-carbon-installer.dmg).
      Before I used a STS 2.6.1 which was auto updated to 2.7.1.
      I guess some thing went wrong in the update process.

      Now my Tomcat Startup and redeploy work with computer speed again ;-))

      Regards

      Stephan

      Comment

      Working...
      X